Cancel E-Way Bill

Cancel E-way bill API

Request Method

POST

Request Path

{{API_URL}}/api/v1/ewayBillCancel/

Request Headers

ParameterValueDescription

Authorization/api_key

api_key/auth token

Value and header type is mentioned in the Authentication Page

Request Body

The request body description for the API can be found here.

Sample Request

{
"userGstin":"XXXXXXXXXXXXXXX",
"eway_bill_number": 361003223321,
"reason_of_cancel": "Others",
"cancel_remark": "Cancelled the order",
"data_source":"erp"
}

Response Body

200 (OK)

The response description for success can be found here.

Sample Response

{
  "results": {
    "message": {
      "ewayBillNo": "301009218802",
      "cancelDate": "15/09/2023 02:40:00 PM",
      "error": false
    },
    "status": "Success",
    "code": 200
  }
}

204 (Invalid Parameters)

{
  "results": {
    "message": "312: This eway bill is either not generated by you or cancelled",
    "status": "No Content",
    "code": 204,
    "nic_code": "312"
  }
}

Last updated