Skip to main content
POST

Request body schema

View request body schema

šŸ“˜ Only the generator can cancel the E-Way Bill.
🚧 The bill can be only cancelled within 24 hrs of generation.

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-version
string
default:1.0.0

API version

x-api-key
string
required

API key for identification

Path Parameters

ewb_no
string
required

Body

application/json

E-Way Bill schema.

ewbNo
number<double>
required

E-Way Bill number

cancelRsnCode
integer<int32>
required

Reason for cancellation. Possible values: 1 (Duplicate), 2 (Order Cancelled), 3 (Data Entry mistake), 4 (Others)

cancelRmrk
string

Remarks

Response

200 - application/json

200 EWB cancelled / 312 EWB already cancelled/receiver cannot cancel EWB / 444 EWB cannot be cancelled as it is generated from NIC1

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