Generate IRN
You can generate an IRN by sending a PUT
request to E-Invoicing API with the following request headers.
Taxpayers with AATO greater than or equal to 100 crores have to report the invoices to the IRP portal within 30 days of it's issuance from 1st November 2023.
Request URL
PUT: {{HOST}}/einv/v2/eInvoice/generate
Request Headers
X-Cleartax-Auth-Token
String
NA
Mandatory. The auth token generated from ClearTax user id and password.
Content-Type
String
NA
Mandatory. This will always be "application/json" for JSON and "application/xml" for XML
Accept
String
NA
Optional. This will be "application/xml" if you want the response in XML.
gstin
String
NA
Mandatory. GSTIN number for the user
branch
String
NA
Optional. Branch name for the user.
Request Path Params
There are no path parameters for this API.
Request Query Params
dryRun
Boolean
NA
Optional. If the flag is set to true, only ClearTax validations will run, however the EInvoice won’t be generated. Default - false
Request Body
This API accepts an array of E-Invoice Custom Objects as the request body. Maximum up to 10 Invoices can be sent in one request.
E-Invoice Custom Object
custom_fields
Object
Max: 10
Optional. Key value pair of custom fields. You can send a maximum of 10 custom fields only.
Sample Request
[
{
"transaction": {
"Version": "1.1",
"TranDtls": {
"TaxSch": "GST",
"SupTyp": "B2B",
"RegRev": "N",
"EcmGstin": null,
"IgstOnIntra": "N"
},
"DocDtls": {
"Typ": "INV",
"No": "IRNTEST/002",
"Dt": "10/04/2023"
},
"SellerDtls": {
"Gstin": "29AAFCD5862R000",
"LglNm": "NIC Company Pvt Ltd",
"TrdNm": "NIC Industries",
"Addr1": "5th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "GANDHINAGAR",
"Pin": 560037,
"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"
},
"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"
},
"ItemList": [
{
"SlNo": "1",
"PrdDesc": "Rice",
"IsServc": "N",
"HsnCd": "10019920",
"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",
"BchDtls": {
"Nm": "123456",
"ExpDt": "01/08/2020",
"WrDt": "01/09/2020"
},
"AttribDtls": [
{
"Nm": "Rice",
"Val": "10000"
}
]
}
],
"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
},
"PayDtls": {
"Nm": "ABCDE",
"AccDet": "5697389713210",
"Mode": "Cash",
"FinInsBr": "SBIN11000",
"PayTerm": "100",
"PayInstr": "Gift",
"CrTrn": "test",
"DirDr": "test",
"CrDay": 100,
"PaidAmt": 10000,
"PaymtDue": 5000
},
"RefDtls": {
"InvRm": "TEST",
"DocPerdDtls": {
"InvStDt": "01/08/2020",
"InvEndDt": "01/09/2020"
},
"PrecDocDtls": [
{
"InvNo": "DOC/002",
"InvDt": "01/08/2020",
"OthRefNo": "123456"
}
],
"ContrDtls": [
{
"RecAdvRefr": "Doc/003",
"RecAdvDt": "01/08/2020",
"TendRefr": "Abc001",
"ContrRefr": "Co123",
"ExtRefr": "Yo456",
"ProjRefr": "Doc-456",
"PORefr": "Doc-789",
"PORefDt": "01/08/2020"
}
]
},
"AddlDocDtls": [
{
"Url": "https://einv-apisandbox.nic.in",
"Docs": "Test Doc",
"Info": "Document Test"
}
],
"ExpDtls": {
"ShipBNo": "A-248",
"ShipBDt": "01/08/2020",
"Port": "INABG1",
"RefClm": "N",
"ForCur": "AED",
"CntCode": "AE"
},
"EwbDtls": {
"TransId": "12AWGPV7107B1Z1",
"TransName": "XYZ EXPORTS",
"Distance": 100,
"TransDocNo": "Doc01",
"TransDocDt": "10/04/2023",
"VehNo": "ka123456",
"VehType": "R",
"TransMode": "1"
}
},
"custom_fields": {
"customfieldLable1": "CustomFieldValue1",
"customfieldLable2": "CustomFieldValue2",
"customfieldLable3": "CustomFieldValue3"
}
}
]
<?xml version="1.0" encoding="UTF-8"?>
<transaction_requests>
<transaction_request>
<transaction>
<Version>1.1</Version>
<AddlDocDtls>
<element>
<Docs>Test Doc</Docs>
<Info>Document Test</Info>
<Url>https://einv-apisandbox.nic.in</Url>
</element>
</AddlDocDtls>
<BuyerDtls>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Em>xyz@yahoo.com</Em>
<Gstin>29AWGPV7107B1Z1</Gstin>
<LglNm>XYZ company pvt ltd</LglNm>
<Loc>GANDHINAGAR</Loc>
<Ph>91111111111</Ph>
<Pin>562160</Pin>
<Pos>12</Pos>
<Stcd>29</Stcd>
<TrdNm>XYZ Industries</TrdNm>
</BuyerDtls>
<DispDtls>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>Banagalore</Loc>
<Nm>ABC company pvt ltd</Nm>
<Pin>562160</Pin>
<Stcd>29</Stcd>
</DispDtls>
<DocDtls>
<Dt>11/08/2020</Dt>
<No>DOC/P07</No>
<Typ>INV</Typ>
</DocDtls>
<EwbDtls>
<Distance>100</Distance>
<TransDocDt>08/08/2020</TransDocDt>
<TransDocNo>DOC01</TransDocNo>
<TransId>12AWGPV7107B1Z1</TransId>
<TransMode>1</TransMode>
<TransName>XYZ EXPORTS</TransName>
<VehNo>ka123456</VehNo>
<VehType>R</VehType>
</EwbDtls>
<ExpDtls>
<CntCode>AE</CntCode>
<ForCur>AED</ForCur>
<Port>INABG1</Port>
<RefClm>N</RefClm>
<ShipBDt>11/08/2020</ShipBDt>
<ShipBNo>A-248</ShipBNo>
</ExpDtls>
<ItemList>
<AssAmt>9978.84</AssAmt>
<AttribDtls>
<Nm>Rice</Nm>
<Val>10000</Val>
</AttribDtls>
<Barcde>123456</Barcde>
<BchDtls>
<Expdt>01/08/2020</Expdt>
<Nm>123456</Nm>
<wrDt>01/09/2020</wrDt>
</BchDtls>
<CesAmt>498.94</CesAmt>
<CesNonAdvlAmt>10</CesNonAdvlAmt>
<CesRt>5</CesRt>
<CgstAmt>0</CgstAmt>
<Discount>10</Discount>
<FreeQty>10</FreeQty>
<GstRt>12.0</GstRt>
<HsnCd>1001</HsnCd>
<IgstAmt>1197.46</IgstAmt>
<IsServc>N</IsServc>
<OrdLineRef>3256</OrdLineRef>
<OrgCntry>AG</OrgCntry>
<OthChrg>10</OthChrg>
<PrdDesc>Rice</PrdDesc>
<PrdSlNo>12345</PrdSlNo>
<PreTaxVal>1</PreTaxVal>
<Qty>100.345</Qty>
<SgstAmt>0</SgstAmt>
<SlNo>1</SlNo>
<StateCesAmt>1197.46</StateCesAmt>
<StateCesNonAdvlAmt>5</StateCesNonAdvlAmt>
<StateCesRt>12</StateCesRt>
<TotAmt>9988.84</TotAmt>
<TotItemVal>12897.7</TotItemVal>
<Unit>BAG</Unit>
<UnitPrice>99.545</UnitPrice>
</ItemList>
<PayDtls>
<Accdet>5697389713210</Accdet>
<Crday>100</Crday>
<Crtrn>test</Crtrn>
<Dirdr>test</Dirdr>
<Fininsbr>SBIN11000</Fininsbr>
<Mode>Cash</Mode>
<Nm>ABCDE</Nm>
<Paidamt>10000</Paidamt>
<Payinstr>Gift</Payinstr>
<Paymtdue>5000</Paymtdue>
<Payterm>100</Payterm>
</PayDtls>
<RefDtls>
<ContrDtls>
<Contrrefr>Co123</Contrrefr>
<Extrefr>Yo456</Extrefr>
<PoRefDt>01/08/2020</PoRefDt>
<Porefr>Doc-789</Porefr>
<Projrefr>Doc-456</Projrefr>
<RecAdvDt>01/08/2020</RecAdvDt>
<RecAdvRefr>Doc/003</RecAdvRefr>
<Tendrefr>Abc001</Tendrefr>
</ContrDtls>
<ContrDtls>
<Contrrefr>Co124</Contrrefr>
<Extrefr>Y1456</Extrefr>
<PoRefDt>02/08/2020</PoRefDt>
<Porefr>Doc-189</Porefr>
<Projrefr>Doc-156</Projrefr>
<RecAdvDt>02/08/2020</RecAdvDt>
<RecAdvRefr>Doc/103</RecAdvRefr>
<Tendrefr>Abc201</Tendrefr>
</ContrDtls>
<DocPerdDtls>
<InvEndDt>01/09/2020</InvEndDt>
<InvStDt>01/08/2020</InvStDt>
</DocPerdDtls>
<InvRm>TEST</InvRm>
<PrecDocDtls>
<InvDt>01/08/2020</InvDt>
<InvNo>DOC/002</InvNo>
<OthRefNo>123456</OthRefNo>
</PrecDocDtls>
</RefDtls>
<SellerDtls>
<Addr1>5th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Em>abc@gmail.com</Em>
<Gstin>24AAFCD5862R005</Gstin>
<LglNm>NIC company pvt ltd</LglNm>
<Loc>GANDHINAGAR</Loc>
<Ph>9000000000</Ph>
<Pin>382010</Pin>
<Stcd>24</Stcd>
<TrdNm>NIC Industries</TrdNm>
</SellerDtls>
<ShipDtls>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Gstin>29AWGPV7107B1Z1</Gstin>
<LglNm>CBE company pvt ltd</LglNm>
<Loc>Banagalore</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
<TrdNm>kuvempu layout</TrdNm>
</ShipDtls>
<TranDtls>
<IgstOnIntra>N</IgstOnIntra>
<RegRev>Y</RegRev>
<SupTyp>B2B</SupTyp>
<TaxSch>GST</TaxSch>
</TranDtls>
<ValDtls>
<AssVal>9978.84</AssVal>
<CesVal>508.94</CesVal>
<CgstVal>0</CgstVal>
<Discount>10</Discount>
<IgstVal>1197.46</IgstVal>
<OthChrg>20</OthChrg>
<RndOffAmt>0.3</RndOffAmt>
<SgstVal>0</SgstVal>
<StCesVal>1202.46</StCesVal>
<TotInvVal>12908</TotInvVal>
<TotInvValFc>12897.7</TotInvValFc>
</ValDtls>
</transaction>
</transaction_request>
</transaction_requests>
Sample Response
Success - (Dryrun = False)
[
{
"custom_fields": null,
"deleted": false,
"document_status": "IRN_GENERATED",
"error_response": null,
"errors": null,
"govt_response": {
"Success": "Y",
"AckNo": 112310153714784,
"AckDt": "2023-04-11 13:38:00",
"Irn": "94b6c41efd740424c469908d0927db66d8f24d9dad78b02dab04ad1659813dc9",
"SignedInvoice": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjE1MTNCODIxRUU0NkM3NDlBNjNCODZFMzE4QkY3MTEwOTkyODdEMUYiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJGUk80SWU1R3gwbW1PNGJqR0w5eEVKa29mUjgifQ.eyJkYXRhIjoie1wiQWNrTm9cIjoxMTIzMTAxNTM3MTQ3ODQsXCJBY2tEdFwiOlwiMjAyMy0wNC0xMSAxMzozODowMFwiLFwiSXJuXCI6XCI5NGI2YzQxZWZkNzQwNDI0YzQ2OTkwOGQwOTI3ZGI2NmQ4ZjI0ZDlkYWQ3OGIwMmRhYjA0YWQxNjU5ODEzZGM5XCIsXCJWZXJzaW9uXCI6XCIxLjFcIixcIlRyYW5EdGxzXCI6e1wiVGF4U2NoXCI6XCJHU1Rc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OlwiMjlBV0dQVjcxMDdCMVoxXCIsXCJEb2NOb1wiOlwiSVJOVEVTVC8wMDJcIixcIkRvY1R5cFwiOlwiSU5WXCIsXCJEb2NEdFwiOlwiMTAvMDQvMjAyM1wiLFwiVG90SW52VmFsXCI6MTE4LjAwLFwiSXRlbUNudFwiOjEsXCJNYWluSHNuQ29kZVwiOlwiMTAwMTk5MjBcIixcIklyblwiOlwiOTRiNmM0MWVmZDc0MDQyNGM0Njk5MDhkMDkyN2RiNjZkOGYyNGQ5ZGFkNzhiMDJkYWIwNGFkMTY1OTgxM2RjOVwiLFwiSXJuRHRcIjpcIjIwMjMtMDQtMTEgMTM6Mzg6MDBcIn0iLCJpc3MiOiJOSUMgU2FuZGJveCJ9.qry9RhVPOvD_ZpOdrbjXYTObUhMsEexWCdNqxTGwx7E1ewiEOSJIez7IX0znwyyP7zXExAkUQIfI5MLU7ClfjM7zCrt7cTIwoRygivGuiL3MCkbuAPzCEIqAMe5nLVaUhA4ASA0UbZhjFI2EyxklRRuIy7xSfWRQVNC_Hzu4S3bIiV-X9quM0QoD0xLd89f7rzM4-lIogIaxRjcx9aClpTg3nfWh20nmXqpTi2HAQ_LhEngXkaEj6RvvKM7LPdHYw4AMjtSjusqNWrvzH4w6-0liQKRETgmDGPeho9MLC6nOyBMoNXCuj5c3YYQcqq_AxtO-1DvPiwwO9XygZySLVw",
"Status": "ACT",
"EwbNo": 171010133427,
"EwbDt": "2023-04-11 13:38:00",
"EwbValidTill": "2023-04-12 23:59:00"
},
"group_id": null,
"gstin": "29AAFCD5862R000",
"is_deleted": false,
"owner_id": null,
"tag_identifier": null,
"transaction": {
"Version": "1.1",
"TranDtls": {
"TaxSch": "GST",
"RegRev": "N",
"SupTyp": "B2B"
},
"DocDtls": {
"Typ": "INV",
"No": "IRNTEST/002",
"Dt": "10/04/2023"
},
"SellerDtls": {
"Gstin": "29AAFCD5862R000",
"LglNm": "NIC company pvt ltd",
"TrdNm": "NIC Industries",
"Addr1": "5th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560103,
"Stcd": "29"
},
"BuyerDtls": {
"Gstin": "29AWGPV7107B1Z1",
"LglNm": "XYZ company pvt ltd",
"TrdNm": "XYZ Industries",
"Pos": "29",
"Addr1": "7th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560105,
"Stcd": "29"
},
"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"
},
"ItemList": [
{
"SlNo": "1",
"PrdDesc": "SERVICE CHARGES(SMART SUITES) ",
"IsServc": "N",
"HsnCd": "10019920",
"Qty": 1.000,
"FreeQty": 1.000,
"Unit": "OTH",
"UnitPrice": 100.000,
"TotAmt": 100.00,
"Discount": 0.00,
"AssAmt": 100.00,
"GstRt": 18.00,
"IgstAmt": 0.00,
"CgstAmt": 9.00,
"SgstAmt": 9.00,
"CesRt": 0.00,
"CesAmt": 0.00,
"CesNonAdvlAmt": 0.00,
"StateCesRt": 0.00,
"StateCesAmt": 0.00,
"StateCesNonAdvlAmt": 0.00,
"OthChrg": 0.00,
"TotItemVal": 118.00
}
],
"ValDtls": {
"AssVal": 100.00,
"CgstVal": 9.00,
"SgstVal": 9.00,
"IgstVal": 0.00,
"CesVal": 0.00,
"StCesVal": 0.00,
"Discount": 0.00,
"OthChrg": 0.00,
"RndOffAmt": 0.00,
"TotInvVal": 118.00,
"TotInvValFc": 118.00
},
"EwbDtls": {
"TransId": "12AWGPV7107B1Z1",
"TransName": "XYZ EXPORTS",
"TransMode": "1",
"Distance": 100,
"TransDocNo": "Doc01",
"TransDocDt": "10/04/2023",
"VehNo": "ka123456",
"VehType": "R"
}
},
"transaction_id": "29AAFCD5862R000_IRNTEST/002_INV_2023",
"transaction_metadata": null
}
]
<?xml version='1.0' encoding='UTF-8'?>
<eInvoiceTransactionDTOes>
<invoice_details>
<deleted>false</deleted>
<document_status>IRN_GENERATED</document_status>
<govt_response>
<Success>Y</Success>
<AckNo>162310049128270</AckNo>
<AckDt>2023-11-07 14:29:16</AckDt>
<Irn>17a85f901f18ca490cf72964160e139f213dc0298d594d370e2792fa93154672</Irn>
<SignedInvoice>eyJhbGciOiJSUzI1NiIsImtpZCI6IjE1MTNCODIxRUU0NkM3NDlBNjNCODZFMzE4QkY3MTEwOTkyODdEMUYiLCJ4NXQiOiJGUk80SWU1R3gwbW1PNGJqR0w5eEVKa29mUjgiLCJ0eXAiOiJKV1QifQ.eyJkYXRhIjoie1wiQWNrTm9cIjoxNjIzMTAwNDkxMjgyNzAsXCJBY2tEdFwiOlwiMjAyMy0xMS0wNyAxNDoyOToxNlwiLFwiSXJuXCI6XCIxN2E4NWY5MDFmMThjYTQ5MGNmNzI5NjQxNjBlMTM5ZjIxM2RjMDI5OGQ1OTRkMzcwZTI3OTJmYTkzMTU0NjcyXCIsXCJWZXJzaW9uXCI6XCIxLjFcIixcIlRyYW5EdGxzXCI6e1wiVGF4U2NoXCI6XCJHU1RcIixcIlN1cFR5cFwiOlwiQjJCXCIsXCJSZWdSZXZcIjpcIllcIixcIklnc3RPbkludHJhXCI6XCJOXCJ9LFwiRG9jRHRsc1wiOntcIlR5cFwiOlwiSU5WXCIsXCJOb1wiOlwiV0FSWE1MMlwiLFwiRHRcIjpcIjExLzEwLzIwMjNcIn0sXCJTZWxsZXJEdGxzXCI6e1wiR3N0aW5cIjpcIjI0QUFGQ0Q1ODYyUjAwNVwiLFwiTGdsTm1cIjpcIk5JQyBjb21wYW55IHB2dCBsdGRcIixcIlRyZE5tXCI6XCJOSUMgSW5kdXN0cmllc1wiLFwiQWRkcjFcIjpcIj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9pWLoE5fZmLuvSbpBbNPDf-vvFATg0oRirN0q4PWhh_AXWxazKqCgA_9oc7u4gsa-7M_ZYqBvphpzhZkP-dBvUdcBcrplIyx5FtTWM4Dpk-cRMJNkB7fs3uakDF5HnSliZPSwcfR1t-hiNX2v2ADZxo8TVtAQmzwxiC3QR48RAYdePmhEp7g</SignedQRCode>
<Status>ACT</Status>
</govt_response>
<gstin>24AAFCD5862R005</gstin>
<is_deleted>false</is_deleted>
<transaction>
<Version>1.1</Version>
<TranDtls>
<TaxSch>GST</TaxSch>
<RegRev>Y</RegRev>
<SupTyp>B2B</SupTyp>
<IgstOnIntra>N</IgstOnIntra>
</TranDtls>
<DocDtls>
<Typ>INV</Typ>
<No>WARXML2</No>
<Dt>11/10/2023</Dt>
</DocDtls>
<SellerDtls>
<Gstin>24AAFCD5862R005</Gstin>
<LglNm>NIC company pvt ltd</LglNm>
<TrdNm>NIC Industries</TrdNm>
<Addr1>5th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>GANDHINAGAR</Loc>
<Pin>382010</Pin>
<Stcd>24</Stcd>
<Ph>9000000000</Ph>
<Em>abc@gmail.com</Em>
</SellerDtls>
<BuyerDtls>
<Gstin>29AWGPV7107B1Z1</Gstin>
<LglNm>XYZ company pvt ltd</LglNm>
<TrdNm>XYZ Industries</TrdNm>
<Pos>12</Pos>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>GANDHINAGAR</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
<Ph>91111111111</Ph>
<Em>xyz@yahoo.com</Em>
</BuyerDtls>
<DispDtls>
<Nm>ABC company pvt ltd</Nm>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>Banagalore</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
</DispDtls>
<ShipDtls>
<Gstin>29AWGPV7107B1Z1</Gstin>
<LglNm>CBE company pvt ltd</LglNm>
<TrdNm>kuvempu layout</TrdNm>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>Banagalore</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
</ShipDtls>
<ItemList>
<SlNo>1</SlNo>
<PrdDesc>Rice</PrdDesc>
<IsServc>N</IsServc>
<HsnCd>1001</HsnCd>
<Barcde>123456</Barcde>
<Qty>100.345</Qty>
<FreeQty>10.000</FreeQty>
<Unit>BAG</Unit>
<UnitPrice>99.545</UnitPrice>
<TotAmt>9988.84</TotAmt>
<Discount>10.00</Discount>
<PreTaxVal>1.00</PreTaxVal>
<AssAmt>9978.84</AssAmt>
<GstRt>12.00</GstRt>
<IgstAmt>1197.46</IgstAmt>
<CgstAmt>0.00</CgstAmt>
<SgstAmt>0.00</SgstAmt>
<CesRt>5.00</CesRt>
<CesAmt>498.94</CesAmt>
<CesNonAdvlAmt>10.00</CesNonAdvlAmt>
<StateCesRt>12.00</StateCesRt>
<StateCesAmt>1197.46</StateCesAmt>
<StateCesNonAdvlAmt>5.00</StateCesNonAdvlAmt>
<OthChrg>10.00</OthChrg>
<TotItemVal>12897.70</TotItemVal>
<OrdLineRef>3256</OrdLineRef>
<OrgCntry>AG</OrgCntry>
<PrdSlNo>12345</PrdSlNo>
<BchDtls>
<Nm>123456</Nm>
</BchDtls>
<AttribDtls>
<Nm>Rice</Nm>
<Val>10000</Val>
</AttribDtls>
</ItemList>
<ValDtls>
<AssVal>9978.84</AssVal>
<CgstVal>0.00</CgstVal>
<SgstVal>0.00</SgstVal>
<IgstVal>1197.46</IgstVal>
<CesVal>508.94</CesVal>
<StCesVal>1202.46</StCesVal>
<Discount>10.00</Discount>
<OthChrg>20.00</OthChrg>
<RndOffAmt>0.30</RndOffAmt>
<TotInvVal>12908.00</TotInvVal>
<TotInvValFc>12897.70</TotInvValFc>
</ValDtls>
<PayDtls>
<Nm>ABCDE</Nm>
<Mode>Cash</Mode>
</PayDtls>
<RefDtls>
<InvRm>TEST</InvRm>
<DocPerdDtls>
<InvStDt>01/08/2020</InvStDt>
<InvEndDt>01/09/2020</InvEndDt>
</DocPerdDtls>
<PrecDocDtls>
<InvNo>DOC/002</InvNo>
<InvDt>01/08/2020</InvDt>
<OthRefNo>123456</OthRefNo>
</PrecDocDtls>
<ContrDtls>
<RecAdvRefr>Doc/003</RecAdvRefr>
<RecAdvDt>01/08/2020</RecAdvDt>
</ContrDtls>
<ContrDtls>
<RecAdvRefr>Doc/103</RecAdvRefr>
<RecAdvDt>02/08/2020</RecAdvDt>
</ContrDtls>
</RefDtls>
<AddlDocDtls/>
<ExpDtls>
<ShipBNo>A-248</ShipBNo>
<ShipBDt>11/08/2020</ShipBDt>
<Port>INABG1</Port>
<RefClm>N</RefClm>
<ForCur>AED</ForCur>
<CntCode>AE</CntCode>
</ExpDtls>
</transaction>
<transaction_id>24AAFCD5862R005_WARXML2_INV_2023</transaction_id>
</invoice_details>
</eInvoiceTransactionDTOes>
Success - (Dryrun = True)
The parameter "Success" : "Y" denotes that the document has been successfully validated by ClearTax.
[
{
"custom_fields": null,
"deleted": false,
"document_status": "DOCUMENT_VALIDATION",
"error_response": null,
"errors": null,
"govt_response": {
"Success": "Y"
},
"group_id": null,
"gstin": "24AAFCD5862R005",
"is_deleted": false,
"owner_id": null,
"tag_identifier": null,
"transaction": {
"Version": "1.1",
"TranDtls": {
"TaxSch": "GST",
"SupTyp": "B2B",
"IgstOnIntra": "N"
},
"DocDtls": {
"Typ": "INV",
"No": "sumit1234",
"Dt": "18/01/2024"
},
"SellerDtls": {
"Gstin": "29AAFCD5862R000",
"LglNm": "NIC company pvt ltd",
"TrdNm": "NIC Industries",
"Addr1": "5th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560103,
"Stcd": "29"
},
"BuyerDtls": {
"Gstin": "29AWGPV7107B1Z1",
"LglNm": "XYZ company pvt ltd",
"TrdNm": "XYZ Industries",
"Pos": "29",
"Addr1": "7th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560105,
"Stcd": "29"
},
"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"
},
"ItemList": [
{
"SlNo": "1",
"PrdDesc": "SERVICE CHARGES(SMART SUITES) ",
"IsServc": "N",
"HsnCd": "10019920",
"Qty": 1.000,
"FreeQty": 1.000,
"Unit": "OTH",
"UnitPrice": 100.000,
"TotAmt": 100.00,
"Discount": 0.00,
"AssAmt": 100.00,
"GstRt": 18.00,
"IgstAmt": 0.00,
"CgstAmt": 9.00,
"SgstAmt": 9.00,
"CesRt": 0.00,
"CesAmt": 0.00,
"CesNonAdvlAmt": 0.00,
"StateCesRt": 0.00,
"StateCesAmt": 0.00,
"StateCesNonAdvlAmt": 0.00,
"OthChrg": 0.00,
"TotItemVal": 118.00
}
],
"ValDtls": {
"AssVal": 100.00,
"CgstVal": 9.00,
"SgstVal": 9.00,
"IgstVal": 0.00,
"CesVal": 0.00,
"StCesVal": 0.00,
"Discount": 0.00,
"OthChrg": 0.00,
"RndOffAmt": 0.00,
"TotInvVal": 118.00,
"TotInvValFc": 118.00
},
"EwbDtls": {
"TransId": "12AWGPV7107B1Z1",
"TransName": "XYZ EXPORTS",
"TransMode": "1",
"Distance": 100,
"TransDocNo": "Doc01",
"TransDocDt": "10/04/2023",
"VehNo": "ka123456",
"VehType": "R"
}
},
"transaction_id": "24AAFCD5862R005_sumit1234_INV_2023",
"transaction_metadata": null
}
]
Sample Response
Error - (Dryrun = False)
[
{
"custom_fields": null,
"deleted": false,
"document_status": "NOT_CREATED",
"error_response": null,
"errors": null,
"govt_response": {
"Success": "N",
"ErrorDetails": [
{
"error_code": "107",
"error_message": "EInvoice.ValDtls.TotInvVal : Invalid Total Invoice Value. The Total Invoice Value should be equal to the Sum of Total Value of All Items - Invoice Discount + Invoice Other charges + Round-off amount. Please correct the Invoice Value and try again.",
"error_source": "CLEARTAX"
}
]
},
"group_id": null,
"gstin": "29AAFCD5862R000",
"is_deleted": false,
"owner_id": null,
"tag_identifier": null,
"transaction": {
"Version": "1.1",
"TranDtls": {
"TaxSch": "GST",
"RegRev": "N",
"SupTyp": "B2B"
},
"DocDtls": {
"Typ": "INV",
"No": "IRNTEST/003",
"Dt": "10/04/2023"
},
"SellerDtls": {
"Gstin": "29AAFCD5862R000",
"LglNm": "NIC company pvt ltd",
"TrdNm": "NIC Industries",
"Addr1": "5th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560103,
"Stcd": "29"
},
"BuyerDtls": {
"Gstin": "29AWGPV7107B1Z1",
"LglNm": "XYZ company pvt ltd",
"TrdNm": "XYZ Industries",
"Pos": "29",
"Addr1": "7th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560105,
"Stcd": "29"
},
"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"
},
"ItemList": [
{
"SlNo": "1",
"PrdDesc": "SERVICE CHARGES(SMART SUITES) ",
"IsServc": "N",
"HsnCd": "10019920",
"Qty": 1.000,
"FreeQty": 1.000,
"Unit": "OTH",
"UnitPrice": 100.000,
"TotAmt": 100.00,
"Discount": 0.00,
"AssAmt": 100.00,
"GstRt": 18.00,
"IgstAmt": 0.00,
"CgstAmt": 9.00,
"SgstAmt": 9.00,
"CesRt": 0.00,
"CesAmt": 0.00,
"CesNonAdvlAmt": 0.00,
"StateCesRt": 0.00,
"StateCesAmt": 0.00,
"StateCesNonAdvlAmt": 0.00,
"OthChrg": 0.00,
"TotItemVal": 118.00
}
],
"ValDtls": {
"AssVal": 100.00,
"CgstVal": 9.00,
"SgstVal": 9.00,
"IgstVal": 0.00,
"CesVal": 0.00,
"StCesVal": 0.00,
"Discount": 0.00,
"OthChrg": 0.00,
"RndOffAmt": 0.00,
"TotInvVal": 0.00,
"TotInvValFc": 118.00
},
"EwbDtls": {
"TransId": "12AWGPV7107B1Z1",
"TransName": "XYZ EXPORTS",
"TransMode": "1",
"Distance": 100,
"TransDocNo": "Doc01",
"TransDocDt": "10/04/2023",
"VehNo": "ka123456",
"VehType": "R"
}
},
"transaction_id": "29AAFCD5862R000_IRNTEST/003_INV_2023",
"transaction_metadata": null
}
]
<?xml version='1.0' encoding='UTF-8'?>
<eInvoiceTransactionDTOes>
<invoice_details>
<deleted>false</deleted>
<document_status>NOT_CREATED</document_status>
<govt_response>
<Success>N</Success>
<ErrorDetails>
<error_code>107</error_code>
<error_message>Document Number/Document Type/Document Date/Seller Gstin are missing. All these fields are mandatory. Please provide the missing value and try again.</error_message>
<error_source>CLEARTAX</error_source>
</ErrorDetails>
</govt_response>
<is_deleted>false</is_deleted>
<transaction>
<Version>1.1</Version>
<TranDtls>
<TaxSch>GST</TaxSch>
<RegRev>Y</RegRev>
<SupTyp>B2B</SupTyp>
<IgstOnIntra>N</IgstOnIntra>
</TranDtls>
<DocDtls>
<Typ>INV</Typ>
<Dt>11/10/2023</Dt>
</DocDtls>
<SellerDtls>
<Gstin>24AAFCD5862R005</Gstin>
<LglNm>NIC company pvt ltd</LglNm>
<TrdNm>NIC Industries</TrdNm>
<Addr1>5th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>GANDHINAGAR</Loc>
<Pin>382010</Pin>
<Stcd>24</Stcd>
<Ph>9000000000</Ph>
<Em>abc@gmail.com</Em>
</SellerDtls>
<BuyerDtls>
<Gstin>29AWGPV7107B1Z1</Gstin>
<LglNm>XYZ company pvt ltd</LglNm>
<TrdNm>XYZ Industries</TrdNm>
<Pos>12</Pos>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>GANDHINAGAR</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
<Ph>91111111111</Ph>
<Em>xyz@yahoo.com</Em>
</BuyerDtls>
<DispDtls>
<Nm>ABC company pvt ltd</Nm>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>Banagalore</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
</DispDtls>
<ShipDtls>
<Gstin>29AWGPV7107B1Z1</Gstin>
<LglNm>CBE company pvt ltd</LglNm>
<TrdNm>kuvempu layout</TrdNm>
<Addr1>7th block, kuvempu layout</Addr1>
<Addr2>kuvempu layout</Addr2>
<Loc>Banagalore</Loc>
<Pin>562160</Pin>
<Stcd>29</Stcd>
</ShipDtls>
<ItemList>
<SlNo>1</SlNo>
<PrdDesc>Rice</PrdDesc>
<IsServc>N</IsServc>
<HsnCd>1001</HsnCd>
<Barcde>123456</Barcde>
<Qty>100.345</Qty>
<FreeQty>10.000</FreeQty>
<Unit>BAG</Unit>
<UnitPrice>99.545</UnitPrice>
<TotAmt>9988.84</TotAmt>
<Discount>10.00</Discount>
<PreTaxVal>1.00</PreTaxVal>
<AssAmt>9978.84</AssAmt>
<GstRt>12.00</GstRt>
<IgstAmt>1197.46</IgstAmt>
<CgstAmt>0.00</CgstAmt>
<SgstAmt>0.00</SgstAmt>
<CesRt>5.00</CesRt>
<CesAmt>498.94</CesAmt>
<CesNonAdvlAmt>10.00</CesNonAdvlAmt>
<StateCesRt>12.00</StateCesRt>
<StateCesAmt>1197.46</StateCesAmt>
<StateCesNonAdvlAmt>5.00</StateCesNonAdvlAmt>
<OthChrg>10.00</OthChrg>
<TotItemVal>12897.70</TotItemVal>
<OrdLineRef>3256</OrdLineRef>
<OrgCntry>AG</OrgCntry>
<PrdSlNo>12345</PrdSlNo>
<BchDtls>
<Nm>123456</Nm>
</BchDtls>
<AttribDtls>
<Nm>Rice</Nm>
<Val>10000</Val>
</AttribDtls>
</ItemList>
<ValDtls>
<AssVal>9978.84</AssVal>
<CgstVal>0.00</CgstVal>
<SgstVal>0.00</SgstVal>
<IgstVal>1197.46</IgstVal>
<CesVal>508.94</CesVal>
<StCesVal>1202.46</StCesVal>
<Discount>10.00</Discount>
<OthChrg>20.00</OthChrg>
<RndOffAmt>0.30</RndOffAmt>
<TotInvVal>12908.00</TotInvVal>
<TotInvValFc>12897.70</TotInvValFc>
</ValDtls>
<PayDtls>
<Nm>ABCDE</Nm>
<Mode>Cash</Mode>
</PayDtls>
<RefDtls>
<InvRm>TEST</InvRm>
<DocPerdDtls>
<InvStDt>01/08/2020</InvStDt>
<InvEndDt>01/09/2020</InvEndDt>
</DocPerdDtls>
<PrecDocDtls>
<InvNo>DOC/002</InvNo>
<InvDt>01/08/2020</InvDt>
<OthRefNo>123456</OthRefNo>
</PrecDocDtls>
<ContrDtls>
<RecAdvRefr>Doc/003</RecAdvRefr>
<RecAdvDt>01/08/2020</RecAdvDt>
</ContrDtls>
<ContrDtls>
<RecAdvRefr>Doc/103</RecAdvRefr>
<RecAdvDt>02/08/2020</RecAdvDt>
</ContrDtls>
</RefDtls>
<AddlDocDtls/>
<ExpDtls>
<ShipBNo>A-248</ShipBNo>
<ShipBDt>11/08/2020</ShipBDt>
<Port>INABG1</Port>
<RefClm>N</RefClm>
<ForCur>AED</ForCur>
<CntCode>AE</CntCode>
</ExpDtls>
</transaction>
<transaction_id></transaction_id>
</invoice_details>
</eInvoiceTransactionDTOes>
Error - (Dryrun = True)
[
{
"custom_fields": null,
"deleted": false,
"document_status": "DOCUMENT_VALIDATION",
"error_response": null,
"errors": null,
"govt_response": {
"Success": "N",
"ErrorDetails": [
{
"error_code": "300104",
"error_message": "Supply Type is not provided to generate IRN. Please provide a valid supply type as one of [B2B, SEZWP, SEZWOP, EXPWP, EXPWOP]",
"error_source": "CLEARTAX"
}
]
},
"group_id": null,
"gstin": "24AAFCD5862R005",
"is_deleted": false,
"owner_id": null,
"tag_identifier": null,
"transaction": {
"Version": "1.1",
"TranDtls": {
"TaxSch": "GST",
"IgstOnIntra": "N"
},
"DocDtls": {
"Typ": "INV",
"No": "IRNTEST/002",
"Dt": "10/04/2023"
},
"SellerDtls": {
"Gstin": "29AAFCD5862R000",
"LglNm": "NIC company pvt ltd",
"TrdNm": "NIC Industries",
"Addr1": "5th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560103,
"Stcd": "29"
},
"BuyerDtls": {
"Gstin": "29AWGPV7107B1Z1",
"LglNm": "XYZ company pvt ltd",
"TrdNm": "XYZ Industries",
"Pos": "29",
"Addr1": "7th block, kuvempu layout",
"Addr2": "kuvempu layout",
"Loc": "BENGALURU",
"Pin": 560105,
"Stcd": "29"
},
"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"
},
"ItemList": [
{
"SlNo": "1",
"PrdDesc": "SERVICE CHARGES(SMART SUITES) ",
"IsServc": "N",
"HsnCd": "10019920",
"Qty": 1.000,
"FreeQty": 1.000,
"Unit": "OTH",
"UnitPrice": 100.000,
"TotAmt": 100.00,
"Discount": 0.00,
"AssAmt": 100.00,
"GstRt": 18.00,
"IgstAmt": 0.00,
"CgstAmt": 9.00,
"SgstAmt": 9.00,
"CesRt": 0.00,
"CesAmt": 0.00,
"CesNonAdvlAmt": 0.00,
"StateCesRt": 0.00,
"StateCesAmt": 0.00,
"StateCesNonAdvlAmt": 0.00,
"OthChrg": 0.00,
"TotItemVal": 118.00
}
],
"ValDtls": {
"AssVal": 100.00,
"CgstVal": 9.00,
"SgstVal": 9.00,
"IgstVal": 0.00,
"CesVal": 0.00,
"StCesVal": 0.00,
"Discount": 0.00,
"OthChrg": 0.00,
"RndOffAmt": 0.00,
"TotInvVal": 118.00,
"TotInvValFc": 118.00
},
"EwbDtls": {
"TransId": "12AWGPV7107B1Z1",
"TransName": "XYZ EXPORTS",
"TransMode": "1",
"Distance": 100,
"TransDocNo": "Doc01",
"TransDocDt": "10/04/2023",
"VehNo": "ka123456",
"VehType": "R"
}
},
"transaction_id": "24AAFCD5862R005_sumit1234_INV_2023",
"transaction_metadata": null
}
]
For bulk generation, you can send a list of up to 10 Invoice Objects in the same request body.
The invoice you receive in response to this API is the invoice persisted by ClearTax. This may include fields sent by you at the time of generation which may not be part of the invoice returned by the Government.
Last updated