We’re excited to launch our latest product to simplify your business processes. Know More →
GST RPACPC GST SuitePublic GST, e-Invoice & e-Way Bill

Integrate E-Way Bill generation into your business applications.

The RPACPC Generate E-Way Bill API enables applications to submit invoice, supplier, recipient, item, tax, and transportation details in a structured request. The response provides the generated E-Way Bill number, generation date, validity information, and any alert returned by the service.

Sample verification Dummy data
1 You send
Checking
2 You get back
✓
ACTIVEValid & registered
482 ms
E-Way Bill Number 321456789012
E-Way Bill Date 2026-10-23 14:30:00
Valid Until 2026-10-24 23:59:00
Alert None
API overview

Simplify Generate E-Way Bill API.

The Generate E-Way Bill API is part of the RPACPC GSP – E-Way Bill Suite. It accepts transaction and transportation information through a JSON request and returns a structured response containing the result of the generation request.

The request schema includes supply and document details, supplier and recipient information, transaction values, tax amounts, transporter details, vehicle information, and an item list.

Key Information Available

Access essential Generate E-Way Bill API details.

The API response may include the following information, depending on the response received:

01
Transaction & Supply Details

Supply classification and document information required to generate the E-Way Bill.

supplyType
subSupplyType
docType
docNo
docDate
02
Supplier & Recipient Details

Supplier and recipient GSTIN, business names, addresses, locations, PIN codes, and state codes.

fromGstin
fromTradeName
fromAddr1
toGstin
toTradeName
toAddr1
03
Transaction & Tax Information

Transaction type, invoice values, taxable amounts, and applicable GST and cess amounts.

transactionType
totalValue
cgstValue
sgstValue
igstValue
cessValue
04
Transportation Details

Transporter identification, transport document details, mode of transport, distance, and vehicle information.

transporterId
transDocNo
transDocDate
transMode
transDistance
vehicleNo
vehicleType
05
Item & Product Details

Item descriptions, HSN codes, quantities, units, taxable amounts, and applicable tax rates.

productName
productDesc
hsnCode
quantity
qtyUnit
taxableAmount
06
E-Way Bill Generation Details

E-Way Bill number, generation date and time, validity expiry, and alert information returned after successful generation.

data.ewayBillNo
data.ewayBillDate
data.validUpto
data.alert
07
Response Status & Tracking

API status, response message, error information, billing indicator, and request tracking details.

status
status_code
message
error
billable
request_id
sequence_id
request_time
response_time
How It Works

Simple API-based verification process.

Step 01

Prepare Transaction Details

Collect the document, supplier, recipient, tax, item, and transportation information required for the E-Way Bill generation request.

Step 02

Configure API Headers

Provide the required authentication details, GSTIN, and environment configuration in the API request headers.

Step 03

Submit the JSON Request

Send the transaction details as a JSON payload to the Generate E-Way Bill API endpoint.

Step 04

Review the API Response

Inspect the returned status, status code, message, error details, and response data to determine whether the request succeeded.

Step 05

Process the E-Way Bill Details

When generation succeeds, capture the E-Way Bill number, generation date, validity expiry, and alert information returned by the API.

API Request

Step 1 Submit Generate E-Way Bill API details.

Request parameters
Parameter Type Description
supplyType String Supply type code.
subSupplyType String Sub-supply type code.
subSupplyDesc String Additional sub-supply description.
docType String Document type code.
docNo String Invoice or document number.
docDate String Invoice or document date.
fromGstin String Supplier GSTIN.
fromTrdName String Supplier trade name.
fromAddr1, fromAddr2 String Supplier address lines.
fromPlace String Supplier location.
fromPincode Number Supplier PIN code.
actFromStateCode Number Actual source state code.
fromStateCode Number Source state code.
toGstin String Recipient GSTIN.
toTrdName String Recipient trade name.
toAddr1, toAddr2 String Recipient address lines.
toPlace String Recipient location.
toPincode Number Recipient PIN code.
actToStateCode Number Actual destination state code.
toStateCode Number Destination state code.
transactionType Number Transaction type code.
otherValue Number Other value amount or field accepted by the API.
totalValue Number Total taxable or transaction value as defined by the API specification.
cgstValue Number CGST amount.
sgstValue Number SGST amount.
igstValue Number IGST amount.
cessValue Number Cess amount.
cessNonAdvolValue Number Non-ad valorem cess amount.
totInvValue Number Total invoice value.
transporterId String Transporter identifier.
transporterName String Transporter name.
transDocNo String Transport document number.
transDocDate String Transport document date.
transMode String Transportation mode code.
transDistance String/Number Transportation distance.
vehicleNo String Vehicle registration number.
vehicleType String Vehicle type code.
itemList Array Array containing item-level details.
This is an illustrative request structure, not a guaranteed-valid transaction. Confirm the accepted field formats, code values, mandatory fields, and validation rules before using it. The example's tax values are illustrative only.
Sample request REQUEST
{
  "supplyType": "O",
  "subSupplyType": "1",
  "subSupplyDesc": "Supply",
  "docType": "INV",
  "docNo": "INV-2026-001",
  "docDate": "23/10/2026",
  "fromGstin": "27AAAAA0000A1Z5",
  "fromTradeName": "ABC Enterprises",
  "fromAddr1": "Industrial Area, Main Road",
  "fromAddr2": "Building A",
  "fromPlace": "Nagpur",
  "fromPincode": 440001,
  "fromStateCode": 27,
  "toGstin": "27BBBBB1111B1Z6",
  "toTradeName": "XYZ Traders",
  "toAddr1": "Market Road",
  "toAddr2": "Shop No. 10",
  "toPlace": "Pune",
  "toPincode": 411001,
  "toStateCode": 27,
  "transactionType": 1,
  "otherValue": 0,
  "totalValue": 10000,
  "cgstValue": 900,
  "sgstValue": 900,
  "igstValue": 0,
  "cessValue": 0,
  "totInvValue": 11800,
  "transporterId": "27AAAAA0000A1Z5",
  "transporterName": "ABC Logistics",
  "transDocNo": "LR-2026-001",
  "transDocDate": "23/10/2026",
  "transMode": "1",
  "transDistance": "250",
  "vehicleNo": "MH31AB1234",
  "vehicleType": "R",
  "itemList": [
    {
      "productName": "Office Supplies",
      "productDesc": "Office stationery items",
      "hsnCode": "482010",
      "quantity": 100,
      "qtyUnit": "NOS",
      "cgstRate": 9,
      "sgstRate": 9,
      "igstRate": 0,
      "cessRate": 0,
      "taxableAmount": 10000
    }
  ]
}
API response

Step 2Receive structured Generate E-Way Bill API information.

Key response fields
Parameter Type Description
status String Overall API response status.
status_code Number Response status code.
message String Response message.
billable String Billable flag returned by the API.
error Null/Object Error information, if returned.
data.ewayBillNo String Generated E-Way Bill number.
data.ewayBillDate String E-Way Bill generation date and time.
data.validUpto String Validity expiry date and time.
data.alert String Alert information returned by the service.
request_id String Request tracking identifier.
sequence_id String Sequence tracking identifier.
request_time String Request timestamp.
response_time String Response timestamp.
200 · Sample responseRESPONSE
{
  "status": "SUCCESS",
  "status_code": 200,
  "message": "Data fetch successfully",
  "billable": "Y",
  "error": null,
  "data": {
    "ewayBillNo": "321456789012",
    "ewayBillDate": "2026-10-23 14:30:00",
    "validUpto": "2026-10-24 23:59:00",
    "alert": ""
  },
  "request_id": "REQ-EWB-20261023-001",
  "sequence_id": "SEQ-10001",
  "request_time": "2026-10-23T14:29:58+05:30",
  "response_time": "2026-10-23T14:30:00+05:30"
}

The example reflects the supplied response schema. Actual values and error responses may vary depending on the request and environment.

Use cases

Generate E-Way Bill API across business workflows.

ERP and Accounting Integration

Integrate E-Way Bill generation into invoice processing and enterprise resource planning workflows.

Logistics and Dispatch Management

Connect E-Way Bill generation with dispatch workflows that capture transport and vehicle details.

GST Workflow Automation

Use the API as a component in business processes that prepare and submit E-Way Bill generation requests.

Order and Invoice Processing

Pass supplier, recipient, item, and transaction information from connected business applications into the API request.

Enterprise Application Integration

Connect supported E-Way Bill operations with existing business systems through a structured API interface.

FAQ

Frequently asked questions

Common questions about the Generate E-Way Bill API — what it returns, how fast it is, and how to integrate.

Still have a question? Talk to an expert
What is the Generate E-Way Bill API?
The Generate E-Way Bill API allows applications to submit invoice, supplier, recipient, tax, item, and transportation details to request E-Way Bill generation.
Which HTTP method does this API use?
The API uses the POST method and accepts a JSON request payload containing transaction and transportation information.
What information is required to generate an E-Way Bill?
The request schema includes supply type, document details, supplier and recipient information, transaction values, tax amounts, transporter details, vehicle information, and item-level details.
What information does the API return after successful generation?
The sample success response includes the generated E-Way Bill number (data.ewayBillNo), generation date and time (data.ewayBillDate), validity expiry (data.validUpto), and alert information (data.alert).
Which headers are required for the API request?
The example request includes token, secretKey, gstin, sandbox, and Content-Type: application/json. Confirm the mandatory headers and accepted values against the API specification.
How can an application handle an unsuccessful E-Way Bill generation request?
Applications should inspect the response fields, including status, status_code, message, error, and data. If generation fails, handle the returned error information appropriately rather than assuming that an E-Way Bill was generated.
Blog

Vehicle Verification API for Loan Processing: How Can Lenders Verify Vehicle Details Accurately?

Learn how a Vehicle Verification API for Loan Processing helps lenders verify vehicle details, reduce risks, and speed up loan approvals.

Read More
Vehicle Verification API for Loan Processing: How Can Lenders Verify Vehicle Details Accurately?

India's verification infrastructure is already here.

Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.