Get E-way Bill by Consignor#
This API provides the e-way bill details for a Document Type and Document number. If the environment is sandbox then e-invoice api will get hit and in case of production e-waybill api will get hit.
This API is Deprecated. Please use VERSION TWO OH (v2.0)
Route
/enriched/einv/{flynn-version}/{irp}/ewayapi/by-consigner/{doc_type}/{doc_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) |
doc_type | document type (INV, BIL, BOE, CHL, CNT, OTH) | string |
doc_no | document number | string |
Headers#
All headers as mentioned in the Enriched E-Invoice API introduction.
Response#
200
:#
Sample Response Body
{
"data": "{\"ewayBillNo\":151001728294,\"ewayBillDate\":\"03/08/2020 04:30:00 AM\",\"validUpto\":\"04/08/2020 23:59:59 \",\"alert\":null}"
}
Enriched e-invoice errors are mentioned under common errors.
Notes#
IRP - nic is deprecated. Instead of it please use ni1 or ni2