Get Consolidated EWB#
By using this API, you can get the Consolidated e-way bill Details for a Trip sheet Number. If the environment is sandbox then e-invoice api will get hit and in case of production e-waybill api will get hit.
Route
/enriched/einv/{flynn-version}/{irp}/ewayapi/consolidated/{trip-sheet-number}
- active ‘flynn-version’: v3.0
- method: GET
URL Parameters#
Name | Description | Type |
---|---|---|
flynn-version | version of the API for example, v3.0 |
string |
irp | IRP Provider as per GST registration for e-invoicing | enum (ni1, ni2) |
trip-sheet-number | consolidated E-way bill number | string |
Headers#
All headers as mentioned in the Enriched E-Invoice API introduction.
Response#
200
:#
Sample Response Body
{
"status": "1",
"data": {
"tripSheetNo": 2010009529,
"fromPlace": "BANGALORE SOUTH",
"fromState": "29",
"vehicleNo": "KA12AB1234",
"transMode": "1 ",
"transDocNo": "1234",
"transDocDate": "24/07/2023",
"userGstin": "27AAAPI3182M002",
"enteredDate": "24/07/2023 02:32:00 PM",
"status": "ACT",
"tripSheetEwbBills": [
{
"ewbNo": 261010008006,
"ewbDate": "24/07/2023 02:32:00 PM",
"userGstin": "27AAAPI3182M002",
"docNo": "J8B3CF1239728444",
"docDate": "24/07/2023",
"fromGstin": "27AAAPI3182M002",
"fromTradeName": "Acme Widgets Private Limited",
"toGstin": "19AAAPI3182M007",
"toTradeName": "Long Term Enterprises LLP",
"totInvValue": 0,
"status": "ACT",
"validUpto": "25/07/2023 11:59:00 PM",
"toPlace": null,
"toPincode": null,
"actToStateCode": null
},
{
"ewbNo": 231010008007,
"ewbDate": "24/07/2023 02:32:00 PM",
"userGstin": "27AAAPI3182M002",
"docNo": "D76F7F921DEEE414",
"docDate": "24/07/2023",
"fromGstin": "27AAAPI3182M002",
"fromTradeName": "Acme Widgets Private Limited",
"toGstin": "19AAAPI3182M007",
"toTradeName": "Long Term Enterprises LLP",
"totInvValue": 0,
"status": "ACT",
"validUpto": "25/07/2023 11:59:00 PM",
"toPlace": null,
"toPincode": null,
"actToStateCode": null
}
]
},
"error": null,
"info": null,
"additionalInfo": null,
"alert": null
}
Enriched e-invoice errors are mentioned under common errors for v3.0 api.
Notes#
IRP - nic is deprecated. Instead of it please use ni1 or ni2