curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/e-way-bill/consignor/bill \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"supplyType": "O",
"subSupplyType": "1",
"subSupplyDesc": "",
"docType": "INV",
"docNo": "7001-11",
"docDate": "15/12/2017",
"fromGstin": "29AAACQ3770E000",
"fromTrdName": "welton",
"fromAddr1": "2ND CROSS NO 59 19 A",
"fromAddr2": "GROUND FLOOR OSBORNE ROAD",
"fromPlace": "FRAZER TOWN",
"fromPincode": 400027,
"actFromStateCode": 27,
"fromStateCode": 27,
"toGstin": "27AAACQ3770E000",
"toTrdName": "sthuthya",
"toAddr1": "Shree Nilaya",
"toAddr2": "Dasarahosahalli",
"toPlace": "Beml Nagar",
"toPincode": 560090,
"actToStateCode": 29,
"toStateCode": 29,
"transactionType": 4,
"otherValue": 0,
"totalValue": 56099,
"cgstValue": 0,
"sgstValue": 0,
"igstValue": 1682.97,
"cessValue": 1682.97,
"cessNonAdvolValue": 0,
"totInvValue": 59464.94,
"transporterId": "27AAACQ3770E004",
"transporterName": "",
"transDocNo": "",
"transMode": "1",
"transDistance": "1000",
"transDocDate": "",
"vehicleNo": "PVC1234",
"vehicleType": "R",
"itemList": [
{
"productName": "Wheat",
"productDesc": "Wheat",
"hsnCode": 1001,
"quantity": 4,
"qtyUnit": "BOX",
"cgstRate": 0,
"sgstRate": 0,
"igstRate": 3,
"cessRate": 3,
"cessNonadvol": 0,
"taxableAmount": 56099
}
]
}
'{
"code": 200,
"data": {
"alert": null,
"data": {
"alert": "",
"ewayBillDate": "01/05/2024 07:04:00 PM",
"ewayBillNo": 201010077008,
"validUpto": "06/05/2024 11:59:00 PM"
},
"status": "1"
},
"timestamp": 1763446641000,
"transaction_id": "36c013cf-1fc3-4f4e-80e9-bd30ed519375"
}Generate E-Way Bill by providing consignor, consignee, transporter and products details.
curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/e-way-bill/consignor/bill \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"supplyType": "O",
"subSupplyType": "1",
"subSupplyDesc": "",
"docType": "INV",
"docNo": "7001-11",
"docDate": "15/12/2017",
"fromGstin": "29AAACQ3770E000",
"fromTrdName": "welton",
"fromAddr1": "2ND CROSS NO 59 19 A",
"fromAddr2": "GROUND FLOOR OSBORNE ROAD",
"fromPlace": "FRAZER TOWN",
"fromPincode": 400027,
"actFromStateCode": 27,
"fromStateCode": 27,
"toGstin": "27AAACQ3770E000",
"toTrdName": "sthuthya",
"toAddr1": "Shree Nilaya",
"toAddr2": "Dasarahosahalli",
"toPlace": "Beml Nagar",
"toPincode": 560090,
"actToStateCode": 29,
"toStateCode": 29,
"transactionType": 4,
"otherValue": 0,
"totalValue": 56099,
"cgstValue": 0,
"sgstValue": 0,
"igstValue": 1682.97,
"cessValue": 1682.97,
"cessNonAdvolValue": 0,
"totInvValue": 59464.94,
"transporterId": "27AAACQ3770E004",
"transporterName": "",
"transDocNo": "",
"transMode": "1",
"transDistance": "1000",
"transDocDate": "",
"vehicleNo": "PVC1234",
"vehicleType": "R",
"itemList": [
{
"productName": "Wheat",
"productDesc": "Wheat",
"hsnCode": 1001,
"quantity": 4,
"qtyUnit": "BOX",
"cgstRate": 0,
"sgstRate": 0,
"igstRate": 3,
"cessRate": 3,
"cessNonadvol": 0,
"taxableAmount": 56099
}
]
}
'{
"code": 200,
"data": {
"alert": null,
"data": {
"alert": "",
"ewayBillDate": "01/05/2024 07:04:00 PM",
"ewayBillNo": 201010077008,
"validUpto": "06/05/2024 11:59:00 PM"
},
"status": "1"
},
"timestamp": 1763446641000,
"transaction_id": "36c013cf-1fc3-4f4e-80e9-bd30ed519375"
}E-Way Bill access token
API version
API key for identification
JSON Body to generate E-Way Bill
Show child attributes
Supply Type. Possible values: O, I
Sub types of Supply
Document Type Possible value - INV : Tax Invoice BIL : Bill of Supply BOE : Bill of Entry CHL : Delivery Challan OTH : Others
Document No
Document Date
GSTIN of the supplier/consignor
Actual From State Code
From Pincode
From State Code
GSTIN of the recipient/consignee. In case of unregistered person, pass "URP"
To Pincode
Actual To State Code
To State Code
Transaction type
Total Invoice Value
Distance (<4000 km)
Sub Supply Description if selected āOthersā in subSupplyType
Trade Name of supplier/consignor
From Address Line 1
From Address Line 2
From Place
Trade name of the recipient/consignee
To Address Line 1
To Address Line 2
To Place
Sum of Taxable value
CGST value
SGST value
IGST value
Cess value
Cess Non Advol value
Other charges, if any
Mode of transport. Possible values: 1 - Road, 2 - Rail, 3 - Air, 4 - Ship
Name of the transporter
15 Digit Transporter GSTIN/TRANSIN
Transport Document Number (Alphanumeric with / and ā are allowed)
Transport Document Date
Vehicle Number
Vehicle Type
Array of items
Show child attributes
HSN Code
Taxable Amount
Product / Item Name
Product / Item description
Quantity
Unit
SGST Rate
CGST Rate
IGST Rate
Cess Rate
Cess Non-Advolerum
212 Invalid Consignee GSTIN / 702 Distance between pincodes is too high or low / 200 EWB generated with alert / 604 Duplicate EWB / 620 Invoice value cannot be less than sum of items / 200 EWB generated / 359 User GSTIN should match from GSTIN / 619 Transporter Id is mandatory for Part A
200
Show child attributes
Show child attributes
""
"0"
1763446641000
"52d7e713-2b65-4a8f-9126-16af4e28ec59"
Was this page helpful?