Generate IRN
POST {{sandbox_host}}/gst/compliance/e-invoice/tax-payer/invoice
Request Body
{"Version"=>"1.1", "TranDtls"=>{"TaxSch"=>"GST", "SupTyp"=>"B2B", "RegRev"=>"Y", "IgstOnIntra"=>"N"}, "DocDtls"=>{"Typ"=>"INV", "No"=>"DOC/32541980", "Dt"=>"01/12/2024"}, "SellerDtls"=>{"Gstin"=>"29AAACQ3770E000", "LglNm"=>"Quicko Infosoft Private Limited", "TrdNm"=>"Quicko Infosoft Private Limited", "Addr1"=>"5th block, kuvempu layout", "Addr2"=>"kuvempu layout", "Loc"=>"BANGALORE", "Pin"=>560091, "Stcd"=>"29", "Ph"=>"9000000000", "Em"=>"abc@gmail.com"}, "BuyerDtls"=>{"Gstin"=>"29AWGPV7107B1Z1", "LglNm"=>"XYZ company pvt ltd", "TrdNm"=>"XYZ Industries", "Pos"=>"12", "Addr1"=>"7th block, kuvempu layout", "Addr2"=>"kuvempu layout", "Loc"=>"GANDHINAGAR", "Pin"=>562160, "Stcd"=>"29", "Ph"=>"91111111111", "Em"=>"xyz@yahoo.com"}, "ItemList"=>[{"SlNo"=>"1", "PrdDesc"=>"Rice", "IsServc"=>"N", "HsnCd"=>"1001", "Barcde"=>"123456", "Qty"=>100.345, "FreeQty"=>10, "Unit"=>"BAG", "UnitPrice"=>99.545, "TotAmt"=>9988.84, "Discount"=>10, "PreTaxVal"=>1, "AssAmt"=>9978.84, "GstRt"=>12.0, "IgstAmt"=>1197.46, "CgstAmt"=>0, "SgstAmt"=>0, "CesRt"=>5, "CesAmt"=>498.94, "CesNonAdvlAmt"=>10, "StateCesRt"=>12, "StateCesAmt"=>1197.46, "StateCesNonAdvlAmt"=>5, "OthChrg"=>10, "TotItemVal"=>12897.7, "OrdLineRef"=>"3256", "OrgCntry"=>"AG", "PrdSlNo"=>"12345"}], "ValDtls"=>{"AssVal"=>9978.84, "CgstVal"=>0, "SgstVal"=>0, "IgstVal"=>1197.46, "CesVal"=>508.94, "StCesVal"=>1202.46, "Discount"=>10, "OthChrg"=>20, "RndOffAmt"=>0.3, "TotInvVal"=>12908, "TotInvValFc"=>12897.7}, "DispDtls"=>{"Nm"=>"ABC company pvt ltd", "Addr1"=>"7th block, kuvempu layout", "Addr2"=>"kuvempu layout", "Loc"=>"Banagalore", "Pin"=>562160, "Stcd"=>"29"}, "ShipDtls"=>{"Gstin"=>"29AWGPV7107B1Z1", "LglNm"=>"CBE company pvt ltd", "TrdNm"=>"kuvempu layout", "Addr1"=>"7th block, kuvempu layout", "Addr2"=>"kuvempu layout", "Loc"=>"Banagalore", "Pin"=>562160, "Stcd"=>"29"}, "ExpDtls"=>{"ShipBNo"=>"A-248", "ShipBDt"=>"01/08/2020", "Port"=>"INABG1", "RefClm"=>"N", "ForCur"=>"AED", "CntCode"=>"AE"}}
HEADERS
| Key | Datatype | Required | Description |
| x-api-key
| string | | |
| authorization
| string | | |
| x-source
| string | | |
| x-proxy
| string | | |
RESPONSES
status: OK
"{\n \"transaction_id\": \"{{$randomUUID}}\",\n \"code\": 200,\n \"data\": {\n \"Status\": 0,\n \"Data\": null,\n \"ErrorDetails\": [\n {\n \"ErrorCode\": \"3026\",\n \"ErrorMessage\": \"E-Invoice Options are not enabled for this GSTIN -29AAACQ3770E000\"\n },\n {\n \"ErrorCode\": \"2300\",\n \"ErrorMessage\": \"Supplier GSTIN should be of type Regular or SED\"\n },\n {\n \"ErrorCode\": \"2193\",\n \"ErrorMessage\": \"For Sl. No. 1, Taxable Value (AssAmt) value is not equal to (TotAmt - Discount)\"\n }\n ],\n \"InfoDtls\": null\n },\n \"timestamp\": {{$timestamp}}000\n}"