Overview

This method provides the e-way bill details for a Document Type and Document number.

The format and details of GetEwayBillGeneratedByConsigner API request is depicted in following table.

URL

<URL>/ewayapi/GetEwayBillGeneratedByConsigner

Content-Type

application/json

Method

GET

URL Parameters

docType, docNo

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 GetEwayBillGeneratedByConsigner

{
  "ewayBillNo":141001590801,
  "ewayBillDate":"12/12/2018 05:02:00 PM",
  "validUpto":"13/12/2018 23:59:59 PM",
  "alert":null
}

Validations

  1. This API treats the logged in user as the Generator GSTIN.
  2. Only active E-Waybill will be considered in this API.