Skip to main content
GET
Generate E-Way Bill PDF

Headers

authorization
string
required

IRP access token shared by E-Invoice and E-Way Bill APIs. To create a session, see the Generate E-Way Bill Session recipe. Send the token in the authorization header.

x-api-key
string
required

API key that identifies your Sandbox account.

x-source
string

Select the GST portal source: primary (default) or secondary.

Example:

"primary"

x-proxy
string

Enables criss-cross operations by routing requests through the specified source (e.g., access primary via secondary if primary is unavailable)

Example:

"secondary"

x-api-version
string
default:1.0.0

API version

Path Parameters

ewb_no
string
required

12-digit E-Way Bill Number (EWB No.)

Required string length: 12
Pattern: ^[0-9]{12}$
Example:

"131000026768"

Response

PDF generated 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.