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’: v1.0
- method: GET
URL Parameters#
Name | Description | Type |
---|---|---|
flynn-version | version of the API for example, v1.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
{
"data": "{\"tripSheetNo\":1910008199,\"fromPlace\":\"BANGALORE SOUTH\",\"fromState\":\"29\",\"vehicleNo\":\"KA12AB1234\",\"transMode\":\"1 \",\"transDocNo\":\"1234\",\"transDocDate\":\"31/07/2020\",\"userGstin\":\"29AAACW6288M1ZH\",\"enteredDate\":\"31/07/2020 07:14:00 PM\",\"status\":\"ACT\",\"tripSheetEwbBills\":[{\"ewbNo\":141001728019,\"ewbDate\":\"31/07/2020 07:14:00 AM\",\"userGstin\":\"29AEKPV7203E1Z9\",\"docNo\":\"g1596203028231\",\"docDate\":\"31/07/2020\",\"fromGstin\":\"29AEKPV7203E1Z9\",\"fromTradeName\":\"welton\",\"toGstin\":\"29AAACW4202F1ZM\",\"toTradeName\":\"sthuthya\",\"totInvValue\":11556371,\"status\":\"ACT\",\"validUpto\":\"01/08/2020 11:59:00 AM\",\"toPlace\":null,\"toPincode\":null,\"actToStateCode\":null},{\"ewbNo\":101001728020,\"ewbDate\":\"31/07/2020 07:14:00 AM\",\"userGstin\":\"29AEKPV7203E1Z9\",\"docNo\":\"g1596203028234\",\"docDate\":\"31/07/2020\",\"fromGstin\":\"29AEKPV7203E1Z9\",\"fromTradeName\":\"welton\",\"toGstin\":\"29AAACW4202F1ZM\",\"toTradeName\":\"sthuthya\",\"totInvValue\":11556371,\"status\":\"ACT\",\"validUpto\":\"01/08/2020 11:59:00 AM\",\"toPlace\":null,\"toPincode\":null,\"actToStateCode\":null}]}"
}
Enriched e-invoice errors are mentioned under common errors.
Notes#
IRP - nic is deprecated. Instead of it please use ni1 or ni2