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.
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.
The API response may include the following information, depending on the response received:
Supply classification and document information required to generate the E-Way Bill.
Supplier and recipient GSTIN, business names, addresses, locations, PIN codes, and state codes.
Transaction type, invoice values, taxable amounts, and applicable GST and cess amounts.
Transporter identification, transport document details, mode of transport, distance, and vehicle information.
Item descriptions, HSN codes, quantities, units, taxable amounts, and applicable tax rates.
E-Way Bill number, generation date and time, validity expiry, and alert information returned after successful generation.
API status, response message, error information, billing indicator, and request tracking details.
Collect the document, supplier, recipient, tax, item, and transportation information required for the E-Way Bill generation request.
Provide the required authentication details, GSTIN, and environment configuration in the API request headers.
Send the transaction details as a JSON payload to the Generate E-Way Bill API endpoint.
Inspect the returned status, status code, message, error details, and response data to determine whether the request succeeded.
When generation succeeds, capture the E-Way Bill number, generation date, validity expiry, and alert information returned by the API.
| 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. |
{
"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
}
]
}
| 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. |
{
"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.
Integrate E-Way Bill generation into invoice processing and enterprise resource planning workflows.
Connect E-Way Bill generation with dispatch workflows that capture transport and vehicle details.
Use the API as a component in business processes that prepare and submit E-Way Bill generation requests.
Pass supplier, recipient, item, and transaction information from connected business applications into the API request.
Connect supported E-Way Bill operations with existing business systems through a structured API interface.
Common questions about the Generate E-Way Bill API — what it returns, how fast it is, and how to integrate.
Government ID Check API helps banks, FinTechs, and NBFCs streamline KYC with faster identity verification and reduced manual work.
Read More
Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.