Get E-Invoice PDF
Request Method
GET
Request URL
{{HOST}}/einv/v2/eInvoice/downloadNote: The IRNs list provided in the request query parameters must contain IRNs belonging to the same invoiceType.
Request Headers
X-Cleartax-Auth-Token
Header
String
Mandatory. The auth token generated from ClearTax user id and password. Know how.
Content-Type
Header
String
Mandatory. This will always be "application/json" for JSON
gstin
Header
String
Mandatory. GSTIN number for the user
invoiceType
Header
String
PURCHASE
Request Path Params
This API has no path parameters.
Request Query Params
template
query
String
Optional.
CRN Template 1 - e281c115-dc47-467a-83c8-1b66c70de13e
DBN Template 1 - 9dba2d0a-eba9-4d55-8fed-c03bf8b23435
INV Template 1 - 6f376678-3cc0-4bea-a9e0-ff92a60a7b00
INV Template 2 - 179471da-fcc9-4a1e-bf17-33b57c5f445c
INV Template 3 - 6e351b87-35b4-48a5-bc5f-d085685410f7
Export - b91a628f-11e7-47a8-8eeb-833b5bd9a660
format
query
String
Optional.Accepted values include: PDF, ZIP
Default: PDF
irns
query
List
Required. List of IRNs generated. Multiple accepted
enableDsc
query
Boolean
Optional. If the user doesn’t send a value, the default value will be False. If the user sends a value, DSC will be enabled for the user.
Sample Request & Response
Request
There is no request body for this API.
HTTP Status Code : 200 OK
Sample file containing IRN and QR Code-
Sample file containing IRN and QR Code along with Digital Signature-
Response - Failure:
Last updated