GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
Get B2B InvoicesGET
GSTR6 Calculate R6POST
Save GSTR6 Cross ITC detailsPOST
Offset Liability GSTR6 Late feePUT
Save GSTR6 dataPUT
Get CDNR InvoicesGET
Get ISD DetailsGET
Get GSTR6 SummaryGET
Submit GSTR6 dataPOST
File GSTR6 dataPOST
File GSTR6 dataPOST
Get Late FeeGET
Get ITC DetailsGET
Get B2BA InvoicesGET
Get CDNRA InvoicesGET
Get Amendment ISD DetailsGET
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR6Get CDNR Invoices

Get CDNR Invoices

GEThttps://apisandbox.whitebooks.in/gstr6/cdn

Will call CDN for getting all Credit/Debit notes for a return period.

Parameters

query parameters
emailstringrequired
Email
actionrequiredstringoptional
Status filter for filtering the invoices. Action_required = Y, fetches the invoices where tax payer need to take action (Accept/Reject). Already accepted or uploaded invoices can be fetched by using action_required=N filter.
gstinstringrequired
GSTIN of the taxpayer
retperiodstringrequired
Return Period format MMYYYY
ctinstringoptional
CTIN of the taxpayer
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/gstr6/cdn
1const response = await fetch('https://apisandbox.whitebooks.in/gstr6/cdn?email=value&actionrequired=value&gstin=value&retperiod=value&ctin=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.