Cancel E-invoice (SOAP)

NameDescription

Name URL

Method Type

Post

Post Parameters (JSON Format)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:server"> <soapenv:Header/> <soapenv:Body> <urn:eInvoiceCancel> <access_token>b29cee2156282be62f51b24fe8b3f07f01c9bff1</access_token> <user_gstin>09AAAPG7885R002</user_gstin> <irn>1e6a362ea4c893cf0d6a8254c2d7862778fa19dcc091304ac220a13412e1ccae</irn> <cancel_reason>1</cancel_reason> <cancel_remarks>Wrong entry</cancel_remarks> </urn:eInvoiceCancel> </soapenv:Body></soapenv:Envelope>

Success Response

<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/"> SOAP-ENV:Body <ns1:eInvoiceCancelResponse xmlns:ns1="urn:server"> 1e6a362ea4c893cf0d6a8254c2d7862778fa19dcc091304ac220a13412e1ccae 2021-06-01 20:30:00 0 Success 200 </ns1:eInvoiceCancelResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

Error Response

<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/"> SOAP-ENV:Body <ns1:eInvoiceCancelResponse xmlns:ns1="urn:server"> 1 2143: Invoice does not belongs to the user GSTIN Failed 204 </ns1:eInvoiceCancelResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

Last updated