Overview

Sequence Diagram

The format and details of Reject E-way bill API request is depicted in following table.


URL

<URL>/ewayapi/

Content-Type

application/json

Method

POST

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

Request Payload


Attributes

Description

Action

REJEWB

REJEWB

Encrypt(Base64(Request JSON),sek)

Reject E-way bill JSON string.

Response Payload

Attributes

Description

Value

Status

Status of request

1 – Success ; 0 - Error

Encrypt(Base64(Response JSON),sek)

Response of Reject E-way bill Json string.
The response will have rejected eway bill number and rejected date if it is successfully rejected. Otherwise the response will have error codes

Sample JSON (Request)

Reject E-WAY BILL Request

{
"action":"REJEWB ",
"data":"ew0KCSJld2JObyI6ICIxODEwMDA2MDkyNzAiDQp9 "
}

“data” JSON corresponds to the data element of Reject E-WAY BILL Request above

{
"ewbNo": 181000609270
}

Sample JSON (Response)

{
"status":"1",
"data":" ew0KCSJld2F5QmlsbE5vIjogMTgxMDAwNjA5MjcwLA0KCSJld2JSZWplY3RlZERhdGUiOiAiMTUvMTIvMjAxNyAxMDoyNDowMCBBTSINCn0="
}

“data” JSON (corresponds to the data element of Reject EWB Response(Success))

{
"ewayBillNo": 181000609270,
"ewbRejectedDate": "15/12/2017 10:24:00 AM"
}

JSON(in case of error)


"status": "0",
"error":{"errorCodes": 240}
}

JSON Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "ewbNo": {
      "type": "number",
"description":"EwayBill Number"
    }
  },
  "required": [

    "ewbNo"
]
}

Data Structure

Parameter Name

Type

Description

Values

Sample Data

Allowed character

 ewbNo

Number(12)

E-way bill Generated

 

131000026768   

Numbers

Validations

  1. E-way bill can be rejected by the other party involved in the e-waybill, if generated by the supplier/recipient.
  2. E-way bill can be rejected by supplier or recipient, if it is generated by the transporter.
  3. E-way bill can be rejected within 72 hours of generation of e-way bill

Frequently Asked Questions

Content will be updated shortly.