Skip to content

Mapping of E-way bill schema with API (IRN) schema

Ewaybill AttributeIRN AttributeDescriptionRemarks
supplyTypeNASupply TypesupplyType of e-waybill generated for IRN is always ‘O’ – Outward
subSupplyTypeNASub Supply TypesubSupplyType = ‘3’(Export) when TranDtls.SupTyp is EXPWOP/EXPWP, subSupplyType = ‘1’(Supply) otherwise
subSupplyDescNANot Applicable
transactionTypeNATransaction typetransaction type = 1(Regular), if Dispatch-from and Ship-to details are not provided, transaction type = 2(Ship to), if only Ship-to details are provided, transaction type = 3(Dispatch from), if only Dispatch-from details are provided , transaction type = 4(Combination), if both Dispatch-from and Ship-to details are provided
docTypeDocDtls.TypDocument TypeApplicable only for INV(Invoice) in e Invoice
docNoDocDtls.NoDocument Number
docDateDocDtls.DtDocument Date
fromGstinSellerDtls.GstinFrom GSTIN (Supplier or Consignor )
fromTrdNameSellerDtls.TrdNmFrom Trade Name (Consignor Trade name)
fromAddr1SellerDtls.Addr1 or DispDtls.Addr1From Address Line 1,If Dispatch details are not available, Seller details will be assigned
fromAddr2SellerDtls.Addr2 or DispDtls.Addr2From Address Line 2If Dispatch details are not available, Seller details will be assigned
fromPlaceSellerDtls.Loc or DispDtls.LocFrom PlaceIf Dispatch details are not available, Seller details will be assigned
fromPincodeSellerDtls.Pin or DispDtls.PinFrom PincodeIf Dispatch details are not available, Seller details will be assigned
fromStateCodeSellerDtls.Stcd
From State Code
actFromStateCodeDispDtls.StcdActual From State CodeDispatch from state code, if dispatch details are not available, then seller state code will be assigned
toGstinBuyerDtls.GstinTo GSTIN (Consignee or Recipient)
toTrdNameBuyerDtls.TrdNmTo Trade Name (Consignee Trade name or Recipient Trade name)
toAddr1BuyerDtls.Addr1 or ShipDtls.Addr1To Address Line 1If Ship details are not available, Buyer details will be assigned
toAddr2BuyerDtls.Addr2 or ShipDtls.Addr2To Address Line 2If Ship details are not available, Buyer details will be assigned
toPlaceBuyerDtls.Loc or ShipDtls.LocTo PlaceIf Ship details are not available, Buyer details will be assigned
toPincodeBuyerDtls.Pin or ShipDtls.PinTo PincodeIf Ship details are not available, Buyer details will be assigned
toStateCodeBuyerDtls.StcdTo State Code
actToStateCodeShipDtls.StcdActual To State CodeShip to state code, if ship details are not available, then buyer state code will be assigned
First 250 items from Invoice will be mapped in e-Way Bill
productName
productDescProduct / Item descriptionSince it is an optional field, no value will be stored in product name
hsnCodeHSN CodeFirst 100 characters of Item.PrdDesc will be stored in e-WayBill
quantityQuantity
qtyUnitUnitAssigned to E Way Bill if within the allowed range as per E Way Bill
taxableAmountTaxable Amount
sgstRateSGST Rate of TaxsgstRate = (Item.GstRt/2)
cgstRateCGST Rate of TaxcgstRate = (Item.GstRt/2)
igstRateIGST Rate of TaxigstRate = Item.GstRt
cessRateCess Rate of Tax
cessNonadvol
totalValueSum of Taxable value
cgstValueCGST value
sgstValueSGST value
igstValueIGST value
cessValueCess ValuecessValue of E Way Bill is assigned with the sum of cess and cessNonAdvol at item level
cessNonAdvolValue
otherValueOther charges, if any (At item level as well as Invoice level)ValDtls.StCesVal includes StateCesAmt and StateCesNonAdvlAmt at item level
totInvValueTotal Invoice Value
transModeMode of transport(Road-1, Rail-2, Air-3, Ship-4)
transDistanceDistance
transporterNameName of the transporter
transporterId15 Digit Transporter GSTIN/TRANSID
transDocNoTransport Document Number
transDocDateTransport Document Date
vehicleNoVehicle Number
vehicleTypeEwbDtls.VehTypeVehicle Type

Share this post on social

About us

WhiteBooks smart solutions enable owners to manage their businesses on a feature-rich automated software accounting platform. Hassle-free, easy-to-use, secure, affordable, and accurate – We have simplified business accounting for you!

The content on this website is for educational and informational purposes only. We strive to provide up-to-date information but make no warranties regarding the accuracy of our information.