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
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
Was this page helpful?