curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/gstrs/gstr-2b/{year}/{month}/regenerate \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"data": {
"data": {
"reference_id": "0032e479bcb644c"
},
"status_cd": "1"
},
"timestamp": 1763446641000,
"transaction_id": "a0dd3f41-3635-4a7b-96a1-ae4225d2e86b"
}Seamlessly regenerate GSTR-2B on-demand with this API. Whenever actions are taken on invoices within the Invoice Management System (IMS), GSTR-2B needs to be regenerated per the latest invoice status (Accepted/Rejected/Pending).
curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/gstrs/gstr-2b/{year}/{month}/regenerate \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"data": {
"data": {
"reference_id": "0032e479bcb644c"
},
"status_cd": "1"
},
"timestamp": 1763446641000,
"transaction_id": "a0dd3f41-3635-4a7b-96a1-ae4225d2e86b"
}GST taxpayer access token. For token-generation steps, refer to the Generate Taxpayer Session recipe, then pass the token in the Authorization header.
API version
API key for identification
IMS2B007 Incorrect ITC period or 3B already filed / 200 Regeneration 2B started / IMS2B009 Generate 2b after draft is available
Was this page helpful?