Create e-way bill
Changed onGenerates an e-way bill for an existing document, identified by its hash_id. Requires the transport details: supply type, transport mode, dispatch addresses, and transporter document date. Your account must be connected to the e-way bill portal; portal rejections are returned as PORTAL_ERROR_{code}. By default this points to the government sandbox portal.
Request
- Base URLhttps://app.getswipe.in/api/partner
- URLhttps://app.getswipe.in/api/partner/v2/ewaybill/{doc_hash_id}
- AuthHTTP bearer
Request body
Example request
{
"supply_type": "Outward",
"sub_supply_type": "Supply",
"transporter_doc_date": "05-03-2025",
"dispatch_from": {
"addr_id": -1,
"address_line1": "123 Street",
"address_line2": "Apt 4B",
"city": "City Name",
"state": "State Name",
"country": "Country Name",
"pincode": "123456"
},
"dispatch_to": {
"addr_id": -1,
"address_line1": "123 Street",
"address_line2": "Apt 4B",
"city": "City Name",
"state": "State Name",
"country": "Country Name",
"pincode": "123456"
},
"vehicle_type": "Regular",
"transaction_type": "Regular",
"transport_mode": "Road",
"ship_to_gstin": "29ABCDE1234F1Z5",
"sub_supply_type_description": "Supply of goods",
"transporter_id": "123456",
"transporter_name": "Transporter Name",
"vehicle_number": "KA01AB1234",
"transporter_doc_number": "123456"
}Response
Success
Example response
{
"success": true,
"message": "Eway Bill created successfully"
}Changes
- breaking
removed the enum value
KoreaNorthof the request property///// - breaking
removed the enum value
KoreaNorthof the request property///// - breaking
removed the enum value
KoreaSouthof the request property///// - breaking
removed the enum value
KoreaSouthof the request property///// - breaking
the
request property type changed fromobjectto no type - breaking
the
request property type changed fromobjectto no type - warning
deleted the
pathrequest parameterdoc_hash_id - info
api operation id
v2_post_eway_billremoved and replaced withpost_eway_bill - info
added the new
LADAKH(NEWLY ADDED)enum value to the request property///// - info
added the new
LADAKH(NEWLY ADDED)enum value to the request property///// - info
added the new
Republic of Korea (South Korea)enum value to the request property///// - info
added the new
Republic of Korea (South Korea)enum value to the request property/////
- breaking