Cancel IRN
You can cancel an IRN by sending a PUT
request to E-Invoicing API with the following request headers.
IRN cannot be cancelled, if the Valid/Active E-way Bill exists for the same.
Request URL
PUT: {{HOST}}/einv/v2/eInvoice/cancel
Request Headers
X-Cleartax-Auth-Token
Header
String
Mandatory. The auth token generated from ClearTax user id and password. Know how.
Content-Type
Header
String
Mandatory. This will always be "application/json" for JSON and "application/xml" for XML.
Accept
Header
String
Optional. This will be "application/xml" if you want the response in XML.
gstin
Header
String
Mandatory. GSTIN number for the user
Request Parameters
irn
String
minLength: 64 maxLength: 64
Mandatory. IRN generated for the invoice.
CnlRsn
String
minLength: 1 maxLength: 1
enum: ["1", "2", "3", "4"]
Mandatory. Reason for cancellation.
1 = Duplicate
2 = Data entry mistake
3 = Order Cancelled
4 = Others
CnlRem
String
minLength: 0 maxLength: 100
Mandatory. Remarks for cancellation.
Sample Request
[
{
"irn": "6ca40d80480362014445a75ea944881f6a31d2b91fc7b88c84e3b250aec447c1",
"CnlRsn": "1",
"CnlRem": "Wrong"
}
]
<?xml version="1.0" encoding="UTF-8" ?>
<cancel_irn_requests>
<cancel_irn_request>
<irn>dc0bf021c9d1180a82443bd29a63abb6935aa15db8c1f399813f68ceb5043dc6</irn>
<CnlRsn>1</CnlRsn>
<CnlRem>Random</CnlRem>
</cancel_irn_request>
</cancel_irn_requests>
For bulk CANCEL, you can send a list of up to 10 Objects in the same request body.
Sample Response
[
{
"custom_fields": null,
"deleted": false,
"document_status": "IRN_CANCELLED",
"error_response": null,
"errors": null,
"govt_response": {
"Success": "Y",
"AckNo": 112310186209758,
"AckDt": "2023-10-26 14:28:00",
"Irn": "1641fc014d8b1b5be859f3f90973ab0fb9307566eaf70b7f272838865bdd8ee3",
"SignedInvoice": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjE1MTNCODIxRUU0NkM3NDlBNjNCODZFMzE4QkY3MTEwOTkyODdEMUYiLCJ4NXQiOiJGUk80SWU1R3gwbW1PNGJqR0w5eEVKa29mUjgiLCJ0eX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": null,
"gstin": "29AAFCD5862R000",
"is_deleted": false,
"owner_id": null,
"tag_identifier": null,
"transaction": {
"Version": "1.1",
"Irn": "1641fc014d8b1b5be859f3f90973ab0fb9307566eaf70b7f272838865bdd8ee3",
"TranDtls": {
"TaxSch": "GST",
"RegRev": "Y",
"SupTyp": "B2B",
"IgstOnIntra": "N"
},
"DocDtls": {
"Typ": "INV",
"No": "WARB2B83",
"Dt": "10/10/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": "9000000",
"Em": "abc@gmail.com"
},
"BuyerDtls": {
"Gstin": "29AAFCD5862R1ZR",
"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": "710692",
"Barcde": "123456",
"Qty": 0.200,
"Unit": "BAG",
"UnitPrice": 100.000,
"TotAmt": 20.00,
"AssAmt": 20.00,
"GstRt": 18.00,
"IgstAmt": 3.60,
"CgstAmt": 0.00,
"SgstAmt": 0.00,
"TotItemVal": 23.60
}
],
"ValDtls": {
"AssVal": 20.00,
"CgstVal": 0.00,
"SgstVal": 0.00,
"IgstVal": 3.60,
"TotInvVal": 23.60,
"TotInvValFc": 12897.70
}
},
"transaction_id": "29AAFCD5862R000_WARB2B83_INV_2023",
"transaction_metadata": null
}
]
<?xml version='1.0' encoding='UTF-8'?>
<eInvoiceTransactionDTOes>
<invoice_details>
<deleted>false</deleted>
<document_status>IRN_CANCELLED</document_status>
<govt_response>
<Success>Y</Success>
<A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I0b93XdywQRtdwN8kKddd3m489KY4q-4KgAMjzxry7pMLWQvJBi49Uby2Ill_N3_RW142VLSwpavH4aIYeBwR-GzgSWYdKgvdAzZnFGf-i7lcOKztVGohg6O3SjJXiMm3fT4Wg7Vhh8WewTT9GIv2rdg5u4m8zt9owcPb6u02aCLi4FMxhuw9osi3SKTi2itWb4ncCAz2uoL-IGsRYeLYWO7AlA</SignedQRCode>
<Status>ACT</Status>
<CancelDate>2023-10-26 14:28:00</CancelDate>
</govt_response>
<gstin>29AAFCD5862R000</gstin>
<is_deleted>false</is_deleted>
<transaction>
<Version>1.1</Version>
<Irn>1641fc014d8b1b5be859f3f90973ab0fb9307566eaf70b7f272838865bdd8ee3</Irn>
<TranDtls>
<TaxSch>GST</TaxSch>
<RegRev>Y</RegRev>
<SupTyp>B2B</SupTyp>
<IgstOnIntra>N</IgstOnIntra>
</TranDtls>
<DocDtls>
<Typ>INV</Typ>
<No>WARB2B83</No>
<Dt>10/10/2023</Dt>
</DocDtls>
<SellerDtls>
<Gstin>29AAFCD5862R000</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>560037</Pin>
<Stcd>29</Stcd>
<Ph>9000000</Ph>
<Em>abc@gmail.com</Em>
</SellerDtls>
<BuyerDtls>
<Gstin>29AAFCD5862R1ZR</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>
<ItemList>
<SlNo>1</SlNo>
<PrdDesc>Rice</PrdDesc>
<IsServc>N</IsServc>
<HsnCd>710692</HsnCd>
<Barcde>123456</Barcde>
<Qty>0.200</Qty>
<Unit>BAG</Unit>
<UnitPrice>100.000</UnitPrice>
<TotAmt>20.00</TotAmt>
<AssAmt>20.00</AssAmt>
<GstRt>18.00</GstRt>
<IgstAmt>3.60</IgstAmt>
<CgstAmt>0.00</CgstAmt>
<SgstAmt>0.00</SgstAmt>
<TotItemVal>23.60</TotItemVal>
</ItemList>
<ValDtls>
<AssVal>20.00</AssVal>
<CgstVal>0.00</CgstVal>
<SgstVal>0.00</SgstVal>
<IgstVal>3.60</IgstVal>
<TotInvVal>23.60</TotInvVal>
<TotInvValFc>12897.70</TotInvValFc>
</ValDtls>
</transaction>
<transaction_id>29AAFCD5862R000_WARB2B83_INV_2023</transaction_id>
</invoice_details>
</eInvoiceTransactionDTOes>
[
{
"custom_fields": null,
"deleted": false,
"document_status": "IRN_CANCELLATION_FAILED",
"error_response": null,
"errors": null,
"govt_response": {
"ewbStatus": "FAILED",
"Success": "N",
"ErrorDetails": [
{
"error_code": "9999",
"error_message": "Invoice is not active",
"error_source": "GOVT"
}
]
},
"group_id": null,
"gstin": "29AAFCD5862R000",
"is_deleted": false,
"owner_id": "2e74ec05-e37b-4b75-a947-add6f67540b7",
"tag_identifier": null,
"transaction": {
"Version": "1.1",
"TranDtls": {
"TaxSch": "GST",
"RegRev": "Y",
"SupTyp": "B2B",
"IgstOnIntra": "N"
},
"DocDtls": {
"Typ": "INV",
"No": "DyuYRIC/007",
"Dt": "12/12/2020"
},
"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": "1001",
"Barcde": "123456",
"Qty": 100.345,
"FreeQty": 10.0,
"Unit": "BAG",
"UnitPrice": 99.545,
"TotAmt": 9988.84,
"Discount": 10.00,
"PreTaxVal": 1.00,
"AssAmt": 9978.84,
"GstRt": 12.00,
"IgstAmt": 1197.46,
"CgstAmt": 0.00,
"SgstAmt": 0.00,
"CesRt": 5.00,
"CesAmt": 498.94,
"CesNonAdvlAmt": 10.00,
"StateCesRt": 12.00,
"StateCesAmt": 1197.46,
"StateCesNonAdvlAmt": 5.00,
"OthChrg": 10.00,
"TotItemVal": 12897.70,
"OrdLineRef": "3256",
"OrgCntry": "AG",
"PrdSlNo": "12345",
"BchDtls": {
"Nm": "123456"
},
"AttribDtls": [
{
"Nm": "Rice",
"Val": "10000"
}
]
}
],
"ValDtls": {
"AssVal": 9978.84,
"CgstVal": 0.00,
"SgstVal": 0.00,
"IgstVal": 1197.46,
"CesVal": 508.94,
"StCesVal": 1202.46,
"Discount": 10.00,
"OthChrg": 20.00,
"RndOffAmt": 0.30,
"TotInvVal": 12908.00,
"TotInvValFc": 12897.70
},
"PayDtls": {
"Nm": "ABCDE",
"Mode": "Cash"
},
"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"
}
]
},
"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",
"TransMode": "1",
"Distance": 100,
"TransDocNo": "DOC01",
"TransDocDt": "30/11/2020",
"VehNo": "ka123456",
"VehType": "R"
}
},
"transaction_id": "29AAFCD5862R000_DyuYRIC/007_INV_2020",
"transaction_metadata": null
}
]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<eInvoiceTransactionDTOes>
<invoice_details>
<owner_id>c804031b-d8ef-4215-bb3e-1b27d3e38943</owner_id>
<gstin>29AAFCD5862R000</gstin>
<transaction>
<Version>1.1</Version>
<TranDtls>
<TaxSch>GST</TaxSch>
<RegRev>Y</RegRev>
<SupTyp>B2B</SupTyp>
<IgstOnIntra>N</IgstOnIntra>
</TranDtls>
<DocDtls>
<Typ>INV</Typ>
<No>DOCTEST02200</No>
<Dt>02/09/2020</Dt>
</DocDtls>
<SellerDtls>
<Gstin>29AAFCD5862R000</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>560027</Pin>
<Stcd>29</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.0</FreeQty>
<Unit>BAG</Unit>
<UnitPrice>99.545</UnitPrice>
<TotAmt>9988.84</TotAmt>
<Discount>10</Discount>
<PreTaxVal>1</PreTaxVal>
<AssAmt>9978.84</AssAmt>
<GstRt>12.000</GstRt>
<IgstAmt>1197.46</IgstAmt>
<CgstAmt>0</CgstAmt>
<SgstAmt>0</SgstAmt>
<CesRt>5.000</CesRt>
<CesAmt>498.94</CesAmt>
<CesNonAdvlAmt>10</CesNonAdvlAmt>
<StateCesRt>12.000</StateCesRt>
<StateCesAmt>1197.46</StateCesAmt>
<StateCesNonAdvlAmt>5</StateCesNonAdvlAmt>
<OthChrg>10</OthChrg>
<TotItemVal>12897.7</TotItemVal>
<OrdLineRef>3256</OrdLineRef>
<OrgCntry>AG</OrgCntry>
<PrdSlNo>12345</PrdSlNo>
<BchDtls>
<Nm>123456</Nm>
<ExpDt>01/08/2020</ExpDt>
<WrDt>01/09/2020</WrDt>
</BchDtls>
<AttribDtls>
<Nm>Rice</Nm>
<Val>10000</Val>
</AttribDtls>
</ItemList>
<ValDtls>
<AssVal>9978.84</AssVal>
<CgstVal>0</CgstVal>
<SgstVal>0</SgstVal>
<IgstVal>1197.46</IgstVal>
<CesVal>508.94</CesVal>
<StCesVal>1202.46</StCesVal>
<Discount>10</Discount>
<OthChrg>20</OthChrg>
<RndOffAmt>0.3</RndOffAmt>
<TotInvVal>12908</TotInvVal>
<TotInvValFc>12897.7</TotInvValFc>
</ValDtls>
<PayDtls>
<Nm>ABCDE</Nm>
<Mode>Cash</Mode>
<PayTerm>100</PayTerm>
<PayInstr>Gift</PayInstr>
<CrTrn>test</CrTrn>
<DirDr>test</DirDr>
<CrDay>100</CrDay>
<PaidAmt>10000</PaidAmt>
<PaymtDue>5000</PaymtDue>
</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>
<RecAdvRef>Doc/003</RecAdvRef>
<RecAdvDt>01/08/2020</RecAdvDt>
</ContrDtls>
</RefDtls>
<AddlDocDtls>
<Url>https://einv-apisandbox.nic.in</Url>
<Docs>Test Doc</Docs>
<Info>Document Test</Info>
</AddlDocDtls>
<ExpDtls>
<ShipBNo>A-248</ShipBNo>
<ShipBDt>01/08/2020</ShipBDt>
<Port>INABG1</Port>
<RefClm>N</RefClm>
<ForCur>AED</ForCur>
<CntCode>AE</CntCode>
</ExpDtls>
<EwbDtls>
<TransId>12AWGPV7107B1Z1</TransId>
<TransName>XYZ EXPORTS</TransName>
<TransMode>1</TransMode>
<Distance>100</Distance>
<TransDocNo>DOC01</TransDocNo>
<TransDocDt>28/08/2020</TransDocDt>
<VehNo>ka123456</VehNo>
<VehType>R</VehType>
</EwbDtls>
</transaction>
<document_status>IRN_CANCELLATION_FAILED</document_status>
<govt_response>
<Success>N</Success>
<ErrorDetails>
<error_code>9999</error_code>
<error_message>Invoice is not active</error_message>
<error_source>GOVT</error_source>
</ErrorDetails>
</govt_response>
</invoice_details>
</eInvoiceTransactionDTOes>
Last updated