Overview

This method provides the eway bill details for a given eway bill number.

The format and detals of GetEwayBilll API request is depicted in following table.

URL

<URL>/ewayapi/GetEwayBill

Content-Type

application/json

Method

POST

URL Parameters

ewbNo

Request Payload

Request Header

Attributes Description

client-id

clientid to be provided by E-WAY BILL SYSTEM

client-secret

Secret to be provided by E-WAY BILL SYSTEM

Gstin

GSTIN of Requester(Tax payer or Transporter)

authtoken

Authentication token returned by the E-way bill system

Response Payload

Attributes Description Value
Status Status of request 1 – Success ; 0 - Error

Encrypt(Base64(Response JSON),rek)

Response of E-way bill Json string.

Encrypt(rek,sek)

Random encryption key which is encrypted using sek

Hmac ( Base64(JSON data ))

HMAC-SHA256 of Base64 data using AES key (rek) as HMAC Key

Sample Json for GetEwayBill

{
"actualDist ": 356,
"cessValue ": 127.71,
"cgstValue ": 85.14,
"docDate ": "16/12/2017 ",
"docNo ": "esf ",
"docType ": "INV ",
"fromAddr1 ": "GHSRaliway StationGollahalliNelamangala",
"fromAddr2 ": "Bangalore (Rural) ",
"fromGstin ": "29BNMPC3977J1Z2 ",
"fromPincode ": 562123,
"fromPlace ": "Bangalore (Rural) ",
"fromStateCode ": 29,
"fromTrdName ": "CHITRA N ",
"genMode ": "MOB ",
"igstValue ": 0.00,
"itemList ": [
{
"productDesc ": "",
"cessRate ": 3.000,
"cgstRate ": 2.000,
"hsnCode ": 1001,
"igstRate ": 0.000,
"productId ": 0,
"productName ": "",
"qtyUnit ": "KGS ",
"quantity ": 0.00,
"sgstRate ": 2.000,
"taxableAmount ": 4257.00,
"itemNo ": 1,
"cessAdvol ": 0.00
}
],
"sgstValue ": 85.14,
"status ": "ACT ",
"subSupplyType ": "1 ",
"supplyType ": "O ",
"toAddr1 ": "",
"toAddr2 ": " ",
"toGstin ": "29AMRPV8729L1Z1 ",
"toPincode ": 560043,
"toPlace ": " ",
"toStateCode ": 29,
"toTrdName ": " ",
"totalValue ": 4257.00,
"transDocDate ": "16/12/2017 ",
"transDocNo ": " ",
"transMode ": "1 ",
"VehicleType ": "R ",
"transporterId ": " ",
"transporterName ": " ",
"userGstin ": "29BNMPC3977J1Z2 ",
"ewbNo ": 191009891462,
"ewayBillDate ": "18/01/2018 10:20:00 AM ",
"validUpto ": "17/09/2017 12.00:00 PM ",
"extendedTimes ":0,
"rejectStatus ": "N ",
"VehiclListDetails ": [
{
"updMode ": "MOB ",
"vehicleNo ": "KA12WE7006 ",
"fromPlace ": "Bangalore (Rural) ",
"fromState ": 29,
"tripshtNo ": 0,
"userGSTINTransin ": "29BNMPC3977J1Z2 ",
"transMode ": "1 ",
"transDocNo ": "1234 ",
"transDocDate ": "12/12/2017 "
}
]
}