GSTR-2A

GSTR-2A is a purchase-related document that is provided to each business registered on the GST portal. Sandbox API for getting an aggregate summary of GSTR-2A data of authenticated taxpayers.

Overview

  • Get a summary in GSTR2A for a return period (year and month) for the authenticated taxpayer (gstin).
  • This is an aggregate API that combines B2B, B2BA, CDN, CDNA, and ISD API.

Endpoint

HTTP MethodResourceDescription
GET/gsp/tax-payer/{gstin}/gstrs/gstr-2a/{year}/{month}Takes in gstin, year and month and returns GSTR-2A sumary.

API Endpoint  Contact Us  Free Trial

Path Parameters

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

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

curl --request GET \
     --url https://api.sandbox.co.in/gsp/tax-payer/AAAAA0000A/gstrs/gstr-2a/2020/01 \
     --header 'Accept: application/json' \
     --header 'Authorization: xxxxxxxxx' \
     --header 'x-api-key: xxxxxxxxx' \
     --header 'x-api-version: 1.0'

❗️

Test Environment Not Available


Response

The response includes the following GSTR-2A summary details below

  • data entity
ParamTypeDescriptionExample
gstinstring15-character alpha-numeric unique identifier assigned to business entities registering under the GST regimeAAAAA0000A
f[string20
b2bobjectlook belowlook below
cdnobjectlook belowlook below
  • b2b entity
ParamTypeDescriptionExample
ctinstring01AABCE2207R1Z5
cfsstringy
invobjectLook BelowLook Below
  • inv
ParamTypeDescriptionExample
inumstringS008400
idtstring24-11-2016
valnum729248
posstring06
rchrgstringN
inv_typstringR
diff_percentnum0.65
itmsobjectLook BelowLook Below
  • itms entity
ParamTypeDescriptionExample
numnum5
rtnum6210.99
txvalnum0
iamtnum614.44
camtnum4.68
samtnum621.09
csamtnum231
  • cdn entity
ParamTypeDescriptionExample
ctinstringAflJufPlFStqKBZ
nttystringC
nt_numstring533515
nt_dtstring23-09-2016
p_gststringN
inumstring915914
idtstring23-09-2016
valnum729248
diff_percentnum0.65
cflagstringA
upbdystringR
d_flagstringY
inv_typstringR
posstring06
rchrgestringN
itmsobjectLook AboveLook Above

Response Caching

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

Wallet Charges

Since Search GSTIN By PAN is a Paid API, a wallet charge of INR 1.75 + GST per API call will be applicable.

Versioning

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