{"id":1672,"date":"2023-05-23T06:54:38","date_gmt":"2023-05-23T06:54:38","guid":{"rendered":"https:\/\/whitebooks.in\/blog\/?p=1672"},"modified":"2023-05-23T07:09:05","modified_gmt":"2023-05-23T07:09:05","slug":"mapping-of-e-way-bill-schema-with-api-irn-schema","status":"publish","type":"post","link":"https:\/\/whitebooks.in\/blog\/mapping-of-e-way-bill-schema-with-api-irn-schema\/","title":{"rendered":"Mapping of E-way bill schema with API (IRN) schema"},"content":{"rendered":"\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Ewaybill Attribute<\/strong><\/th><th><strong>IRN Attribute<\/strong><\/th><th><strong>Description<\/strong><\/th><th><strong>Remarks<\/strong><\/th><\/tr><\/thead><tbody><tr><td>supplyType<\/td><td>NA<\/td><td>Supply Type<\/td><td>supplyType of e-waybill generated for IRN is always &#8216;O&#8217; &#8211; Outward<\/td><\/tr><tr><td>subSupplyType<\/td><td>NA<\/td><td>Sub Supply Type<\/td><td>subSupplyType = &#8216;3&#8217;(Export) when TranDtls.SupTyp is EXPWOP\/EXPWP, subSupplyType = &#8216;1&#8217;(Supply) otherwise<\/td><\/tr><tr><td>subSupplyDesc<\/td><td>NA<\/td><td><\/td><td>Not Applicable<\/td><\/tr><tr><td>transactionType<\/td><td>NA<\/td><td>Transaction type<\/td><td>transaction 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<\/td><\/tr><tr><td>docType<\/td><td>DocDtls.Typ<\/td><td>Document Type<\/td><td>Applicable only for INV(Invoice) in e Invoice<\/td><\/tr><tr><td>docNo<\/td><td>DocDtls.No<\/td><td>Document Number<\/td><td><\/td><\/tr><tr><td>docDate<\/td><td>DocDtls.Dt<\/td><td>Document Date<\/td><td><\/td><\/tr><tr><td>fromGstin<\/td><td>SellerDtls.Gstin<\/td><td>From GSTIN (Supplier or Consignor )<\/td><td><\/td><\/tr><tr><td>fromTrdName<\/td><td>SellerDtls.TrdNm<\/td><td>From Trade Name (Consignor Trade name)<\/td><td><\/td><\/tr><tr><td>fromAddr1<\/td><td>SellerDtls.Addr1 or DispDtls.Addr1<\/td><td>From Address Line 1,<\/td><td>If Dispatch details are not available, Seller details will be assigned<\/td><\/tr><tr><td>fromAddr2<\/td><td>SellerDtls.Addr2 or DispDtls.Addr2<\/td><td>From Address Line 2<\/td><td>If Dispatch details are not available, Seller details will be assigned<\/td><\/tr><tr><td>fromPlace<\/td><td>SellerDtls.Loc or DispDtls.Loc<\/td><td>From Place<\/td><td>If Dispatch details are not available, Seller details will be assigned<\/td><\/tr><tr><td>fromPincode<\/td><td>SellerDtls.Pin or DispDtls.Pin<\/td><td>From Pincode<\/td><td>If Dispatch details are not available, Seller details will be assigned<\/td><\/tr><tr><td>fromStateCode<\/td><td>SellerDtls.Stcd<\/td><td><br>From State Code<\/td><td><\/td><\/tr><tr><td>actFromStateCode<\/td><td>DispDtls.Stcd<\/td><td>Actual From State Code<\/td><td>Dispatch from state code, if dispatch details are not available, then seller state code will be assigned<\/td><\/tr><tr><td>toGstin<\/td><td>BuyerDtls.Gstin<\/td><td>To GSTIN (Consignee or Recipient)<\/td><td><\/td><\/tr><tr><td>toTrdName<\/td><td>BuyerDtls.TrdNm<\/td><td>To Trade Name (Consignee Trade name or Recipient Trade name)<\/td><td><\/td><\/tr><tr><td>toAddr1<\/td><td>BuyerDtls.Addr1 or ShipDtls.Addr1<\/td><td>To Address Line 1<\/td><td>If Ship details are not available, Buyer details will be assigned<\/td><\/tr><tr><td>toAddr2<\/td><td>BuyerDtls.Addr2 or ShipDtls.Addr2<\/td><td>To Address Line 2<\/td><td>If Ship details are not available, Buyer details will be assigned<\/td><\/tr><tr><td>toPlace<\/td><td>BuyerDtls.Loc or ShipDtls.Loc<\/td><td>To Place<\/td><td>If Ship details are not available, Buyer details will be assigned<\/td><\/tr><tr><td>toPincode<\/td><td>BuyerDtls.Pin or ShipDtls.Pin<\/td><td>To Pincode<\/td><td>If Ship details are not available, Buyer details will be assigned<\/td><\/tr><tr><td>toStateCode<\/td><td>BuyerDtls.Stcd<\/td><td>To State Code<\/td><td><\/td><\/tr><tr><td>actToStateCode<\/td><td>ShipDtls.Stcd<\/td><td>Actual To State Code<\/td><td>Ship to state code, if ship details are not available, then buyer state code will be assigned<\/td><\/tr><tr><td><strong>First 250 items from Invoice will be mapped in e-Way Bill<\/strong><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>productName<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>productDesc<\/td><td><\/td><td>Product \/ Item description<\/td><td>Since it is an optional field, no value will be stored in product name<\/td><\/tr><tr><td>hsnCode<\/td><td><\/td><td>HSN Code<\/td><td>First 100 characters of Item.PrdDesc will be stored in e-WayBill<\/td><\/tr><tr><td>quantity<\/td><td><\/td><td>Quantity<\/td><td><\/td><\/tr><tr><td>qtyUnit<\/td><td><\/td><td>Unit<\/td><td>Assigned to E Way Bill if within the allowed range as per E Way Bill<\/td><\/tr><tr><td>taxableAmount<\/td><td><\/td><td>Taxable Amount<\/td><td><\/td><\/tr><tr><td>sgstRate<\/td><td><\/td><td>SGST Rate of Tax<\/td><td>sgstRate = (Item.GstRt\/2)<\/td><\/tr><tr><td>cgstRate<\/td><td><\/td><td>CGST Rate of Tax<\/td><td>cgstRate = (Item.GstRt\/2)<\/td><\/tr><tr><td>igstRate<\/td><td><\/td><td>IGST Rate of Tax<\/td><td>igstRate = Item.GstRt<\/td><\/tr><tr><td>cessRate<\/td><td><\/td><td>Cess Rate of Tax<\/td><td><\/td><\/tr><tr><td>cessNonadvol<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>totalValue<\/td><td><\/td><td>Sum of Taxable value<\/td><td><\/td><\/tr><tr><td>cgstValue<\/td><td><\/td><td>CGST value<\/td><td><\/td><\/tr><tr><td>sgstValue<\/td><td><\/td><td>SGST value<\/td><td><\/td><\/tr><tr><td>igstValue<\/td><td><\/td><td>IGST value<\/td><td><\/td><\/tr><tr><td>cessValue<\/td><td><\/td><td>Cess Value<\/td><td>cessValue of E Way Bill is assigned with the sum of cess and cessNonAdvol at item level<\/td><\/tr><tr><td>cessNonAdvolValue<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>otherValue<\/td><td><\/td><td>Other charges, if any (At item level as well as Invoice level)<\/td><td>ValDtls.StCesVal includes StateCesAmt and StateCesNonAdvlAmt at item level<\/td><\/tr><tr><td>totInvValue<\/td><td><\/td><td>Total Invoice Value<\/td><td><\/td><\/tr><tr><td>transMode<\/td><td><\/td><td>Mode of transport<\/td><td>(Road-1, Rail-2, Air-3, Ship-4)<\/td><\/tr><tr><td>transDistance<\/td><td><\/td><td>Distance<\/td><td><\/td><\/tr><tr><td>transporterName<\/td><td><\/td><td>Name of the transporter<\/td><td><\/td><\/tr><tr><td>transporterId<\/td><td><\/td><td>15 Digit Transporter GSTIN\/TRANSID<\/td><td><\/td><\/tr><tr><td>transDocNo<\/td><td><\/td><td>Transport Document Number<\/td><td><\/td><\/tr><tr><td>transDocDate<\/td><td><\/td><td>Transport Document Date<\/td><td><\/td><\/tr><tr><td>vehicleNo<\/td><td><\/td><td>Vehicle Number<\/td><td><\/td><\/tr><tr><td>vehicleType<\/td><td>EwbDtls.VehType<\/td><td>Vehicle Type<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Ewaybill Attribute IRN Attribute Description Remarks supplyType NA Supply Type supplyType of e-waybill generated for IRN is always &#8216;O&#8217; &#8211; Outward subSupplyType NA Sub Supply Type subSupplyType = &#8216;3&#8217;(Export) when TranDtls.SupTyp is EXPWOP\/EXPWP, subSupplyType = &#8216;1&#8217;(Supply) otherwise subSupplyDesc NA Not Applicable transactionType NA Transaction type transaction type = 1(Regular), if Dispatch-from and Ship-to details are&hellip;&nbsp;<a href=\"https:\/\/whitebooks.in\/blog\/mapping-of-e-way-bill-schema-with-api-irn-schema\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Mapping of E-way bill schema with API (IRN) schema<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[86],"tags":[],"class_list":["post-1672","post","type-post","status-publish","format-standard","hentry","category-e-way-bill"],"_links":{"self":[{"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/posts\/1672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/comments?post=1672"}],"version-history":[{"count":6,"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/posts\/1672\/revisions"}],"predecessor-version":[{"id":1681,"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/posts\/1672\/revisions\/1681"}],"wp:attachment":[{"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/media?parent=1672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/categories?post=1672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/whitebooks.in\/blog\/wp-json\/wp\/v2\/tags?post=1672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}