Skip to content

Cancel E-way Bill#

This API is Deprecated. Please use VERSION TWO OH (v2.0)

Cancel E-way Bill API is used to Cancel a generated E-way Bill using the given e-way bill number.

API Route#

Route

/basic/eway/{flynn-version}/{ewb_provider}/{ewb-api-version}/cancel

  • active ‘flynn-version’: v1.0
  • method: POST

URL Parameters#

Name Description Type
flynn-version version of the API
for example, v1.0
string
ewb-api-version E-invoice API version
for example, v1.03
string
ewb_provider Eway bill provider
for example, ew1
enum(ew1, ew2)

Headers#

All headers are mentioned in common EWB headers

Request#

Body consists of the payload guided by E-way Bill documentation present on this page

Please refer the following request body for reference-

Sample request body

{  
    "ewbNo": 111000609282,
    "cancelRsnCode": 2,
    "cancelRmrk": "Cancelled the order"
}

Response#

200:#

Successful response will have the cancelled E-way bill entry in “data” attribute as a String.

Sample response body

{
  "data": "{\"ewayBillNo\":\"161001728242\",\"cancelDate\":\"03/08/2020 12:22:00 PM\"}"
}

E-way Bill errors are mentioned under common errors

Notes#

Below URL is deprecated now. Instead of it please use New URL.
/basic/ewb/{flynn-version}/{ewb-api-version}/cancel