curl --request GET \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/e-invoice/{irn} \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"data": {
"error": {
"error_cd": "EINV30118",
"message": "No record found."
},
"status_cd": "0"
},
"timestamp": 1763446641000,
"transaction_id": "d4a49c94-da0f-403c-8195-ebc172f77df2"
}Fetch the e-Invoice by passing the invoice registration number (IRN). To fetch an e-Invoice, the authenticated taxpayer has to be a party in the transaction, either the seller or the buyer.
curl --request GET \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/e-invoice/{irn} \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"data": {
"error": {
"error_cd": "EINV30118",
"message": "No record found."
},
"status_cd": "0"
},
"timestamp": 1763446641000,
"transaction_id": "d4a49c94-da0f-403c-8195-ebc172f77df2"
}Taxpayer access token
API version
API key for identification
"1043b7fa87bee9c9d82c6771b64034c247430dbf423ecb7ba28a34e157cf8720"
Was this page helpful?