Skip to main content
GET
Get E-Way Bills By Date

NIC validations

The rejected query parameter selects the NIC API that Sandbox calls. Each NIC API applies its own validations.

When rejected is false

  1. Only E-way bill generator can access this API.
  2. Only active E-way bills will be considered in this API.

When rejected is true

  1. Only E-way bill generator can access this API.

Response schema

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

View JSON schema

Authorizations

authorization
string
header
required

E-Way Bill taxpayer access token returned by Authenticate.

x-api-key
string
header
required

Sandbox API key from your Sandbox account.

Headers

x-api-version
string
default:1.0.0

API version

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
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

Query Parameters

generated_date
string
required

E-Way bill generated date

Example:

"21/02/2025"

rejected
string

Pass true to get rejected E-Way Bills

Example:

"true"

Response

200 - application/json

200 EWBs fetched / 418 No data found / 200 Rejected EWBs fetched / 200 Cancelled and rejected EWBs fetched / Option not enabled in EWB 2

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