Skip to main content
GET
Get E-Way Bill By Document Data

Response schema

For successful responses, this reference describes the NIC E-Way Bill payload at data.data.

View JSON schema

Headers

authorization
string
required

E-Way Bill access token. For token-generation steps, refer to the Generate E-Way Bill Session recipe, then pass the token in the authorization header.

x-api-key
string
required

API key for identification

x-api-version
string
default:1.0.0

API version

Query Parameters

document_type
string
required

Document type. Possible values: INV

Example:

"INV"

document_number
string
required

Document number

Example:

"EWB-00001"

Response

200 - application/json

200 EWB fetched / 418 No data found

An E-Way Bill 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