Generate E-Way Bill by IRN

e-Invoice system allows the generation of E-way Bills if an e-Invoice exists for that transaction

Overview

API to generate E-Way bill by passing irn and other required details in the request body.

Endpoint

HTTP MethodResource
POST

API Endpoint  Contact Us  Free Trial

Request

Follow the below guidelines to pass IRN and transport details to generate E-way Bill.

Path Parameter

ParamTypeDescriptionExample
gstinstring15-character alphanumeric unique identifier assigned to business entities registering under the GST regime24AAACJ3770E2ZV

Body

ParamTypeDescriptionExample
IrnstringIrn Numberd056a57cc7cfcc6c9230aa0014e439259d0dc57cfa4eea2326253011fd53ea7e
TransIdstringTransin/GSTIN12AWGPV7107B1Z1
TransNamestringName of the transportertrans name
TransModestringMode of transport
(Road-1, Rail-2, Air-3, Ship-4)
1
DistancenumDistance between source and destination PIN codes100
TransDocNostringTransport Document NumberTRAN/DOC/11
TransDocDtstringTransport Document Date01/08/2020
VehNostringVehicle NumberKA12ER1234
VehTypestringWhether O-ODC or
R-Regular
R
ExpShipDtlsjson objectExport/Shipping Details
DispDtlsjson objectDispatch Details

Export/Shipping Details

ParamTypeDescriptionExample
Addr1stringAddress1 of the entity to whom the supplies are shipped to. (Building/Flat no.,Road/Street etc.)7th block, kuvempu layout
Addr2stringAddress 2 of the entity to whom the supplies are shipped to. (Floor no., Name of the premises/building).kuvempu layout
LocstringPlace (City,Town,Village) entity to whom the supplies are shipped to.Banagalore
PinnumPincode562160
StcdstringState Code to which supplies are shipped to. Refer the master29

Dispatch Details

ParamTypeDescriptionExample
NmstringName of the company from which the goods are dispatchedABC company pvt ltd
Addr1stringAddress 1 of the entity from which goods are dispatched. (Building/Flat no.,Road/Street etc.)7th block, kuvempu layout
Addr2stringAddress 2 of the entity from which goods are dispatched.(Floor no., Name of the premises/building).kuvempu layout
LocstringPlace (City,Town,Village) entity to whom the supplies are shipped to.Banagalore
PinnumPincode562160
StcdstringState Code to which supplies are shipped to. Refer the master29

Sample CURL Request

curl --request POST \
     --url'https://api.sandbox.co.in//24AAACJ3770E2ZV' \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'x-api-version: 1.0' \
     --data '
{
  "Irn": "",
  "Distance": 100,
  "TransMode": "1",
  "TransId":"12AWGPV7107B1Z1",  
  "TransName": "trans name",
  "TransDocDt": "01/08/2020",
  "TransDocNo": "TRAN/DOC/11",
  "VehNo": "KA12ER1234",
  "VehType": "R",
  "ExpShipDtls": {
    "Addr1": "7th block, kuvempu layout",
    "Addr2": "kuvempu layout",
    "Loc": "Banagalore",
    "Pin": 562160,
    "Stcd": "29"
  },
  "DispDtls": {
    "Nm": "ABC company pvt ltd",
    "Addr1": "7th block, kuvempu layout",
    "Addr2": "kuvempu layout",
    "Loc": "Banagalore",
    "Pin": 562160,
    "Stcd": "29"
  }

}
'

❗️

Test Environment Not Available

Response

ParamTypeDescriptionExample
EwbNonume-waybill Number111008683051
EwbDtstringe-waybill date2020-04-24 11:28:00
EwbValidTillstringe-waybill validity2020-04-26 23:59:00
RemarksstringAdditional information such as, If distance is passed is 0, shows actual distance calculated for the pair of PIN codesPin-Pin calc distance: 997KM