Get E-way Bill#
By using this API, you can get the e-way bill Details for an e-way bill 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/{ewb_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) |
ewb_number | 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": {
"actFromStateCode": 27,
"actToStateCode": 33,
"actualDist": 1216,
"cessValue": 0.00,
"cgstValue": 0.00,
"docDate": "26/10/2021",
"docNo": "VAY014766ASA60",
"docType": "INV",
"ewayBillDate": "20/03/2023 04:27:00 PM",
"ewbNo": 261009970310,
"extendedTimes": 0,
"fromAddr1": "1076-5, Vidya Vihar Colony, Model Colony,",
"fromAddr2": "Shiv Nagar, Pune",
"fromGstin": "27AAAPI3182M002",
"fromPincode": 411016,
"fromPlace": "Pune",
"fromStateCode": 27,
"fromTrdName": "VAY Network Services Private Limited",
"genMode": "API",
"igstValue": 57421.87,
"noValidDays": 7,
"rejectStatus": "N",
"vehicleType": "R",
"sgstValue": 0.00,
"status": "ACT",
"subSupplyType": "1",
"supplyType": "O",
"toAddr1": "SAGAR AVENUE, GROUND FLOOR",
"toAddr2": "OPP. SHOPPERS STOP, S.V. ROAD",
"toGstin": "19AAAPI3182M007",
"toPincode": 621803,
"toPlace": "T Nagar",
"toStateCode": 19,
"transactionType": 2,
"totalValue": 478515.60,
"totInvValue": 535937.47,
"otherValue": 0.00,
"cessNonAdvolValue": 0.00,
"toTrdName": "Vayana Private Limited",
"transporterId": "33AAAPI3182M009",
"transporterName": "XYZ EXPORTS",
"userGstin": "27AAAPI3182M002",
"validUpto": "27/03/2023 11:59:00 PM",
"itemList": [
{
"productDesc": "LUCID DURA Innovations Hairy Cell 9 Conj",
"cessRate": 0.000,
"cgstRate": 0,
"hsnCode": 30021900,
"igstRate": 12.000,
"productId": "0",
"productName": "",
"qtyUnit": "NOS",
"quantity": 600.00,
"sgstRate": 0,
"taxableAmount": 478515.60,
"itemNo": 1,
"cessNonAdvol": 0.00
}
],
"VehiclListDetails": [
{
"updMode": "API",
"vehicleNo": "TS08EL5627",
"fromPlace": "Pune",
"fromState": 27,
"tripshtNo": 0,
"userGSTINTransin": "27AAAPI3182M002",
"enteredDate": "20/03/2023 04:27:00 PM",
"transMode": "1",
"transDocNo": "DOC01",
"transDocDate": "26/10/2021",
"groupNo": "0"
}
]
},
"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