GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
File GSTR9POST
File GSTR9 dataPOST
Save GSTR9PUT
Get GSTR9 DetailsGET
Get GSTR9 Auto Calculated DetailsGET
Create 8A Data APIPUT
Get GSTR9 8A DetailsGET
Get R1R1A HSN DetailsGET
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR9Get R1R1A HSN Details

Get R1R1A HSN Details

GEThttps://apisandbox.whitebooks.in/gstr9/getHsndetails

This API is to get R1/R1A HSN details

Parameters

query parameters
gstinstringrequired
GSTIN of the taxpayer
fystringrequired
Financial Year (YYYY-YY)
emailstringrequired
Email
retperiodstringrequired
Return Period
header parameters
gst_usernamestringrequired
GST UserName
state_cdstringrequired
State Code
ip_addressstringrequired
IP Address
txnstringrequired
Transaction
client_idstringrequired
Client ID
client_secretstringrequired
Client Secret

Response

Not Found. If requested entity is not found or if requested API is not found.
GET/gstr9/getHsndetails
1const response = await fetch('https://apisandbox.whitebooks.in/gstr9/getHsndetails?gstin=value&fy=value&email=value&retperiod=value', {
2 method: 'GET',
3 headers: {
4 gst_username: "value",
5 state_cd: "value",
6 ip_address: "value",
7 txn: "value",
8 client_id: "value",
9 client_secret: "value"
10},
11});
12
13const data = await response.json();
14console.log(data);
No example available.