Cancel E-way Bill#
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}/ewayapi/cancel
- active ‘flynn-version’: v3.0
- method: POST
URL Parameters#
Name | Description | Type |
---|---|---|
flynn-version | version of the API for example, v3.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
{
"status": "1",
"data": {
"ewayBillNo": "191002250800",
"cancelDate": "06/07/2023 08:05:00 PM"
},
"error": null,
"info": null,
"additionalInfo": null,
"alert": null
}
E-way Bill errors are mentioned under Common Errors for v3.0 API
Notes#
Below URL is deprecated now. Instead of it please use New URL.
/basic/ewb/{flynn-version}/{ewb-api-version}/ewayapi/cancel