E-Invoice/E-WayBill APIs

API – Get E-Waybill By Date

This API is used to get list of e-waybill generated on specific date.

URL

GET https://app.octagst.com/api/einvoice/getewaybillsbydate?gstin={value}&date={value}

Query Parameters

NameDescriptionTypeValue
gstinIt specifies GSTIN of requesterMandatory
dateI It specifies E-way bill generated DateMandatoryFormat: `DD/MM/YYYY

Success Response

Response payload will contains the success status along with e-Waybill information.

{
  "Success": true,
  "Response": [
    {
      "ewbNo": 141001634831,
      "ewbDate": "22/03/2019 12:59:00",
      "status": "ACT",
      "genGstin": "29AKLPM8755F1Z2",
      "docNo": "INV0001",
      "docDate": "15/02/2019",
      "delPinCode": 560090,
      "delStateCode": 29,
      "delPlace": "Bangalore",
      "validUpto": "23/03/2019 11:59:00",
      "extendedTimes": 0,
      "rejectStatus": "N"
    },
    {
      "ewbNo": 141001634789,
      "ewbDate": "22/03/2019 14:27:00",
      "status": "ACT",
      "genGstin": "1029AKLPM8755F1Z2",
      "docNo": "INV0002",
      "docDate": "15/02/2019",
      "delPinCode": 560090,
      "delStateCode": 29,
      "delPlace": "Bangalore",
      "validUpto": "26/03/2019 11:59:00",
      "extendedTimes": 0,
      "rejectStatus": "N"
    }
  ]
}

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"
    }
  ]
}