Skip to main content
GET
Generate E-Way Bill PDF by IRN

Authorizations

authorization
string
header
required

IRP access token returned by E-Invoice or E-Way Bill authentication.

x-api-key
string
header
required

Sandbox API key from your Sandbox account.

Headers

x-source
enum<string>
default:primary

NIC server for the session used by this request. primary selects NIC1. secondary selects NIC2. Defaults to primary. See NIC1 and NIC2 routing.

Available options:
primary,
secondary
Example:

"primary"

x-proxy
enum<string>

NIC server that receives the request. If omitted, the request goes to the server selected by x-source. When specified, selects the other server. See NIC1 and NIC2 routing.

Available options:
primary,
secondary
Example:

"secondary"

x-api-version
string
default:1.0.0

API version

Path Parameters

irn
string
required

64-character Invoice Reference Number (IRN).

Required string length: 64
Pattern: ^[A-Fa-f0-9]{64}$

Response

PDF generated, or E-Invoice or E-Way Bill data not available from NIC.

A generated-PDF success or NIC business-failure response. Both variants use HTTP 200.

code
enum<integer>
required

NIC response code.

Available options:
200
timestamp
integer<int64>
required

Unix timestamp.

transaction_id
string
required

Request transaction identifier.

data
object
required

Details of the generated E-Way Bill PDF.