E-Invoice/E-WayBill APIs
API – Get E-Waybill Generated By Other Party
This API is used to get details of e-waybill generated by other party on your GSTIN.
URL
GET https://app.octagst.com/api/einvoice/getewaybillsofotherparty?gstin={value}&date={value}
Query Parameters
Name | Description | Type | Value |
---|---|---|---|
gstin | It specifies GSTIN of requester | Mandatory | |
date | I It specifies E-way bill generated Date | Mandatory | Format: `DD/MM/YYYY |
Success Response
Response payload will contains the success status along with e-Waybill information.
{
"Success": true,
"Response": [
{
"ewbNo": 151000256262,
"ewayBillDate": "10/12/2017 10:45:00",
"genMode": "API",
"genGstin": "29AMRPV8729L1Z1",
"docNo": "TA119",
"docDate": "22/09/2017",
"fromgstin": "29AAAAX1234S1ZN",
"fromTradename": "XYZ Enterprises",
"togstin": "29YYYXX1234S1ZN",
"toTradename": "ABC Enterprises",
"totInvValue": 1234556,
"hsncode": 12,
"hsndesc": "Mobile Phones",
"status": "ACT",
"rejectStatus": "Y"
},
{
"ewbNo": 121000359898,
"ewayBillDate": "10/12/2017 10:45:00",
"genGstin": "29AAECP2371C1ZL",
"docNo": "TA120",
"docDate": "20/09/2017",
"fromGstin": "29AAAAX1234S1ZN",
"fromTradeName": "XYZ Enterprises",
"toGstin": "29YYYXX1234S1ZN",
"toTradeName": "ABC Enterprises",
"totInvValue": 1234556,
"hsnCode": 12,
"hsnDesc": "Wheat & other grains",
"status": "ACT",
"rejectStatus": "Y"
}
]
}
Failure Response
If API request fails for some reason, response payload will contain the failure status and a list of errors.
{
"Success": false,
"Errors": [
{
"Code": "ERR_CODE_1",
"Message": "ERR MESSAGE 1"
},
{
"Code": "ERR_CODE_n",
"Message": "ERR MESSAGE n"
}
]
}