Get E-Invoice PDF

You can get PDF version of an Invoice by submitting a GETrequest to E-Invoicing API with the following request headers.

Request URL

GET {{HOST}}/einv/v2/eInvoice/download

A Maximum of 5 invoices can be printed per API call.

Request Headers

PARAMETERPARAM TYPETYPEDESCRIPTION

X-Cleartax-Auth-Token

Header

String

Mandatory. The auth token generated from ClearTax user id and password.

gstin

Header

String

Conditional. GSTIN of the organisation. Either of GSTIN or PAN is mandatory.

pan

Header

String

Conditional. PAN of the organisation. Either of GSTIN or PAN is mandatory.

Query Parameters

KEYPARAM TYPETYPEDESCRIPTION

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

printFor

query

String

Optional.Accepted values include: CUSTOMER, SUPPLIER, TRANSPORTER, CONSIGNOR

Default: CUSTOMER

supplyOf

query

String

Optional.Accepted values include: GOODS, SERVICES

Default: GOODS

irns

query

List

Required. List of IRNs generated. Multiple accepted

transaction_ids

query

List

Optional. List of transaction ids.

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.

The content-type of the response will be application/pdf.

Sample file containing IRN and QR Code-

Sample file containing IRN and QR Code along with Digital Signature-

Last updated