Cancel e-Way Bill

Sandbox API to cancel the E-Way Bill by providing the E-Way bill number, cancelling code and reason.

API Pricing

Overview

This API helps the user to cancel the e-Way Bill using the e-Way Bill number and cancel reason.

Endpoint

HTTP MethodResource
POSTewb/tax-payer/seller/bills/{ewb_no}/cancel

API Endpoint Contact Us  Free Trial

Request

Follow the below guidelines to cancel the e-Way Bill.

Headers

ParamTypeDescriptionExample
x-api-keystringAn API key is a public key to identify users when calling any Sandbox API.key_live_ZUQT5UEf4......
AuthorizationstringJWT Authorization token which is generated using e-Invoice Authentication API.eyJhsebihGyUf......

Body Parameters

ParamTypeDescriptionExample
ewbNonume-Way Bill Number111008683051
cancelRsnCodenumReason for cancellation2
cancelRmrkstringRemarksCancelled the order

Once the values are added, Your curl will look something like this

curl --request POST \
     --url https://api.sandbox.co.in/ewb/tax-payer/seller/bills/ewb_no/cancel \
     --header 'Authorization: xxxxxxxxxx' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: xxxxxxxxxx' \
     --header 'x-api-version: 1.0' \
     --data '
{
  "ewbNo": 601010206231,
  "cancelRsnCode": 2,
  "cancelRmrk": "Cancelled the order"
}
'

Response

ParamTypeDescriptionExample
EwbNonume-Way Bill Number111008683051
cancelDatestringe-Way Bill date & validity30/03/2023 05:53:00 PM

Response Caching

Response caching is not available for this API. Learn more about our response caching mechanism here

Wallet Charges

Since Get GSTIN Details API is a Paid API, a wallet charge of INR 0.25 + GST will take place.

Versioning

This API is currently in major version 1.0. Refer to our versioning policies here