cURL
curl --request GET \ --url https://api.sandbox.co.in/gst/compliance/tax-payer/e-invoices/{year}/{month}/purchases \ --header 'Authorization: <authorization>' \ --header 'x-api-key: <x-api-key>'
200
200 Job succeeded
{ "code": 200, "data": { "@entity": "in.co.sandbox.gst.compliance.e-invoice.list.job", "created_at": 1763446641000, "e-invoice_list_url": "https://in-co-sandbox-gst-compliance-e-invoice-list-test.s3.ap-south-1.amazonaws.com/29AAACQ3770E000/2024/10/a12ba94e-800e-4fde-a984-1c598196e7eb/e-invoice_list.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241114T130428Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAXPEL7NZHNQTGTZOE%2F20241114%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Signature=0cbcc6545dd067c273bce28cfb9559eb63c6010b117c8fb3677001f855f86815", "job_id": "412a22ee-2096-4ead-b06b-55143f560903", "month": "10", "recipient_gstin": "29AAACQ3770E000", "status": "succeeded", "supply_type": "B2B", "updated_at": 1763446641000, "year": "2024" }, "timestamp": 1763446641000, "transaction_id": "e7512543-c7c8-40b3-a5c6-10a779490ec6"}
Poll with job id to get a signed url to list of purchase e-Invoice details for the specified return period.
Taxpayer access token
API version
API key for identification
"{{year}}"
"{{month}}"
Job id
"{{job_id}}"
200 Job succeeded / EINV30113 Invalid Return Period
Show child attributes
"in.co.sandbox.gst.compliance.e-invoice.list.job"
1763446641000
"EINV30113"
"Invalid Return Period"
"0"
"https://in-co-sandbox-gst-compliance-e-invoice-list-test.s3.ap-south-1.amazonaws.com/29AAACQ3770E000/2024/10/a12ba94e-800e-4fde-a984-1c598196e7eb/e-invoice_list.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241114T130428Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAXPEL7NZHNQTGTZOE%2F20241114%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Signature=0cbcc6545dd067c273bce28cfb9559eb63c6010b117c8fb3677001f855f86815"
"412a22ee-2096-4ead-b06b-55143f560903"
"10"
"29AAACQ3770E000"
"succeeded"
"B2B"
"2024"
"e7512543-c7c8-40b3-a5c6-10a779490ec6"
Was this page helpful?