Generate e-Way Bill from IRN
POST
https://apisandbox.whitebooks.in/einvoice/type/GENERATE_EWAYBILL/version/V1_03Generate the e-waybill using Invoice Reference Number (IRN).
e-Invoice Web App
Explore FeatureInstant B2B e-Invoice IRN & QR Code Generation
Generate 64-character IRNs and signed QR codes in bulk from Excel, ERP connectors, or web forms with instant IRP dispatch.
Parameters
query parameters
emailstringrequiredUser Email
irpstringoptionale-Invoice Server Type(NIC1/NIC2),given at the time of e-Invoice generation
header parameters
ip_addressstringrequiredIP Address
client_idstringrequiredClient ID
client_secretstringrequiredClient Secret
usernamestringrequiredUser name
auth-tokenstringrequiredToken
gstinstringrequiredGSTIN number
Request Body
application/jsonrequired
IrnstringoptionalIrn number
Example: "47d7ba1814b6ca6123c780ad289b0a24e30c1baed59a7417d29a54e7b00a6bdf"
DistancenumberoptionalDistance
Example: 100
TransModestringoptionalTransaction Mode
Example: "1"
TransIdstringoptionalTransaction Id
Example: "12AWGPV7107B1Z1"
TransNamestringoptionalTransaction Name
Example: "trans name"
TransDocDtstringoptionalTransaction Date
Example: "01/08/2020"
TransDocNostringoptionalTransaction Documnet number
Example: "TRAN/DOC/11"
VehNostringoptionalVehical Number
Example: "KA12ER1234"
VehTypestringoptionalVehical Type
Example: "R"
ExpShipDtlsobjectoptionalAddr1stringoptionalAddress1
Example: "7th block, kuvempu layout"
Addr2stringoptionalAddress2
Example: "kuvempu layout"
LocstringoptionalLocation Name
Example: "Banagalore"
PinnumberoptionalPincode Number
Example: 562160
StcdstringoptionalState Name
Example: "29"
DispDtlsobjectoptionalNmstringoptionalName
Example: "ABC company pvt ltd"
Addr1stringoptionalAddress1
Example: "7th block, kuvempu layout"
Addr2stringoptionalAddress2
Example: "kuvempu layout"
LocstringoptionalLocation Name
Example: "Banagalore"
PinnumberoptionalPincode Number
Example: 562160
StcdstringoptionalState Name
Example: "29"
Response
Not Found. If requested entity is not found or if requested API is not found.
Frequently Asked Questions
Use this endpoint when an IRN has already been generated without transport details. Instead of re-transmitting buyer, seller, and line-item tax details, you pass the existing
Irn along with transport parameters, auto-populating Part-A from the invoice data.The request payload requires
Irn (64-character hash), Distance (numeric transit distance in kilometers), TransMode (1=Road, 2=Rail, 3=Air, 4=Ship), and transporter identification (TransId or VehNo depending on mode).The IRP verifies distance against PIN-to-PIN transit limits computed by the NIC master database. Passing 0 or a distance exceeding permitted tolerance flags an error unless transit involves multi-hop transportation.
On success, the response returns the
EwbNo (12-digit e-way bill number), EwbDt (generation timestamp), and EwbValidTill indicating the validity expiration date and time based on the transit distance.No example available.