GSTR-2A is a purchase-related document that is provided to each business registered on the GST portal. Sandbox API for getting credit/debit notes in GSTR 2A for a return period of the authenticated taxpayer.


  • Get all credit/debit notes in GSTR-2A for a return period (year and month) for the authenticated taxpayer (gstin).
  • You also need to provide the ctin, the counter party's GSTIN for which you need notes.


HTTP MethodResourceDescription
Getgsp/tax-payer/{gstin}/gstrs/gstr-2a/cdn/{year}/{month}?ctin={ctin}Takes in gstin, year and month and ctin returns amended advance tax details.

API Endpoint  Contact Us  Free Trial

Path Parameters

gstinstring15-character alpha-numeric unique identifier assigned to business entities registering under the GST regime22AAAAA0000A1Z5
yearstringYear for which Advance Tax needs to be fetched.2020
monthstringMonth for which Advance Tax needs to be fetched.01

Query Parameters

ctinstringCounter party GSTIN22AABAA0000A1Z

Once the values are added, Your curl will look something like this

curl --request GET \
     --url '' \
     --header 'Authorization: xxxxxxxxxx' \
     --header 'accept: application/json' \
     --header 'x-api-key: xxxxxxxxxx' \
     --header 'x-api-version: 1.0'


Test Environment Not Available


The response includes the following credit/debit note in GSTR-2A details below

  • cdn entity
ctinstringGSTIN/UID of the Supplier taxpayer/UN, Govt Bodies01AABCE2207R1Z5
cfsstringcounter party Filing Status of GSTR1/5y
cfs3bstringGSTR3B filing status"Y/N"
dtcancelstringDate of cancellation of supplier27-Aug-19
fldtr1stringDate of filing GSTR1/5 of supplier27-Aug-19
flprdr1stringFiling period of GSTR1/5 of supplierAug-19
invobjectlook belowlook below
  • inv entity
chksumstringInvoice Check sum valueAflJufPlFStqKBZ
nttystringNote typec
nt_numstringDebit/Credit Note number533515
nt_dtstringCredit date23-09-2016
p_gststringPre GST Regime Dr./ Cr. NotesN
inumstringInvoice Number915914
idtstringInvoice Date24-11-2016
valstringNote Value729248
diff_percentstringDifferential Percentage0.65
cflagstringcounter party flagA
upbdystringInvoice UploaderR
d_flagstringdelink flagY
inv_typstringInvoice typeR
posstringPlace of supply06
rchrgstringReverse ChargeN
itmsobjectLook Below
aspdstringReturn period in which invoice is amendedDec-19
atypstringflag to determine type of amendment"R- Receiver GSTIN Amended
N- Note Number Amended
D- Details Amended"
srctypstringSource Type of IRNEinvoice
irnstringIRN number897ADG56RTY78956HYUG90BNHHIJK453GFTD99845672FDHHHSHGFH4567FG56TR
irngendatestringIRN generation Date03-02-2016
  • itms entity
rtnumtax rate5
txvalnumTaxable value of Goods or Service as per invoice6210.99
iamtnumIGST Amount as per invoice9
camtnumCGST Amount as per invoice614.44
samtnumSGST Amount as per invoice5.68
csamtnumCESS Amount as per invoice621.09

Response Caching

Response caching is not available for this API. Learn more about our response caching mechanism here

Wallet Charges

Since GSTR-2A CDN is not a Paid API, no wallet charge will take place.


This API is currently in major version 1.0. Refer to our versioning policies here