> For the complete documentation index, see [llms.txt](https://docs.mastersindia.co/e-invoicing-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mastersindia.co/e-invoicing-api/cancel-irn/cancel-e-invoice-soap.md).

# Cancel E-invoice (SOAP)

{% embed url="<https://www.mastersindia.co/contact-us/?products=E-Invoicing%20API>" %}

<table><thead><tr><th width="171.33333333333331">Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name URL</strong>    </td><td><a href="http://staging-soapapi.mastersindia.co/api.einvoice.php?wsdl">http://staging-soapapi.mastersindia.co/api.einvoice.php?wsdl</a></td></tr><tr><td><strong>Method Type</strong></td><td>Post</td></tr><tr><td><strong>Post Parameters (JSON Format)</strong></td><td>&#x3C;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:server">   &#x3C;soapenv:Header/>   &#x3C;soapenv:Body>      &#x3C;urn:eInvoiceCancel>         &#x3C;access_token>b29cee2156282be62f51b24fe8b3f07f01c9bff1&#x3C;/access_token>         &#x3C;user_gstin>09AAAPG7885R002&#x3C;/user_gstin>         &#x3C;irn>1e6a362ea4c893cf0d6a8254c2d7862778fa19dcc091304ac220a13412e1ccae&#x3C;/irn>         &#x3C;cancel_reason>1&#x3C;/cancel_reason>         &#x3C;cancel_remarks>Wrong entry&#x3C;/cancel_remarks>      &#x3C;/urn:eInvoiceCancel>   &#x3C;/soapenv:Body>&#x3C;/soapenv:Envelope><br></td></tr><tr><td><strong>Success Response</strong></td><td>&#x3C;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <a href="SOAP-ENV:Body">SOAP-ENV:Body</a> &#x3C;ns1:eInvoiceCancelResponse xmlns:ns1="urn:server"> 1e6a362ea4c893cf0d6a8254c2d7862778fa19dcc091304ac220a13412e1ccae 2021-06-01 20:30:00 0 Success <code>200</code> &#x3C;/ns1:eInvoiceCancelResponse> &#x3C;/SOAP-ENV:Body> &#x3C;/SOAP-ENV:Envelope></td></tr><tr><td><strong>Error Response</strong></td><td>&#x3C;SOAP-ENV:Envelope SOAP-ENV:encodingStyle="Cancel E-Invoice" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <a href="SOAP-ENV:Body">SOAP-ENV:Body</a> &#x3C;ns1:eInvoiceCancelResponse xmlns:ns1="urn:server"> 1 2143: Invoice does not belongs to the user GSTIN Failed <code>204</code> &#x3C;/ns1:eInvoiceCancelResponse> &#x3C;/SOAP-ENV:Body> &#x3C;/SOAP-ENV:Envelope></td></tr></tbody></table>

{% embed url="<https://www.mastersindia.co/contact-us/?products=E-Invoicing%20API>" %}
