EWAY
  • Introduction
  • Environments
  • Authentication
    • Access Tokens
    • API KEY
  • Generate E-Way Bill
  • Cancel E-Way Bill
  • Update Part-B
  • Extend Validity of E-Way Bill
  • Update Transporter
  • Reject E-Way Bill
  • Generate Consolidate E-Way Bill
  • Regenerate Consolidate E-Way Bill
  • Initiate Multi Vehicle
  • Add Multi Vehicles
  • Change Multi Vehicles
  • Return Status (Blocked and Unblocked)
  • Generate E-Way Bill In Bulk
  • Get E-Way Bill in Bulk
  • Generate E-Way Request in Bulk
  • Get E-Way Response in Bulk
  • Get E Way Bill Details
  • Get Other Party EWB
  • Get Consolidated EWB
  • Get GSTIN Details
  • Get Transporter Details
  • GET HSN Details
  • Get EWB By Consignor
  • Get EWB By Date
  • Get EwayBills Rejected By Others
  • Get EWB By Transporter 1
  • Get EWB By Transporter 2
  • Get EWB By Transporter 3
  • Get EWB By Transporter 4
Powered by GitBook
On this page
  • Request Method
  • Request Path
  • Request Headers
  • Request Body
  • Response Body

Cancel E-Way Bill

Cancel E-way bill API

PreviousGenerate E-Way BillNextUpdate Part-B

Last updated 1 year ago

Request Method

POST

Request Path

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

Request Headers

Parameter
Value
Description

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 .

Sample Request

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

Response Body

200 (OK)

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"
  }
}

The response description for success can be found .

here
here