The format and details of Cancellation of E-way bill API request is depicted in following table.
Note: This API is provided only on the Sandbox environment. On the production environment, the Cancel E Way Bill API of the E Way Bill System only should be used.
URL | <URL>/ewayapi/ |
---|---|
Content-Type |
application/json |
Method |
POST |
Request Header
Attributes | Description |
client-id | client id to be provided by E-Invoice System |
client-secret | Secret to be provided by E-Invoice System |
Gstin | GSTIN of Requester(Tax payer or Transporter) |
authtoken | Authentication token returned by the E-Invoice System |
Request Payload
Attributes | Description |
|
action |
CANEWB |
CANEWB |
Encrypt(Base64(Request JSON),sek) |
Cancelled E-way bill JSON string. |
Attributes | Description | Value | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
status | Status of request | 1 – Success; 0 - Error | |||||||||||||
Encrypt(Base64(Response JSON),sek) | Response of Cancelled E-way bill JSON string. The response will have cancelled eway bill number and cancelled date if it is successfully cancelled. Otherwise the response will have error codes | ||||||||||||||
If Status is ‘1’
|
|||||||||||||||
If Status is ‘0’
|
CANCEL E-WAY BILL Request
“data” JSON (corresponds to the data element of Cancel E-WAY BILL Request)
“data” JSON (corresponds to the data element of Cancelled EWB Response(Success))
JSON(in case of error)
Content will be updated shortly.