Skip to content

Regenerate Consolidated E-way Bill#

Given a Trip sheet number, regenerate the Consolidated e-way bill number.

API Route#

Route

/basic/eway/{flynn-version}/{ewb_provider}/{ewb-api-version}/ewayapi/regen-consolidated

  • 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

{
    "tripSheetNo": 1710001952,
    "vehicleNo": "PQR1234",
    "fromPlace":"Bengaluru",
    "fromState":29,
    "transDocNo": "1234",
    "transDocDate": "26/04/2018",
    "transMode": "1",
    "reasonCode":1,
    "reasonRem":"Flood"
}

Response#

200:#

Successful response will have the response in “data” attribute as a String.

Sample response body

{
  "status": "1",
  "data": {
    "tripSheetNo": 1710014202,
    "tripSheetEwayBills": [
      {
        "ewbNo": "161002250801"
      },
      {
        "ewbNo": "131002250802"
      },
      {
        "ewbNo": "101002250803"
      }
    ]
  },
  "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/regen-consolidated