Get e-way bill by Consignor#
This API provides the e-way bill details for a Document Type and Document number.
API Route#
Route
/basic/eway/{flynn-version}/{ewb_provider}/{ewb-api-version}/ewayapi/GetEwayBillGeneratedByConsigner?docType={doc-type}&docNo={doc-number}
- active ‘flynn-version’: v2.0
- method: GET
URL Parameters#
Name | Description | Type |
---|---|---|
flynn-version | version of the API for example, v2.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) |
QUERY Parameters#
Name | Description | Type |
---|---|---|
docType | document type (INV, BIL, BOE, CHL, CNT, OTH) | string |
docNo | document number | string |
Headers#
All headers are mentioned in common EWB headersdocumentation
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}"
}
E-way Bill errors are mentioned under common errors
Notes#
Below URL is deprecated now. Instead of it please use New URL.
/basic/ewb/{flynn-version}/{ewb-api-version}/ewayapi/GetEwayBillGeneratedByConsigner?docType={doc-type}&docNo={doc-number}