Get latest E-Waybill status from Government
This API can be used to get the latest status of the E-Way bill from NIC on the basis of E-Way bill number or IRN.
Request Method
GET
Request URL
Request Headers
Parameter | Data Type | Field Validations | Description |
---|---|---|---|
x-cleartax-auth-token | String | NA | Mandatory. User auth token. |
Gstin | String | NA | Mandatory. GSTIN number for the user |
Request Path Params
There are no path parameters for this API.
Request Query Params
Parameter | Data Type | Field Validations | Description |
---|---|---|---|
ewb_number | Number | 12 characters | Conditional. Required in case of Non - IRN document. Optional in case of IRN based EWB(Given the situation where IRN is provided in the query params). If EWB is generated on ClearTax then latest status will be fetched from govt. And if EWB is not generated on ClearTax then also the EWB details will be fetched from govt. portal. |
irn | string | 64 characters | Conditional. Latest status of the E-Way bill will be fetched from the government. If an E-way bill is generated on ClearTax with that IRN otherwise the details will not be fetched. |
Request Body Params
NA
Response Status Codes
HTTP Status Code | Description |
---|---|
200 | For a successfully processed request (may be a success or validation error). |
401 | If the user is not authenticated for the operation. |
403 | If the user is not authorized for the operation. |
500 | If there are any unhandled exceptions on the Clear side. |
Response Schema
Parameter | Data Type | Field Validations | Description |
---|---|---|---|
EwbNo | String | NA | E-Way bill Number. |
EwbStatus | String | NA | GENERATED, CANCELLED |
EwbDate | String | NA | Date and time of generation of E-Way bill |
UserGstin | String | NA | Gstin of the User |
DocumentDate | String | NA | Invoice Date |
DocumentType | String | NA | Document Type |
DocumentNumber | Number | NA | Document Number |
Distance | Number | NA | Distance |
ValidUpto | String | NA | E-Way bill valid up to date and time. |
VehicleType | String | NA | Type of vehicle being used. |
TransactionType | String | Enum: Regular, Bill to Ship to, Bill from Dispatch from, Combination | Transaction type. |
CancelDate | String | NA | Date and time of cancellation of E-Way bill. |
Sample Request and Response
Success Sample
Request
NA
Response
HTTP Status Code - 200
Error Sample
Request Body
NA
Response Body
HTTP Status Code - 200
API Validations
Users can pass one of either E-way bill numbers or IRN to fetch the details. Both cannot be passed in the same payload to get the details
API Constraints
Latest E-way bill details can be fetched from the govt. irrespective of whether the E-Way bill was generated on ClearTax or not with the given E-Way bill number.
Latest status of the E-Way bill will be fetched from the government, if E-way bill is generated on ClearTax with the given IRN otherwise the details cannot be fetched.
Last updated