Supported scenarios on the test environment simulator for cancelations

The content of this page applies only to the test environment. We try to replicate things as accurately as possible in the test environment, however, the authority can modify behavior without previous notice.

On December 27, 2021, the Official Diary of the Federation published in the evening edition, the Fiscal Miscellaneous Resolution and its Annex 19. This Resolution updated the scenarios to consider a CFDI as cancelable without acceptance through rule 2.7.1.35 (CFDI cancelation without the recipient's acceptance)

Inside the simulator, we manage the following times to agile the tests. 

Event Simulated time Real time
Issue of CFDI 24 hours 5 minutes
Wait for the response from the Recipient 24 hours 5 minutes


What do these times mean? If you issue a CFDI on November 3rd at 11 am (on the attribute Fecha (date) you will have 2021-11-03T11:00:00), in production we will have until November 4th at 11 am to consider this invoice as Cancelable without acceptance, but in the simulator, you will have until 11:05 am of the same day November 3rd.

You can consult more about the new cancelation scheme through the following link in our blog.

The simulator does not have considerations for non-working days programmed, it treats every day as a labor day.

Content

1. Direct Cancelation

The direct cancelation is the most similar scenario to the cancelation scheme that we had before November 1, on this scenario, you don't request authorization from the recipient to perform the cancelation. Some of these scenarios that allow direct cancelation are:

  • CFDIs supporting incomes for an amount of $1000.00 (one thousand pesos 00/100)
  • Payroll Invoices
  • Egress CFDI
  • Transfer CFDI
  • Retention and Payment Information CFDI
  • Operations for the general public
  • Invoice through the acquiring and primary sector
  • Cancelation in the following 3 days of the issuance
  • CFDI issued by members of the financial system

A proof of Direct Cancelation can be performed through a CFDI for an income lesser than one thousand pesos:

<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2021-10-28T00:00:00" Serie="CD" Folio="1" FormaPago="02" SubTotal="100.00" Moneda="MXN" Total="116.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="20001000000300022816" Certificado="MIIF0TCCA7mgAwIBAgIUMjAwMDEwMDAwMDAzMDAwMjI4MTYwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQ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OlcjrnMTr/amjQNNGKaW6JnGSJuRWlgFhUXbS3FTYLQ1pZxqTXeIdPwW/2ja6riRkrvAmiTS191yPgIBUa8GknndY91v4k2MThgVQcEJaJTWAw==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:Emisor Rfc="LAN8507268IA" RegimenFiscal="601" />
  <cfdi:Receptor Rfc="BAJF541014RB3" UsoCFDI="P01" />
  <cfdi:Conceptos>
	<cfdi:Concepto ClaveProdServ="84111506" Cantidad="1" ClaveUnidad="ACT" Descripcion="Anticipo del bien o servicio" ValorUnitario="100.00" Importe="1000.00">
	  <cfdi:Impuestos>
		<cfdi:Traslados>
		  <cfdi:Traslado Base="100.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="16.00" />
		</cfdi:Traslados>
	  </cfdi:Impuestos>
	</cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="16.00">
	<cfdi:Traslados>
	  <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="16.00" />
	</cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
	<tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="88BF7117-ABD2-4999-9A6E-231FCD8989BD" FechaTimbrado="2018-11-28T16:47:39" RfcProvCertif="ASE0201179X0" SelloCFD="FnknsZ1wC53S2Y9YFVtV5pdmPR7PKrmkaAmng4dH8AHxim15tr1/GCq46lX6ABuXYAaz5XvqF6H+PTIwSJQeLJEUHZyt3jMFkXXuOYlyOT6jU37I7JSL8p+fuHMD+YIFSlGUHCESjvjc3xbJKGfgbNAa9f9MgwwhPzCivDdbLl9eAiaN9nlAu7HBuqswMbihvLIbHJ4uWQoAFc+NM3zNDObDhUIgnRCDBeJkuhfVOlcjrnMTr/amjQNNGKaW6JnGSJuRWlgFhUXbS3FTYLQ1pZxqTXeIdPwW/2ja6riRkrvAmiTS191yPgIBUa8GknndY91v4k2MThgVQcEJaJTWAw==" NoCertificadoSAT="30001000000300036825" SelloSAT="U+vMyHWuqFqmIiGfzZlBWgzo0TwLwN4uiEC9SxGFJs4hxfEjmrNOPQj3RzksRbnFtzeyiFSNPLE7VXeUcnd1YFMYYCW6KZpeuP6RI2WKw34vZERvYPd8acycpiGQt5pP7h4Vrwgf9pLK4hK7426cD/5bmH01+ozgApsRsqK6CG9tFG9nV+l8WLA2zuGoSdbNwx8UZYDOBt6nGTZljSJABBCnTkBZ8EowqY1FU+/9IJON71JGiqK9ZCsoUwLCV4gbY/YfTzcXKkEZa6ttKzVqraYPJsX61R0/pHVj+uWfXmmS176d2/mYF6j+l9XTrnJMZfAFMJ0Xq1N2+gdRoR7HJg==" />
  </cfdi:Complemento>
</cfdi:Comprobante>

Once the CFDI has been stamped, you must verify that it is in the SAT.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>116.00</urn:Total>
         <urn:Uuid>88BF7117-ABD2-4999-9A6E-231FCD8989BD</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>3699b25a-0601-4d70-b45f-1576905aa74d</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable sin aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

You can proceed with the cancelation request when you know the CFDI has been delivered to the SAT and that is cancelable.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>88BF7117-ABD2-4999-9A6E-231FCD8989BD</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2018-11-28T16:55:45.1938429-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>88bf7117-abd2-4999-9a6e-231fcd8989bd</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>e7DzO8e97DTisMlPBkLsB93NkRY=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>ahSOcBRbZ8gqdXW2+nXauIZT9f89rk7173nCG7cGGEaYegRpg4gYjksXrFJ/STTzVEiY97wh19qs1p7Q47iYKZVCIU2OQOSkbASUl6K06ye4zEnd5Bg94O36/o3NdXu/O5pk/mL97eqPc9RNyySu+4xwhboGSLrtdg+pvKUdqq63UNRIPBmrbSm2UaRQ6pZH47H40sNZCAs7vRUPRpl8labJf57Yo0YTskpuHVj3g44z4lWi/kadwB/fQNYQ5Mpx7qQOrzxwAjHZfewOPTHj+/ykFABp8sY8cXwS+D+2TQEUT9ucm2JQZ2rep/xoY0lF5FdfWXKW7OGVbEekptiAZA==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>88bf7117-abd2-4999-9a6e-231fcd8989bd</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Cancelación satisfactoria.</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

To confirm that the invoice has a cancelation request you must consult the invoice status again.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>116.00</urn:Total>
         <urn:Uuid>88BF7117-ABD2-4999-9A6E-231FCD8989BD</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>0ef34073-2bd5-4378-b083-b29b56e0516f</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable sin aceptación</EsCancelable>
            <Estado>Cancelado</Estado>
            <EstatusCancelacion>Cancelado sin Aceptación</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

2. Acceptance of Cancelation

The cancelation with acceptance is the new scenario for the cancelation scheme. The issuer of the CFDI requests its cancelation and the recipient must accept or reject the cancelation based on the CFDI features or the time of the cancelation. In this scenario, the recipient accepts the cancelation.

A test of Cancelation with Acceptance can be performed with a CFDI with an income greater than one thousand pesos:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:pacservices:6.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:EmitirComprobanteRequest>
         <urn:Comprobante><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2018-12-10T10:00:24" Serie="CFDI" Folio="20181024-1" FormaPago="02" SubTotal="8620.69" Moneda="MXN" Total="10000.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="30001000000300023708" Certificado="MIIF+TCCA+GgAwIBAgIUMzAwMDEwMDAwMDAzMDAwMjM3MDgwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi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/cfdv33.xsd">
  <cfdi:Emisor Rfc="AAA010101AAA" Nombre="Nueva Factura, S.A. de C.V." RegimenFiscal="601" />
  <cfdi:Receptor Rfc="LAN7008173R5" UsoCFDI="P01" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="84111506" Cantidad="1" ClaveUnidad="ACT" Descripcion="Anticipo del bien o servicio" ValorUnitario="8620.69" Importe="8620.69">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="8620.69" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="1379.31">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
</cfdi:Comprobante>]]></urn:Comprobante>
      </urn:EmitirComprobanteRequest>
   </soapenv:Body>
</soapenv:Envelope>

Once the CFDI has been stamped, you must verify is in the SAT:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>AAA010101AAA</urn:RfcEmisor>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>E8358D5C-260F-40FD-8962-CD9C3E78C76D</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>648a4d30-414d-430e-bd61-8f5cfbfcf1c6</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

The CFDI has been delivered to the SAT and it is cancelable, so we proceed with the cancelation request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>E8358D5C-260F-40FD-8962-CD9C3E78C76D</urn:guid>
         </urn:Folios>
         <urn:RFC>AAA010101AAA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="AAA010101AAA" Fecha="2018-12-10T18:10:09.3904441-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>e8358d5c-260f-40fd-8962-cd9c3e78c76d</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>t3oc3L3Z7e7XfWAEG8QPNQADHcE=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>FDuYQ6LITwMwtDOfFa4zycIeQpMsTCkMwmLFfeBGrxFQuJiDWt3ztCDeSBojnHrvohQW2PZKNNiVuEJNFRwsYGfV2xTSPRSNlEcnKIqntFKQP8bbaZCh8j1gBqq0/o4Iy+4t4oIsCXcZHgLVyCvNr0Ge7y4iSm6V9mpTDtsmxaKgVt83+7RgGn29Gz5veoGIpA/K3KGtYE3McD5ZsVp8rzX6VqeDTU1MvWMJfIRUEWQ73yX6TFO4RifsF6oAo1F3cKvftVFBgOI+rgiJnP2RfxvYgeVcg5tM+9VuqD1zqHV890bnpJKL+MtEL6and4OGbwjajeqLNSBgv1e56Bf15A==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>e8358d5c-260f-40fd-8962-cd9c3e78c76d</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Cancelación satisfactoria.</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

To confirm that the invoice has a cancelation request you must consult the invoice status again.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>AAA010101AAA</urn:RfcEmisor>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>E8358D5C-260F-40FD-8962-CD9C3E78C76D</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>b4ab00a9-4043-4da7-81c1-d69f40e28022</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>En Proceso</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

As a Recipient, you can consult the cancelation requests that need a response (Acceptance or Rejection):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>672477ea-3e0b-4c3f-bf59-dfb2b062e072</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1100">
            <UUID>
               <guid>e8358d5c-260f-40fd-8962-cd9c3e78c76d</guid>
            </UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

When there are pending cancelation request for acceptance/rejection, you can specify a response. In this scenario, the Cancelation is accepted:

The only values allowed are Aceptacion (acceptance) or Rechazo (rejection). For acceptance, we use the word Aceptacion with no stress sign (´).
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:tem="http://tempuri.org/">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <tem:CancelacionAceptacionRechazoRequest>
         <tem:Rfc>LAN7008173R5</tem:Rfc>
         <tem:Folios>
            <tem:SolicitudAceptacionRechazoFolios>
               <tem:UUID>E8358D5C-260F-40FD-8962-CD9C3E78C76D</tem:UUID>
               <tem:Respuesta>Aceptacion</tem:Respuesta>
            </tem:SolicitudAceptacionRechazoFolios>
         </tem:Folios>
      </tem:CancelacionAceptacionRechazoRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionAceptacionRechazoResponse xmlns="http://tempuri.org/">
         <TransactionId>69e5b8f6-7dc6-4881-96c3-f281cc23926c</TransactionId>
         <Result><![CDATA[<?xml version="1.0"?>
<AcuseAceptacionRechazo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CodEstatus="1000" Fecha="2018-12-10T18:12:12.6558352-06:00" RfcReceptor="LAN7008173R5" RfcPac="ASE0201179X0">
  <Folios Respuesta="Aceptacion" xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>E8358D5C-260F-40FD-8962-CD9C3E78C76D</UUID>
    <EstatusUUID>1000</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>ph3CBo7b5g7E5KRpQ0fc1hr65To=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>MlPZG5IFI2Jhc/nhYLODaWTwAOnEKTY5ip1A7ZoP4hASj7SlvcO5FF1KbbXegOvXdXPjq1UfjKbXbCxKimXCq+4CF5QYIQRrMkYmwr2kNq8d3nEE+S0f+BYfHCxulVzI+F1Ssv4LLllTTb8/35D8rOTmDAXr9j+kIROxwhfAg8J1uNQcSEdL0w8LM6IBnNMCtWsRJCLO6ig3ezgiq7IPqRbfEL/jkGLXWbfzF1uvUXk/FaqxWiYCq0e7Vy/C6kjW49CZIledigOsh6gmf1nfx/fj78nBjfnlaMX6bKNyoW6m2TVqU9s793okuqMiGArP1lrtFFJiQAnlifJPA+t27A==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</AcuseAceptacionRechazo>]]></Result>
         <SATDetailResponse>
            <SATDetailResponse>
               <FolioFiscal>E8358D5C-260F-40FD-8962-CD9C3E78C76D</FolioFiscal>
               <ResultCode>1000</ResultCode>
               <ResultMessage>Respuesta Exitosa</ResultMessage>
            </SATDetailResponse>
         </SATDetailResponse>
         <TransactionProperties/>
      </CancelacionAceptacionRechazoResponse>
   </s:Body>
</s:Envelope>

To confirm that the invoice has been canceled you must consult the invoice status again.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>AAA010101AAA</urn:RfcEmisor>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>E8358D5C-260F-40FD-8962-CD9C3E78C76D</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>d2894a7b-aa85-4e5a-b0df-9346d175c2db</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Cancelado</Estado>
            <EstatusCancelacion>Cancelado con Aceptación</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

3. Rejection of Cancelation

The cancelation with rejection is another result we can get in the new cancelation scheme. It occurs when the issuer of the CFDI requests the cancelation, based on the CFDI features or the time of the cancelation. The recipient of the CFDI must accept or reject the cancelation. On the Cancelation, with Rejection, the Recipient rejects the cancelation request.

A test of the Rejection of Cancelation can be performed with a CFDI of an income greater than one thousand pesos:

<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2018-12-10T12:10:00" Serie="CFDI" Folio="20181210-1" FormaPago="02" SubTotal="8620.69" Moneda="MXN" Total="10000.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="30001000000300023708" Certificado="MIIF+TCCA+GgAwIBAgIUMzAwMDEwMDAwMDAzMDAwMjM3MDgwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi5teDEmMCQGA1UECQwdQXYuIEhpZGFsZ28gNzcsIENvbC4gR3VlcnJlcm8xDjAMBgNVBBEMBTA2MzAwMQswCQYDVQQGEwJNWDEZMBcGA1UECAwQRGlzdHJpdG8gRmVkZXJhbDESMBAGA1UEBwwJQ295b2Fjw6FuMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxITAfBgkqhkiG9w0BCQIMElJlc3BvbnNhYmxlOiBBQ0RNQTAeFw0xNzA1MTgwMzU0NTZaFw0yMTA1MTgwMzU0NTZaMIHlMSkwJwYDVQQDEyBBQ0NFTSBTRVJWSUNJT1MgRU1QUkVTQVJJQUxFUyBTQzEpMCcGA1UEKRMgQUNDRU0gU0VSVklDSU9TIEVNUFJFU0FSSUFMRVMgU0MxKTAnBgNVBAoTIEFDQ0VNIFNFUlZJQ0lPUyBFTVBSRVNBUklBTEVTIFNDMSUwIwYDVQQtExxBQUEwMTAxMDFBQUEgLyBIRUdUNzYxMDAzNFMyMR4wHAYDVQQFExUgLyBIRUdUNzYxMDAzTURGUk5OMDkxGzAZBgNVBAsUEkNTRDAxX0FBQTAxMDEwMUFBQTCC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0Utmc5fnoBTfM9r2zVKmEi6FUeJ1iaDaVNv47te9iS1ai4V4vBY8r" Sello="k9YuiWhsoTUHHphEjsT3DwCIQadd/0Vm8lpX1uy1E8xbVTOw54SVTzJGFUJItOrExXcyBpBNgM+5A3KE9g2ik+HKclEc1gjzXusztaLwkSpvamx5fy1G9SJRyry1gErtB5nmkSsXbmwJGEiihs0y54Ho9sWL5fxAv3wfUloTVKfbeyIDpzdAZ5OvYnjRRUOft2OlU0HNBGFoj3G7B4yQpft/whk1e4e0smpdisj9TC8euHU0HEJVTAC5wHaP/WJM8P6XjXg2zK3QZZEt5BzhlrQ11KVSdPMcV+ckJ9vnq1ojS+WtXJA7djpTF+IfGIh0XRnAHO9hJcszWGLcsN0zjQ==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:Emisor Rfc="AAA010101AAA" Nombre="Nueva Factura, S.A. de C.V." RegimenFiscal="601" />
  <cfdi:Receptor Rfc="LAN7008173R5" UsoCFDI="P01" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="84111506" Cantidad="1" ClaveUnidad="ACT" Descripcion="Anticipo del bien o servicio" ValorUnitario="8620.69" Importe="8620.69">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="8620.69" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="1379.31">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
    <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="98749272-C578-45CB-8D3B-7E6B945B6485" FechaTimbrado="2018-12-10T19:12:45" RfcProvCertif="ASE0201179X0" SelloCFD="k9YuiWhsoTUHHphEjsT3DwCIQadd/0Vm8lpX1uy1E8xbVTOw54SVTzJGFUJItOrExXcyBpBNgM+5A3KE9g2ik+HKclEc1gjzXusztaLwkSpvamx5fy1G9SJRyry1gErtB5nmkSsXbmwJGEiihs0y54Ho9sWL5fxAv3wfUloTVKfbeyIDpzdAZ5OvYnjRRUOft2OlU0HNBGFoj3G7B4yQpft/whk1e4e0smpdisj9TC8euHU0HEJVTAC5wHaP/WJM8P6XjXg2zK3QZZEt5BzhlrQ11KVSdPMcV+ckJ9vnq1ojS+WtXJA7djpTF+IfGIh0XRnAHO9hJcszWGLcsN0zjQ==" NoCertificadoSAT="20001000000300022323" SelloSAT="ckk/nypTnlRW3v+yD/Oke7L4Qm/z/ivqWgUe6g/DcnC6FocjePvZ+RrgHvkoczWRbYPxE7Jk2whYSnVfEMsiZRSF3VzcKoaMUOBbcG3u3G43Y9/eHmHsCzOsHiGB92sBl9VN1mRfPtv2rOl7XP9lngWX7dIYodLLPgfLHsG4k19FgIdfGoRCgnyjvLX1fCeKx16dEFEJb64YItCNwVvK1JkKGOL0ESD7NBqEku7seDnSs574QSXWX3CTbRHMGfR17WkjxaV4dpe4tQyq3J0AsRIYNnb9JxNjLYMCSTzmnsL7E31HEFwhDb3hzHCXVu3htLDCFI78KeZf7ft7CC3GQA==" />
  </cfdi:Complemento>
</cfdi:Comprobante>

Once the CFDI has been stamped, you must verify that is in the SAT.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>AAA010101AAA</urn:RfcEmisor>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>98749272-C578-45CB-8D3B-7E6B945B6485</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>110ea179-607e-4579-a99f-b6bee140f6f3</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

The CFDI has been delivered to the SAT and can be canceled, so we proceed with the cancelation request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>98749272-C578-45CB-8D3B-7E6B945B6485</urn:guid>
         </urn:Folios>
         <urn:RFC>AAA010101AAA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="AAA010101AAA" Fecha="2018-12-10T19:21:10.9606852-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>98749272-c578-45cb-8d3b-7e6b945b6485</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>M93oq2POOW9yf5R7Msg2/CbayPE=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>GFGkTSqLZV/8m7QdTsCNAEPCEXwsptCLPxD4oK3koqvCbAxaE9EakWsrqr7ILwYfKIXttWUd7qSF6UhreKOol067wPPA1fW4d6dO4e6Gek2ETb6k8qPBfZ1joMLWbT+FL4M4FNg3g+ENS2BDzR65XKw1lsrudHu41hYS+Lj3beb6JM5ixMkDnQhSQ47JCVPVRU5c3rpeM4eXHna4e93AmNBsfrZ6NhQmmUXJSSm0Xp3Yo0hmYBUbiQIJYmrOAJWLts3i/5A7xFTGfNByA8VraW5tX+yl5L7+OC1PiMY3jJQQNI8YqV3CPfKYtW985dAQPWZkFijjBt13ny7yYYLdrw==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>98749272-c578-45cb-8d3b-7e6b945b6485</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Cancelación satisfactoria.</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

To verify the invoice has a cancelation request, you must consult the invoice’s status.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>AAA010101AAA</urn:RfcEmisor>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>98749272-C578-45CB-8D3B-7E6B945B6485</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>de013c61-9cb7-49ff-9e51-d4464d22890d</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>En Proceso</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

As recipient you can consult the cancelation requests that need a response (acceptance or rejection)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>2528ba2f-32ca-4117-90f4-a2e35f32ff4a</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1100">
            <UUID>
               <guid>98749272-c578-45cb-8d3b-7e6b945b6485</guid>
            </UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

You can deliver a response when you know there are requests pending a cancelation response. For this scenario you will reject the cancelation request:

The only values allowed are Aceptacion (acceptance) or Rechazo (rejection). For rejections, we use the word Rechazo.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:tem="http://tempuri.org/">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <tem:CancelacionAceptacionRechazoRequest>
         <tem:Rfc>LAN7008173R5</tem:Rfc>
         <tem:Folios>
            <tem:SolicitudAceptacionRechazoFolios>
               <tem:UUID>98749272-C578-45CB-8D3B-7E6B945B6485</tem:UUID>
               <tem:Respuesta>Rechazo</tem:Respuesta>
            </tem:SolicitudAceptacionRechazoFolios>
         </tem:Folios>
      </tem:CancelacionAceptacionRechazoRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionAceptacionRechazoResponse xmlns="http://tempuri.org/">
         <TransactionId>053e2dcc-93e6-40ad-93db-615f0acb0590</TransactionId>
         <Result><![CDATA[<?xml version="1.0"?>
<AcuseAceptacionRechazo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CodEstatus="1000" Fecha="2018-12-10T19:26:51.0687085-06:00" RfcReceptor="LAN7008173R5" RfcPac="ASE0201179X0">
  <Folios Respuesta="Rechazo" xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>98749272-C578-45CB-8D3B-7E6B945B6485</UUID>
    <EstatusUUID>1000</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>zqUX3rTv/eozzK7uuVCQgYE2S+M=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>d9dw0/qq0ckYiUjwrjwjwtBe+Wb3LDYKSSRCWYjWe4Gx8k5HAf3gQ6u2BpP2FeOEoG/2iAToRQX8cqIoBb37oQVEiqSL0xiyJsG5EFuEsHtopFMNNiJKwdyF/GfG3tqTsN9fKjA5dvrxpQzrhNeOwS8364bACUJSQJGH6zOpj/mGXwa3gk242OyoNrPbuZOjA1LHFALbQ7rxupVZJi1zpsNIQDCOWdXeP3MfKckUNj61HmWu0hGgGZhvoARq4RaQ1jh+oLylxFdKurXhL8ttPhFwDiaJbQSReU4IczN6r8WgsEB0F8k/9ZYyxhUfcwpOzESno99BprwuFcegGmn5zg==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</AcuseAceptacionRechazo>]]></Result>
         <SATDetailResponse>
            <SATDetailResponse>
               <FolioFiscal>98749272-C578-45CB-8D3B-7E6B945B6485</FolioFiscal>
               <ResultCode>1000</ResultCode>
               <ResultMessage>Respuesta Exitosa</ResultMessage>
            </SATDetailResponse>
         </SATDetailResponse>
         <TransactionProperties/>
      </CancelacionAceptacionRechazoResponse>
   </s:Body>
</s:Envelope>

To validate that the CFDI was not canceled, you must consult the Invoice Status.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>AAA010101AAA</urn:RfcEmisor>
         <urn:RfcReceptor>LAN7008173R5</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>98749272-C578-45CB-8D3B-7E6B945B6485</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>dc35e0c5-bb46-4b49-9d73-5b2cdd4643c5</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>Solicitud Rechazada</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

4. Cancelation of Related Documents

In this new cancelation scheme, if a CFDI is related to other CFDIs, this can no longer be canceled unless the related CFDIs are also canceled. An example of this scenario is:

  • When you generate an Income CFDI for a down payment of a good or service for a total of $10,000.00
  • When you generate an Income CFDI for a Good or Service for a total of $464,000.00. this income CFDI is related to the down payment CFDI through the section CfdiRelacionados (Related CFDIs) and the key 07 (CFDI for down-payment).
  • When you generate an egress CFDI on the down payment of the good or service application for a total of $10,000.00

The related CFDIs are:

<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2018-12-10T12:10:01" Serie="CFDI" Folio="20181210-1" FormaPago="02" SubTotal="8620.69" Moneda="MXN" Total="10000.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="20001000000300022816" Certificado="MIIF0TCCA7mgAwIBAgIUMjAwMDEwMDAwMDAzMDAwMjI4MTYwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi5teDEmMCQGA1UECQwdQXYuIEhpZGFsZ28gNzcsIENvbC4gR3VlcnJlcm8xDjAMBgNVBBEMBTA2MzAwMQswCQYDVQQGEwJNWDEZMBcGA1UECAwQRGlzdHJpdG8gRmVkZXJhbDESMBAGA1UEBwwJQ295b2Fjw6FuMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxITAfBgkqhkiG9w0BCQIMElJlc3BvbnNhYmxlOiBBQ0RNQTAeFw0xNjEwMjUyMTU0MTla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dxxyvpA51DIWdoxvwaOiz1bzZk6ElVY2rfxwyZaJ17cJ1jmS4Yb5P4h8+5zkmZnPmRqfmaVO3nsApLWP6A38ZBrwwss429PJMSpfeXKGysPsqwF0yP3blsM7Cw53393LSHGKNm2GgG0kcrHnbbku6z6fjBdXMQQ5vjPuMNyw/pe3PzQLVoNOrD5AOoZmSG2TI3DtY4edLdiGmNQjo3MmAMMq4s7lr4AELPWAZRbnOlD1nEWGLdRp1mViteDvXwBL9E98EB4K9xK21DvgJ6rzw/D9rX6epeANfoXazWC0iCYcBNXiPikApcW73a/Jl/WjkEwEdkL/jLj0KCep58=" Sello="h64U43wVymtc0X+hb8oij73JgyAMM4V46Y7BkZzjfuR8v0j7GsTNl5+uFobc8zs4CjrbTRxqerLjcaYUGNo3mE3Fv5xdiiz9CxdqlFEoLTaDz7lqLEfQRei7nH2NaBkaZ2HmgDDCIZTXUvxjnh56q7Q7Nwtf72bhqSWL59lbzsAfmqgsWnIm5YPR4SWHlZOxsAjizcSxgaDbr0F06kqn+Er9D1Sne9YwagJnnGmlGGndfUG07Csc3h75V+4VCYFFCWJJoYrRtHdBYt2Z9kzr3EaFREGU3P+NTySIsgT8d1GXrQgVTqFP9dlOHeN9YOwV+HnUUYsctCXqfw9M4Qrvnw==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:Emisor Rfc="LAN8507268IA" Nombre="MB IDEAS DIGITALES" RegimenFiscal="601" />
  <cfdi:Receptor Rfc="BAJF541014RB3" Nombre="JOSEFINA VALENZUELA JUAREZ" UsoCFDI="P01" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="84111506" Cantidad="1" ClaveUnidad="ACT" Descripcion="Anticipo del bien o servicio" ValorUnitario="8620.69" Importe="8620.69">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="8620.69" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="1379.31">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
    <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="A8D68950-7A3F-4503-AEEB-999B10B13EB2" FechaTimbrado="2018-12-11T11:44:13" RfcProvCertif="ASE0201179X0" SelloCFD="h64U43wVymtc0X+hb8oij73JgyAMM4V46Y7BkZzjfuR8v0j7GsTNl5+uFobc8zs4CjrbTRxqerLjcaYUGNo3mE3Fv5xdiiz9CxdqlFEoLTaDz7lqLEfQRei7nH2NaBkaZ2HmgDDCIZTXUvxjnh56q7Q7Nwtf72bhqSWL59lbzsAfmqgsWnIm5YPR4SWHlZOxsAjizcSxgaDbr0F06kqn+Er9D1Sne9YwagJnnGmlGGndfUG07Csc3h75V+4VCYFFCWJJoYrRtHdBYt2Z9kzr3EaFREGU3P+NTySIsgT8d1GXrQgVTqFP9dlOHeN9YOwV+HnUUYsctCXqfw9M4Qrvnw==" NoCertificadoSAT="30001000000300036825" SelloSAT="Dha0LK0BrHThkSZAmmYbh6kQr38wPExdvLiFnvFZ47ZSBHvaIAUcf60CWri/Z1a3sHgovQLnW3myBdmiVOS8UzEobbewpdPYHQhbS9sRjUazFwF+hWs9vBMXTS5C5Qw6hMP21k+GLaTkxgu7m936E0MZgX41Yyok7r3G5nJ64pWRnwL2SpoYQfeM9Qup/e0aioeyenfh6UvxpSiydeN+ABMMF6ykLydpNwXC8SXwb8Fs39Nx0izs1UgdqzQR1jyzOdYt2uIMHi11BKClLyk6x/5cde/kPPtfzgqlJPEb679IkEPKueLfz0py/ShIufgmX2bNXRXBDZBMO5V5WxKXVA==" />
  </cfdi:Complemento>
</cfdi:Comprobante>
<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2018-12-10T12:10:02" Serie="CFDI" Folio="20181210-2" FormaPago="02" SubTotal="400000.00" Moneda="MXN" Total="464000.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="20001000000300022816" Certificado="MIIF0TCCA7mgAwIBAgIUMjAwMDEwMDAwMDAzMDAwMjI4MTYwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi5teDEmMCQGA1UECQwdQXYuIEhpZGFsZ28gNzcsIENvbC4gR3VlcnJlcm8xDjAMBgNVBBEMBTA2MzAwMQswCQYDVQQGEwJNWDEZMBcGA1UECAwQRGlzdHJpdG8gRmVkZXJhbDESMBAGA1UEBwwJQ295b2Fjw6FuMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxITAfBgkqhkiG9w0BCQIMElJlc3BvbnNhYmxlOiBBQ0RNQTAeFw0xNjEwMjUyMTU0MTlaFw0yMDEwMjUyMTU0MTlaMIG9MR4wHAYDVQQDExVNQiBJREVBUyBESUdJVEFMRVMgU0MxHjAcBgNVBCkTFU1CIElERUFTIERJR0lUQ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pfeXKGysPsqwF0yP3blsM7Cw53393LSHGKNm2GgG0kcrHnbbku6z6fjBdXMQQ5vjPuMNyw/pe3PzQLVoNOrD5AOoZmSG2TI3DtY4edLdiGmNQjo3MmAMMq4s7lr4AELPWAZRbnOlD1nEWGLdRp1mViteDvXwBL9E98EB4K9xK21DvgJ6rzw/D9rX6epeANfoXazWC0iCYcBNXiPikApcW73a/Jl/WjkEwEdkL/jLj0KCep58=" Sello="VPFGSUfceEP8FCLTj6tYohEw40leiaOWzMBmR4SZOpwD//exN0zn3aZR4jFJDnI9Z1T4M0kD0/rUxNZRn24e07BU2GbPobwD9uTLOZSfHxXg7aQUFp3M45488mYsfO9Wx3L9M+WwsIakSfTPNyQ37PyrPd8MwXaqgcTOjSYfeg3dNrGXyicle5vE9eIYgcKYk9fYB/yF2LESCFl67hHzUBS6IDA3kXllH3WGkdOygoh2Zqpauxgla64Peyzdz2MlzKDG4Oe7KsU0sqRCR5aZAhMKHxP87C4DJHfmPFbccHMi7ih4UMAKluuzQbIGuCfnAI4LoRjgNk0Cfdn5PysEtw==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:CfdiRelacionados TipoRelacion="07">
    <cfdi:CfdiRelacionado UUID="A8D68950-7A3F-4503-AEEB-999B10B13EB2" />
  </cfdi:CfdiRelacionados>
  <cfdi:Emisor Rfc="LAN8507268IA" Nombre="MB IDEAS DIGITALES" RegimenFiscal="601" />
  <cfdi:Receptor Rfc="BAJF541014RB3" Nombre="JOSEFINA VALENZUELA JUAREZ" UsoCFDI="I08" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="23121501" Cantidad="1" ClaveUnidad="EA" Descripcion="Maquinaria bordados" ValorUnitario="400000.00" Importe="400000.00">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="400000.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="64000.00" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="64000.00">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="64000.00" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
    <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="EA377DE8-E364-4AE1-B4CB-DE86CAD5E5FD" FechaTimbrado="2018-12-11T11:45:08" RfcProvCertif="ASE0201179X0" SelloCFD="VPFGSUfceEP8FCLTj6tYohEw40leiaOWzMBmR4SZOpwD//exN0zn3aZR4jFJDnI9Z1T4M0kD0/rUxNZRn24e07BU2GbPobwD9uTLOZSfHxXg7aQUFp3M45488mYsfO9Wx3L9M+WwsIakSfTPNyQ37PyrPd8MwXaqgcTOjSYfeg3dNrGXyicle5vE9eIYgcKYk9fYB/yF2LESCFl67hHzUBS6IDA3kXllH3WGkdOygoh2Zqpauxgla64Peyzdz2MlzKDG4Oe7KsU0sqRCR5aZAhMKHxP87C4DJHfmPFbccHMi7ih4UMAKluuzQbIGuCfnAI4LoRjgNk0Cfdn5PysEtw==" NoCertificadoSAT="30001000000300036825" SelloSAT="HskyLMRObIGO8cXVHovgD0k2ghy7WpLJJJbAjXkZTWNgHGC3FokpQQfb74XfuAuJKLGjwgbLhXrxrl1dQtOKRXEpyGAsOIng9os2AltuPV0bGRi94dr8VQ0+7/K+ZPq1YOiQyewLMB1egWrK4nZRcbBW3Xz5q9tydGGBKrpaR6W4cUxdeKYmoFOjKWDQX7UNn/AnMAnhnco/hr/lIIDWk4GKvEPkZjC95d2WC5olSjhJSw37AotKrRg6SuXGUKTIdLNsNfBiGQbE4uQWZpS9BX8wbfThqPkTNwaMIIxf66KBfN5YvGPkOL5XB9OEbsAZPEt0b7ykqSqZ3vqb6dgGwQ==" />
  </cfdi:Complemento>
</cfdi:Comprobante>
<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2018-12-11T12:11:03" Serie="NC" Folio="20181211-3" FormaPago="30" SubTotal="8620.69" Moneda="MXN" Total="10000.00" TipoDeComprobante="E" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="20001000000300022816" Certificado="MIIF0TCCA7mgAwIBAgIUMjAwMDEwMDAwMDAzMDAwMjI4MTYwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi5teDEmMCQGA1UECQwdQXYuIEhpZGFsZ28gNzcsIENvbC4gR3VlcnJlcm8xDjAMBgNVBBEMBTA2MzAwMQswCQYDVQQGEwJNWDEZMBcGA1UECAwQRGlzdHJpdG8gRmVkZXJhbDESMBAGA1UEBwwJQ295b2Fjw6FuMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxITAfBgkqhkiG9w0BCQIMElJlc3BvbnNhYmxlOiBBQ0RNQTAeFw0xNjEwMjUyMTU0MTlaFw0yMDEwMjUyMTU0MTlaMIG9MR4wHAYDVQQDExVNQiBJREVBUyBESUdJVEFMRVMgU0MxHjAcBgNVBCkTFU1CIElERUFTIERJR0lUQUxFUyBT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PsqwF0yP3blsM7Cw53393LSHGKNm2GgG0kcrHnbbku6z6fjBdXMQQ5vjPuMNyw/pe3PzQLVoNOrD5AOoZmSG2TI3DtY4edLdiGmNQjo3MmAMMq4s7lr4AELPWAZRbnOlD1nEWGLdRp1mViteDvXwBL9E98EB4K9xK21DvgJ6rzw/D9rX6epeANfoXazWC0iCYcBNXiPikApcW73a/Jl/WjkEwEdkL/jLj0KCep58=" Sello="PoKEl/8i00e/g/G+FcfB0WzQzbSlFIITf6elh5BzjzL3jWZUUsEntq/OIW5o4U+ZSwxf1N7/FYfDq3MgEeyNlxgSmzWtyqzMOmU6KWgaT4KZGbFbdoVYZ7K7ulUPv8EYgtLYPPu7wdHTzlHojRZ9wwSp9JsSWhWL4t2NIIRMgVyHtkDrNcJecJQDnetcf43Ve1vHPyEmjkxDj65ZFzjgdNjulGH+d7nywSl99Z5vGb3eAFEljg1f/xss1kMp7vzJtAarafD08M5JJsmrfR/ln4SkcvE4z9+9THv46ToZ7SykppAxVNCR2uFvc8JTl2UUd/F6N8Elt/nEYlyDWywYRg==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:CfdiRelacionados TipoRelacion="07">
    <cfdi:CfdiRelacionado UUID="EA377DE8-E364-4AE1-B4CB-DE86CAD5E5FD" />
  </cfdi:CfdiRelacionados>
  <cfdi:Emisor Rfc="LAN8507268IA" Nombre="MB IDEAS DIGITALES" RegimenFiscal="601" />
  <cfdi:Receptor Rfc="BAJF541014RB3" Nombre="JOSEFINA VALENZUELA JUAREZ" UsoCFDI="I08" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="84111506" Cantidad="1" ClaveUnidad="ACT" Descripcion="Aplicación de anticipo" ValorUnitario="8620.69" Importe="8620.69">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="8620.69" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="1379.31">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="1379.31" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
    <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="565A3798-3479-4485-8290-2161739AE4E6" FechaTimbrado="2018-12-11T13:31:50" RfcProvCertif="ASE0201179X0" SelloCFD="PoKEl/8i00e/g/G+FcfB0WzQzbSlFIITf6elh5BzjzL3jWZUUsEntq/OIW5o4U+ZSwxf1N7/FYfDq3MgEeyNlxgSmzWtyqzMOmU6KWgaT4KZGbFbdoVYZ7K7ulUPv8EYgtLYPPu7wdHTzlHojRZ9wwSp9JsSWhWL4t2NIIRMgVyHtkDrNcJecJQDnetcf43Ve1vHPyEmjkxDj65ZFzjgdNjulGH+d7nywSl99Z5vGb3eAFEljg1f/xss1kMp7vzJtAarafD08M5JJsmrfR/ln4SkcvE4z9+9THv46ToZ7SykppAxVNCR2uFvc8JTl2UUd/F6N8Elt/nEYlyDWywYRg==" NoCertificadoSAT="30001000000300036825" SelloSAT="XbPtZ91hdZN53xdn8HqHlZFYf2jNqXUATLG7YyxSrtWvRq78Z0VY0i4afP/UKHulEs8zWNAx5PzPB16W4H2S9G28neZT1APEQsFbBblc9dqK8BdKtigMKLwP8jGuK3sJhQO1Uyc8iweM1fSjUEXvCIGNIVNpAsVNMiQcFd4fkQneo8AUMPZkmKJaO9GJs4HN6tlYQ74o3R7OAOU0yGSACEDXyfdKkzmH5JMP4n31zhKebiU3kz+y91nuxMswJhjopOb07FUXeaIGzvRJ+cGfMVL8QI72ao/GQydll2lO5D3ZHK8sxYjVnJ7ZgD1D5M6cPN0RGNKWzFj3E3Qg82oz3Q==" />
  </cfdi:Complemento>
</cfdi:Comprobante>

The Income CFDI with Valid Relations becomes non-cancelable. This can be verified if you consult the status of each CFDI.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>A8D68950-7A3F-4503-AEEB-999B10B13EB2</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>79f51097-25cd-41a4-95b8-5bda2188406d</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>No Cancelable</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>EA377DE8-E364-4AE1-B4CB-DE86CAD5E5FD</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>2660b2b0-cec2-4b01-84d7-43b4e69cbe39</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>No Cancelable</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>565A3798-3479-4485-8290-2161739AE4E6</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>90b3a382-6374-4c3f-9bb6-b6c0946c589b</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable sin aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

You can use the method [ConsultaCFDIRelacionados] Consultation on Related CFDIs to improve the search as a Recipient.

The down payment of the CFDI does not have related CFDIs on its section CfdiRelacionados, but when we perform the consultation there is a CFDI related to the down payment, so a result will be shown indicating the data as UuidPadre.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaCFDIRelacionadosRequest>
         <urn:Uuid>A8D68950-7A3F-4503-AEEB-999B10B13EB2</urn:Uuid>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:ConsultaCFDIRelacionadosRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaCFDIRelacionadosResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>97aa0b49-f43c-4d8f-a1a4-397d56f1090a</TransactionId>
         <CodEstatus>2002</CodEstatus>
         <UuidsRelacionadosPadres>
            <UuidPadre>
               <Uuid>a8d68950-7a3f-4503-aeeb-999b10b13eb2</Uuid>
               <RfcEmisor>LAN8507268IA</RfcEmisor>
               <RfcReceptor>BAJF541014RB3</RfcReceptor>
            </UuidPadre>
         </UuidsRelacionadosPadres>
      </ConsultaCFDIRelacionadosResponse>
   </s:Body>
</s:Envelope>
The good or service invoice already includes its relationship with the down payment CFDI, you can find the down payment information on the section: UuidsRelacionadosHijos
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaCFDIRelacionadosRequest>
         <urn:Uuid>EA377DE8-E364-4AE1-B4CB-DE86CAD5E5FD</urn:Uuid>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:ConsultaCFDIRelacionadosRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaCFDIRelacionadosResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>6aad134c-6654-417f-8fd6-71df60d9484d</TransactionId>
         <CodEstatus>2002</CodEstatus>
         <UuidsRelacionadosPadres>
            <UuidPadre>
               <Uuid>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</Uuid>
               <RfcEmisor>LAN8507268IA</RfcEmisor>
               <RfcReceptor>BAJF541014RB3</RfcReceptor>
            </UuidPadre>
         </UuidsRelacionadosPadres>
         <UuidsRelacionadosHijos>
            <UuidRelacionado>
               <Uuid>a8d68950-7a3f-4503-aeeb-999b10b13eb2</Uuid>
               <RfcEmisor>LAN8507268IA</RfcEmisor>
               <RfcReceptor>BAJF541014RB3</RfcReceptor>
            </UuidRelacionado>
         </UuidsRelacionadosHijos>
      </ConsultaCFDIRelacionadosResponse>
   </s:Body>
</s:Envelope>

At this point, the only CFDI you can cancel is the one corresponding to the credit note because it does not have valid related CFDIs (and it’s not an income CFDI). If you sent the down payment cancelation request and verify the CFDI status you will get that this is not cancelable.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>565a3798-3479-4485-8290-2161739ae4e6</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2018-12-17T17:55:19.50433-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>565a3798-3479-4485-8290-2161739ae4e6</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>R3sZFF/WUMoeJIRsek+MW7ak/Go=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>fCjdD4VyDho5uLQAKr/YhAop9aF9gES4rLPE7Pv894HfZnqlkkG1mySlhkjfAYbqrlLGwOzUQLZ6jnHVQjYzHEgSXg95+yPgptDVLnfgJD1Bo4mI67WjEHeuA+f1hgJ/iA8+1d/6GxSo+fh6bO+wdNOIlCaMa53RUcaA3sHrQuX0IUo4FekRXqwsMIkWSaiOssmRMyb4TTRcGdzJBZg1vqCtruGk1SoEyBJShGnLMBBEA32GStjLsNV8FZ/mVZ2eMvsAcERpbIhbc+fICjx/Ji57s7iw5eoSItLvJboInpNYCS237NkE9QfhtfGRd851uC9/kdrUcx74N/Bz5DdFrg==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>565a3798-3479-4485-8290-2161739ae4e6</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Petición de cancelación recibida</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

Since the credit note is an exception in the new cancelation scheme and does not require acceptance or rejection, the cancelation request gets in the cancelation scenario without acceptance (so you must cancel it directly). To validate that the fiscal folio is canceled, use the method [ConsultaCFDIService].

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>565a3798-3479-4485-8290-2161739ae4e6</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>2762f986-54e6-4e96-b41c-d082a10d2b30</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable sin aceptación</EsCancelable>
            <Estado>Cancelado</Estado>
            <EstatusCancelacion>Cancelado sin Aceptación</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

With the credit note canceled, the good or service invoice becomes cancelable too. You can send the cancelation request for the good or service invoice.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2018-12-17T18:05:24.2559242-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>GpMI9cnIlWy111m4rxxGUnaF1Os=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>JSSladwEzolCvWMZ1o9S6Q7rIWZbuUKrv3iBGeZpIRzMbIocERpV7AY2peXKhNpWyBlYYzdmfnfrQ5TyZS5rdjbswQVeBpcXdcyQXyvcwcdaNOivGQohykNYGeQ6SpRWt/SrNiiXefhnTCfcP9ua8Sxfn652kFd3F3m4WrCwN+ZSND7r3r+gmzUs6piQuhmuYTrVooEHJUFfyDrgTYnITvn1vhksuXF9+nSlde64roDbwMXmphq0IsPmeIPO7wG2oFeSmDdi8IDoEPaQhmyV7xC53Vr6u0+wFABVr3c7Uj/mUzrKXd8CKKiMBb4jRKvIETUAsMaJ2R63hqU49ueYPw==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Petición de cancelación recibida</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

As a Recipient, you can consult the pending requisitions through the method [ConsultaPeticionesPendientes] before giving the response to the cancelation through the service [AceptacionRechazo].

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>e0db0fe7-cca5-4ebc-a2a7-81a0be7a502f</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1001">
            <UUID>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

As a Recipient you can issue a response to a cancelation this must be done before the 24 hours deadline, or it will be assumed an acceptance for the cancelation. Acceptance of a Good or Service Invoice Cancelation Request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:tem="http://tempuri.org/">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <tem:CancelacionAceptacionRechazoRequest>
         <tem:Rfc>BAJF541014RB3</tem:Rfc>
         <tem:Folios>
            <tem:SolicitudAceptacionRechazoFolios>
               <tem:UUID>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</tem:UUID>
               <tem:Respuesta>Aceptacion</tem:Respuesta>
            </tem:SolicitudAceptacionRechazoFolios>
         </tem:Folios>
      </tem:CancelacionAceptacionRechazoRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionAceptacionRechazoResponse xmlns="http://tempuri.org/">
         <TransactionId>17ce3bd9-c347-4cb1-8f15-b8eb3ba4e6f5</TransactionId>
         <Result><![CDATA[<?xml version="1.0"?>
<AcuseAceptacionRechazo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CodEstatus="1000" Fecha="2018-12-17T17:56:40.0201782-06:00" RfcReceptor="BAJF541014RB3" RfcPac="ASE0201179X0">
  <Folios Respuesta="Aceptacion" xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>ea377de8-e364-4ae1-b4cb-de86cad5e5fd</UUID>
    <EstatusUUID>1000</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>ITga+yZ5lBIRY0TC9fv05315BY8=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>ntdSocB521y/uWF/hTZwQ4++UWhW4hYc58NrJpg7vIU4H0chCpQYZ5Kqiz4tR4LFmEnhokOyWw4Bm8EhXMof46HUB8XI54KyDjlOqm5MHP+4a5A5y041s5Ffbh460MtY+l7jci+nJnO/Y8nkttMRN0kucVBgO0xxr1qCAXRHORsUm9PlFTL2EAqjrOA9cueQBAEn7AwZAflhhTp9Z+zqSIDd/UDni1jpNKtBZxzyxjBwtrRyhLgfdiLfXDQiln25iKI7z9MOPyuNEO1KSNHojKxA7mQ74oDi6ZkJInRATi7OEHieQxADdnGpJflbbsgbCjBC6PCF3NH9FZv6Bl7oKQ==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</AcuseAceptacionRechazo>]]></Result>
         <SATDetailResponse>
            <SATDetailResponse>
               <FolioFiscal>565A3798-3479-4485-8290-2161739AE4E6</FolioFiscal>
               <ResultCode>1000</ResultCode>
               <ResultMessage>Se recibió la respuesta de la petición de forma exitosa</ResultMessage>
            </SATDetailResponse>
         </SATDetailResponse>
         <TransactionProperties/>
      </CancelacionAceptacionRechazoResponse>
   </s:Body>
</s:Envelope>

To validate that the Fiscal Folio of the good or service invoice is canceled, you must use the method [ConsultaCFDIService].

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>EA377DE8-E364-4AE1-B4CB-DE86CAD5E5FD</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>2660b2b0-cec2-4b01-84d7-43b4e69cbe39</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Cancelado</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

With the good or service invoice canceled, the down payment CFDI becomes cancelable too. To cancel it, you must use the method [ConsultaCFDIService].

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>a8d68950-7a3f-4503-aeeb-999b10b13eb2</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2018-12-17T18:58:55.963794-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>a8d68950-7a3f-4503-aeeb-999b10b13eb2</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>foFcPW2MqTdNLxV3PoJjIknqUUI=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>jj1sl82zS/mTMjgXUSRhpS6q3IfNzNXvAD1BgUJlyRQMhE9uDIJMNBazuEMXOg41NyLQDWW0SAKNYxYdIrT38FFZShd2Y8LZGe9v3d4HFAN95i5U21E02TrhCczEC4RLQNXpf+yUqwt/xFA2V2iJ4v3WXqbKDJJwjEHyaCexrpjKrt3HhP5WjOTquy395Oe4Eq4YUZONyGl33rvec2yXziA+/n6DdQkYKD+KrR/lD6UIWlBexz1+9A1oORFHPsOvimHRtPIP2a/O7vlJtkhIah58f4q46wWTrMTa9QO8jGCG8WDDM100ZBRgwufvEsBxeJkNUa8XyHUoLrcd9ywAiA==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>a8d68950-7a3f-4503-aeeb-999b10b13eb2</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Petición de cancelación recibida</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

As a Recipient, you can consult the pending response requisitions through the method [ConsultaPeticionesPendientes].

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>07ef5f74-7e4a-4fdc-8dff-952b8f13bf44</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1001">
            <UUID>a8d68950-7a3f-4503-aeeb-999b10b13eb2</UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

As a Recipient you can issue a response to a cancelation this must be done before the 24 hours deadline, or it will be assumed an acceptance for the cancelation.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:tem="http://tempuri.org/">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <tem:CancelacionAceptacionRechazoRequest>
         <tem:Rfc>BAJF541014RB3</tem:Rfc>
         <tem:Folios>
            <tem:SolicitudAceptacionRechazoFolios>
               <tem:UUID>a8d68950-7a3f-4503-aeeb-999b10b13eb2</tem:UUID>
               <tem:Respuesta>Aceptacion</tem:Respuesta>
            </tem:SolicitudAceptacionRechazoFolios>
         </tem:Folios>
      </tem:CancelacionAceptacionRechazoRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionAceptacionRechazoResponse xmlns="http://tempuri.org/">
         <TransactionId>17ce3bd9-c347-4cb1-8f15-b8eb3ba4e6f5</TransactionId>
         <Result><![CDATA[<?xml version="1.0"?>
<AcuseAceptacionRechazo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CodEstatus="1000" Fecha="2018-12-17T17:56:40.0201782-06:00" RfcReceptor="BAJF541014RB3" RfcPac="ASE0201179X0">
  <Folios Respuesta="Aceptacion" xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>a8d68950-7a3f-4503-aeeb-999b10b13eb2</UUID>
    <EstatusUUID>1000</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>ITga+yZ5lBIRY0TC9fv05315BY8=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>ntdSocB521y/uWF/hTZwQ4++UWhW4hYc58NrJpg7vIU4H0chCpQYZ5Kqiz4tR4LFmEnhokOyWw4Bm8EhXMof46HUB8XI54KyDjlOqm5MHP+4a5A5y041s5Ffbh460MtY+l7jci+nJnO/Y8nkttMRN0kucVBgO0xxr1qCAXRHORsUm9PlFTL2EAqjrOA9cueQBAEn7AwZAflhhTp9Z+zqSIDd/UDni1jpNKtBZxzyxjBwtrRyhLgfdiLfXDQiln25iKI7z9MOPyuNEO1KSNHojKxA7mQ74oDi6ZkJInRATi7OEHieQxADdnGpJflbbsgbCjBC6PCF3NH9FZv6Bl7oKQ==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</AcuseAceptacionRechazo>]]></Result>
         <SATDetailResponse>
            <SATDetailResponse>
               <FolioFiscal>A8D68950-7A3F-4503-AEEB-999B10B13EB2</FolioFiscal>
               <ResultCode>1000</ResultCode>
               <ResultMessage>Se recibió la respuesta de la petición de forma exitosa</ResultMessage>
            </SATDetailResponse>
         </SATDetailResponse>
         <TransactionProperties/>
      </CancelacionAceptacionRechazoResponse>
   </s:Body>
</s:Envelope>

To validate that the Fiscal Folio has been canceled, you must use the method [ConsultaCFDIService].

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>10000.00</urn:Total>
         <urn:Uuid>A8D68950-7A3F-4503-AEEB-999B10B13EB2</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>f6fd1556-7e05-4e07-8862-672c04e4b34d</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Cancelado</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

5. Cancelation by time or default acceptance

In this scenario the Issuer request the Cancelation of an Income CFDI, and the Recipient does not give a response on the time stipulated by the authority so, his consent is assumed to perform the cancelation.

<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2018-12-17T12:10:02" Serie="AF" Folio="20181217-2" FormaPago="02" SubTotal="400000.00" Moneda="MXN" Total="464000.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="20001000000300022816" Certificado="MIIF0TCCA7mgAwIBAgIUMjAwMDEwMDAwMDAzMDAwMjI4MTYwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi5teDEmMCQGA1UECQwdQXYuIEhpZGFsZ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JNzp5/rgs3qAG1GrfdNGuSD3FkqhDdB6tJYqzTc12IC7xEAhKXrWZYCqa+zb9ogtzrUVL3vRRLMpnGEHK2yx8dhvG35qjHEfXyuoBsWILrVmnPpDCFO/CCLQB1OuMti1mlir6voBN0L1EbFK30w2bEuVihAeVLX8vVfMq4ZPI7UTLnblGnN11CCqiZkWhhehYrMdCjb5thMkEA+CMlIaFJYp7pNkLxQd4Y5+r8pTrdxxyvpA51DIWdoxvwaOiz1bzZk6ElVY2rfxwyZaJ17cJ1jmS4Yb5P4h8+5zkmZnPmRqfmaVO3nsApLWP6A38ZBrwwss429PJMSpfeXKGysPsqwF0yP3blsM7Cw53393LSHGKNm2GgG0kcrHnbbku6z6fjBdXMQQ5vjPuMNyw/pe3PzQLVoNOrD5AOoZmSG2TI3DtY4edLdiGmNQjo3MmAMMq4s7lr4AELPWAZRbnOlD1nEWGLdRp1mViteDvXwBL9E98EB4K9xK21DvgJ6rzw/D9rX6epeANfoXazWC0iCYcBNXiPikApcW73a/Jl/WjkEwEdkL/jLj0KCep58=" Sello="avp6G32WZXxex4FQSV+NddgoXlsNqKPw+YAKCGvKkLuLxeHhxVoM1nr/g7GhWPMlylCsKd/UJVVtWceQ7Lh09DS4z0TVRagVnuvM+6aGvaJ80VF8DaFfpNVXvNJCEUI8yth1DSAEEVPcMN0E/swpZhf98pILhFXU8K/1rN+pjpjekoaqxPEcp7J6bcD/M3j4jvpI6jYxrEMwovM4hdgz42njVJYpL8ueiLC8YQ/C9ek7FWUvTX36+cON3TdMBZQM1VoE9JD0kws1UNY7Y+rd1d9P+AzDZJ6Fk9sjkcbJeyaw6pjj0yWwigBVjTYy5450tgeBXBkpIUT1Hnh5KyNtuw==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:Emisor Rfc="LAN8507268IA" Nombre="MB IDEAS DIGITALES" RegimenFiscal="601" />
  <cfdi:Receptor Rfc="BAJF541014RB3" Nombre="JOSEFINA VALENZUELA JUAREZ" UsoCFDI="I08" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="23121501" Cantidad="1" ClaveUnidad="EA" Descripcion="Maquinaria bordados" ValorUnitario="400000.00" Importe="400000.00">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="400000.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="64000.00" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="64000.00">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="64000.00" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
    <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="79CFB704-11FC-4FB0-9140-F4559AAD0349" FechaTimbrado="2018-12-17T19:16:53" RfcProvCertif="ASE0201179X0" SelloCFD="avp6G32WZXxex4FQSV+NddgoXlsNqKPw+YAKCGvKkLuLxeHhxVoM1nr/g7GhWPMlylCsKd/UJVVtWceQ7Lh09DS4z0TVRagVnuvM+6aGvaJ80VF8DaFfpNVXvNJCEUI8yth1DSAEEVPcMN0E/swpZhf98pILhFXU8K/1rN+pjpjekoaqxPEcp7J6bcD/M3j4jvpI6jYxrEMwovM4hdgz42njVJYpL8ueiLC8YQ/C9ek7FWUvTX36+cON3TdMBZQM1VoE9JD0kws1UNY7Y+rd1d9P+AzDZJ6Fk9sjkcbJeyaw6pjj0yWwigBVjTYy5450tgeBXBkpIUT1Hnh5KyNtuw==" NoCertificadoSAT="30001000000300036825" SelloSAT="XPMfAJOwIWTU561mv3N3wTFwwkbfYIRxHC3DHvL6GNsARgUDUrGwiteqQJZHBMhB3aeJPc7QXu2CBIPhUCUQ5FIys2Hf4dK+inSlSco1FYoWAme9Y60mua9X9pOkqeKF3NHQck3/Y95pL20zfEwths2FaCNkAaV1cBhUl6tx7md9RP1DGSB8604JQO/wWrYDstOA0fh6GKoQ26Hwc4hV12/+i35Pdxo4jzgohNFAHuy+cOl+lRHVLfo0AxL7uCBrqS0c5lAZoqEl61+RPCeMQDMve2Ocdjj3kJUbbRuajTV6aTeqvs4AvRADEMwHv4HPtPT3jmxGzJ0k3l82aUcq0g==" />
  </cfdi:Complemento>
</cfdi:Comprobante>

Once the CFDI has been stamped, you must verify is in the SAT:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>79CFB704-11FC-4FB0-9140-F4559AAD0349</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>a9db0063-e221-46b3-b6e7-cd744e48ec75</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

Once the CFDI has been delivered to the SAT and it is cancelable, you can proceed with the cancelation request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>79CFB704-11FC-4FB0-9140-F4559AAD0349</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2018-12-17T19:18:34.5305629-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>79cfb704-11fc-4fb0-9140-f4559aad0349</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>b7bvY0rRISGTJc4aaqaOFKXdG4k=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>MGfp86DpYp9tUUZn3ZMBnmI4F3GxIKGOuZtuQU3ljUF9XrYkIMMmePnbDUkiKBQuChPpzk3U4PqkF8XXn1hhxytAz4UmxKVLc7qihesw89lhIsPMflZX2mxwuLYic21Hkj7WMAMiQsrSz6oFX559HMqJRn+AXU/QIa5eHvabuevLqVL1W50B66mOR70x1YTFAVRZQ4Gn6Vt+aBWZsYdN2wAk0otH55+UA2RxRjG0nIggj13y3woCGr7YcUjRsE159H975S9143DeAZ4eUENoWK0Axv3D9rIr8MhxyPYaiigR86Vs0KZ2ta2iAt3p8sIIZjSJJVphRW8+U8Fh8mEbNQ==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>79cfb704-11fc-4fb0-9140-f4559aad0349</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Petición de cancelación recibida</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

To verify the cancelation is in progress, you must use the CFDI Status Consultation Service.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>79CFB704-11FC-4FB0-9140-F4559AAD0349</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>510128f4-24c5-4202-90c0-2e9aa6f93ff3</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>En Proceso</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

As a Recipient I can consult the cancelation requisitions that need a response (Acceptance or Rejection). For this scenario you can only consult the pending requisition, but there will not be a response.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>938750e8-30c7-4eba-a41f-c27aea4b87d4</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1100">
            <UUID>
               <guid>79cfb704-11fc-4fb0-9140-f4559aad0349</guid>
            </UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

After reaching the deadline a positive response to the cancelation is assumed. If you consult the CFDI Status you must see this scenario.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>79CFB704-11FC-4FB0-9140-F4559AAD0349</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>8a5c23a1-e898-4672-8371-d43e7a230a76</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Cancelado</Estado>
            <EstatusCancelacion>Plazo vencido</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

6. Cancelation with a default negative

The default negative scenario is when the Issuer request a CFDI cancelation, the Recipient rejects it, the issuer request it again and the recipient does not provide a response; when this happens the CFDI will not be canceled until the Recipient accepts the cancelation no matter how long it takes him to provide a response or how many times the Issuer sends the cancelation request.

The steps to test this scenario are:

<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante Version="3.3" Fecha="2019-01-01T12:01:01" Serie="NF" Folio="20190101-1" FormaPago="28" SubTotal="400000.00" Moneda="MXN" Total="464000.00" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="05348" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" NoCertificado="20001000000300022816" Certificado="MIIF0TCCA7mgAwIBAgIUMjAwMDEwMDAwMDAzMDAwMjI4MTYwDQYJKoZIhvcNAQELBQAwggFmMSAwHgYDVQQDDBdBLkMuIDIgZGUgcHJ1ZWJhcyg0MDk2KTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSkwJwYJKoZIhvcNAQkBFhphc2lzbmV0QHBydWViYXMuc2F0LmdvYi5teDEmMC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C9YZZYC8pHNDiA/eSvKqW5JNzp5/rgs3qAG1GrfdNGuSD3FkqhDdB6tJYqzTc12IC7xEAhKXrWZYCqa+zb9ogtzrUVL3vRRLMpnGEHK2yx8dhvG35qjHEfXyuoBsWILrVmnPpDCFO/CCLQB1OuMti1mlir6voBN0L1EbFK30w2bEuVihAeVLX8vVfMq4ZPI7UTLnblGnN11CCqiZkWhhehYrMdCjb5thMkEA+CMlIaFJYp7pNkLxQd4Y5+r8pTrdxxyvpA51DIWdoxvwaOiz1bzZk6ElVY2rfxwyZaJ17cJ1jmS4Yb5P4h8+5zkmZnPmRqfmaVO3nsApLWP6A38ZBrwwss429PJMSpfeXKGysPsqwF0yP3blsM7Cw53393LSHGKNm2GgG0kcrHnbbku6z6fjBdXMQQ5vjPuMNyw/pe3PzQLVoNOrD5AOoZmSG2TI3DtY4edLdiGmNQjo3MmAMMq4s7lr4AELPWAZRbnOlD1nEWGLdRp1mViteDvXwBL9E98EB4K9xK21DvgJ6rzw/D9rX6epeANfoXazWC0iCYcBNXiPikApcW73a/Jl/WjkEwEdkL/jLj0KCep58=" Sello="LfYOn+iobmjW7d7anyvcTRDVBZTEkCsJYpL+zAEqq/n/iunaDGJ0mL6A2ghUFDS13eGWLWZoSXAsdbWTfZQ77N5CmoqyTueWegpRulPiSngHcfBV7rq90Jo6eN/Gv4TqxkeqkbpUNJJmV/Vb/HP6FEEZQSDWTQLUJpBmWkTDC4AeXsJLYfMGNmTpl7J0XSR1PFNA8IT3PNsvKgejjqXgZZHUZVR6X3SUjrC0IcU0bQQAIRhtm5o8wzlE2NPXrKdBrGPOcxEqX37+iZAO0jcEg4+u7UfgOsOP1M2swRsfCdjUIYLg473u/pqobqKDcMeQHi9HFjpP6rJfjmeXmyxjCQ==" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd">
  <cfdi:Emisor Rfc="LAN8507268IA" Nombre="MB IDEAS DIGITALES" RegimenFiscal="601" />
  <cfdi:Receptor Rfc="BAJF541014RB3" Nombre="JOSEFINA VALENZUELA JUAREZ" UsoCFDI="I08" />
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="23121501" Cantidad="1" ClaveUnidad="EA" Descripcion="Maquinaria bordados" ValorUnitario="400000.00" Importe="400000.00">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="400000.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="64000.00" />
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="64000.00">
    <cfdi:Traslados>
      <cfdi:Traslado Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="64000.00" />
    </cfdi:Traslados>
  </cfdi:Impuestos>
  <cfdi:Complemento>
    <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="5968F870-4655-4361-83F2-34E4A0CD82F4" FechaTimbrado="2019-01-02T16:41:39" RfcProvCertif="ASE0201179X0" SelloCFD="LfYOn+iobmjW7d7anyvcTRDVBZTEkCsJYpL+zAEqq/n/iunaDGJ0mL6A2ghUFDS13eGWLWZoSXAsdbWTfZQ77N5CmoqyTueWegpRulPiSngHcfBV7rq90Jo6eN/Gv4TqxkeqkbpUNJJmV/Vb/HP6FEEZQSDWTQLUJpBmWkTDC4AeXsJLYfMGNmTpl7J0XSR1PFNA8IT3PNsvKgejjqXgZZHUZVR6X3SUjrC0IcU0bQQAIRhtm5o8wzlE2NPXrKdBrGPOcxEqX37+iZAO0jcEg4+u7UfgOsOP1M2swRsfCdjUIYLg473u/pqobqKDcMeQHi9HFjpP6rJfjmeXmyxjCQ==" NoCertificadoSAT="30001000000300036825" SelloSAT="j13nXGE34ssk6S0lwz141DksG4xpACquzh3CfZuSO3opf34a8WVaJHa+QU5pKa0QztwoZEjYs9thziAqxtb1StKoqEUfpmsfXzYIWeopIDUdwitfZOc1QWtcpejtSXQ/iktnw1+BEwSK6QGRreGK3IgzeX049FSBUI+ptFH1DUu52qrxr0AVe52mWWwWcnysMLIzEvrx4NAFUfqbwgdice4jEaz+lMqF7wsWbkSD2y536LLZnFmdLINzcfq5XYoxO8PzFU/95FfQkzEeTP5eUuYhd/MCTI9e+7XWulDdXGcfYaRFPQQsjCkvZSl1ED6vIpL8+RCdif/39Ny5Hbl/kg==" />
  </cfdi:Complemento>
</cfdi:Comprobante>

Once the CFDI has been stamped, you must verify is in the SAT.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>b3033bf6-810f-4ee2-85ae-32441ac7d103</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

When the CFDI has been delivered to the SAT and can be canceled, you can proceed with the Cancelation request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2019-01-02T16:45:42.9292071-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>5968f870-4655-4361-83f2-34e4a0cd82f4</UUID>
    <EstatusUUID>201</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>XstTg3VvySoBvB/chhnLWuyUfmQ=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>dckZ7A4tpRT6QnJnYt8MmU6/ErnbHWb/Er9fph/QdZXAx6LXoKbO9QdG7h5tPWB3BS5tlaXJFD+g2CrIBsvvxm7LBedweB1/5jz7uDn7InLXucV+KfW3N5S0wpvQ8yR//rot33NmppOGbeMinBL9uTEaMII9SQuR81OBnKsCuT4B5yM9kfjUZNgBq+thQU0U40V5zARc74jjheofQQ/5Jb2tMjQ/iyEE70IhQNxXcOuQt6SA3AOI7TUfG5W/uLn+gnxcz9E5MvfFS706ywwUCffQZyjsU9cfZ/5E+16js/vsEO1VyYBjyHmN1TA+sUZaFtqg6V4ah+jLKigisZiUVg==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>5968f870-4655-4361-83f2-34e4a0cd82f4</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>201</ResultCode>
               <ResultMessage>Petición de cancelación recibida</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

To verify the cancelation is in progress, you must use the CFDI Status Consultation service.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>274c6b30-e663-4278-9123-470fb11fe7f3</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>En Proceso</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

As a Recipient, you can consult the cancelation requisitions that need a response (Acceptance or Rejection).

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>1d92b5ce-d9b6-48c5-b750-eace41d42d60</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1100">
            <UUID>
               <guid>5968f870-4655-4361-83f2-34e4a0cd82f4</guid>
            </UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

When there are cancelation requisitions pending a response, the Recipient can deliver a response. In this scenario the Cancelation was Rejected.

The only values allowed are Aceptacion or Rechazo.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:tem="http://tempuri.org/">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <tem:CancelacionAceptacionRechazoRequest>
         <tem:Rfc>BAJF541014RB3</tem:Rfc>
         <tem:Folios>
            <tem:SolicitudAceptacionRechazoFolios>
               <tem:UUID>5968f870-4655-4361-83f2-34e4a0cd82f4</tem:UUID>
               <tem:Respuesta>Rechazo</tem:Respuesta>
            </tem:SolicitudAceptacionRechazoFolios>
         </tem:Folios>
      </tem:CancelacionAceptacionRechazoRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionAceptacionRechazoResponse xmlns="http://tempuri.org/">
         <TransactionId>5f44178f-d6f3-4595-9fd5-47184da4f4b9</TransactionId>
         <Result><![CDATA[<?xml version="1.0"?>
<AcuseAceptacionRechazo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CodEstatus="1000" Fecha="2019-01-02T16:48:29.9438211-06:00" RfcReceptor="BAJF541014RB3" RfcPac="ASE0201179X0">
  <Folios Respuesta="Rechazo" xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>5968F870-4655-4361-83F2-34E4A0CD82F4</UUID>
    <EstatusUUID>1000</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>BWVJn/uUup/TI0IT1z1gUg9qKuI=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>C8LIVfLgR+3TVBCW1O3Ec8bxLvKWnN/OgWV5hg0K3t5qLwouwx7cb4Gp65RlW6XAV2c2t7gGcbX8KyYMUXl8mnDUPKnreP6Bz2lBW31dSbaxsHsazIsnbZJm+boyaOmZynII+K4dnQA+k7uaUoSJszOG3moRxV2yiiLeoS6ckiHvQ6nFSMVRcjqIWKQtoKL3kFwx5yn2siltNa7FeU/hPxxDjt+Y5tHvG57pC3WvxUofLoi1ySYvMDDbz+eM7gJrF4aVjqh7kR1k/S84nOWiGIsyI41oy0D08U0d9kHgR47Xu4VVMc4FaUbETq0jOtpcBbOU/0Ryndft31cuzjZ1QQ==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</AcuseAceptacionRechazo>]]></Result>
         <SATDetailResponse>
            <SATDetailResponse>
               <FolioFiscal>5968F870-4655-4361-83F2-34E4A0CD82F4</FolioFiscal>
               <ResultCode>1000</ResultCode>
               <ResultMessage>Respuesta Exitosa</ResultMessage>
            </SATDetailResponse>
         </SATDetailResponse>
         <TransactionProperties/>
      </CancelacionAceptacionRechazoResponse>
   </s:Body>
</s:Envelope>

To validate that the CFDI was not canceled, you must consult the Invoice Status.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>964cdffe-f3c0-4ca0-900e-04c6bdba884e</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

The issuer can generate again the cancelation Request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:CancelacionFiscalRequest>
         <urn:Folios>
            <urn:guid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:guid>
         </urn:Folios>
         <urn:RFC>LAN8507268IA</urn:RFC>
      </urn:CancelacionFiscalRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <CancelacionFiscalResponse xmlns="urn:reachcore.com:services:api:ws:timbre-fiscal:cancelacion:2.0">
         <Error>false</Error>
         <ErrorMessage/>
         <FoliosCancelados>1</FoliosCancelados>
         <AcuseSAT><![CDATA[<Acuse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RfcEmisor="LAN8507268IA" Fecha="2019-01-02T16:49:15.6310852-06:00">
  <Folios xmlns="http://cancelacfd.sat.gob.mx">
    <UUID>5968f870-4655-4361-83f2-34e4a0cd82f4</UUID>
    <EstatusUUID>202</EstatusUUID>
  </Folios>
  <Signature Id="SelloSAT" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
            <XPath>not(ancestor-or-self::*[local-name()='Signature'])</XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>F2XCHYeGOifVBFeqmco5pqQTju4=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>UmNozlHKi9d4kdl+vutP6tXbWuy1EQnAJGpTezuGLSjcbTNFHbCRrXM9cMs/FD+q37WvPGpQHdT5myzBKOZOCVDtP0P2Mu0uvufaJRkpk/1veePmxApzgt4dg0CwpH0W/5sgnJKh+nBDE1japEnX4ARiMBEdnzv8KpL3MeHVrJR1qSK3Fz08JKsxJLLonrWmD+w6rbkOR3eU6D6Aog4xtU/yl/fw/GIYJW0iJqvu29XP5rJWEVwJ/FcxEWXr+A0QHweASaeMIOH07+8AIGJlsTm17/EEEGhZG53v9tCZKUmzelai9iLnU8G4ZBD7vty8l2ihD2ICxl2qd95cQywixg==</SignatureValue>
    <KeyInfo>
      <KeyName>00001088888810000001</KeyName>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>roYZtejLXBU5jmqlSYiuK2+A8rfsE1dtyQqOVHFZr1CZyZUmjVmru3W1uD0GgbMSy7thw1Qifl9BsbFqN2fpCf9vMhLupPljRsmARWctADzc15BB+3wCjSoiJye4Bsslhx83rq1Hz+18kyPSTkKDPsVw8Sbti5CFP0/L2ml0ZVs1UIjCE9kceArGef5arE2Zrzqv0Lg2aNCh49YzeuigtwAExdgKvl55bMK5IbXe87eH4f98FUvTRGMXg7R7XLcEE1Hh8JeyYt1QO6g/6T2ePEm+kALp+h2U8eM1/LN7eI+cs/99Ld5gbAF/wqmzjea4ULPJxlckTY7MFQjNmOyC7w==</Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
    </KeyInfo>
  </Signature>
</Acuse>]]></AcuseSAT>
         <Folios>
            <TransactionDetailResponse>
               <FolioFiscal>5968f870-4655-4361-83f2-34e4a0cd82f4</FolioFiscal>
               <Cancelado>true</Cancelado>
               <ResultCode>202</ResultCode>
               <ResultMessage>Petición de cancelación recibida anteriormente.</ResultMessage>
            </TransactionDetailResponse>
         </Folios>
      </CancelacionFiscalResponse>
   </s:Body>
</s:Envelope>

To verify the cancelation request was received, you must consult the CFDI status.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>bf8abd5b-8974-4bb3-8db4-6876f6134809</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>En Proceso</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

As a Recipient you can consult Cancelation Request pending a Response (Acceptance or Rejection)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:PeticionesPendientesRequest>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
      </urn:PeticionesPendientesRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <PeticionesPendientesResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>f268ba58-989c-4b5b-b9eb-fef57c181e86</TransactionId>
         <ObtenerPeticionesPendientesResult CodEstatus="1100">
            <UUID>
               <guid>5968f870-4655-4361-83f2-34e4a0cd82f4</guid>
            </UUID>
         </ObtenerPeticionesPendientesResult>
      </PeticionesPendientesResponse>
   </s:Body>
</s:Envelope>

As a Recipient that don’t want the CFDI to be canceled it is not necessary to submit an answer again. Once the response deadline has passed, the CFDI must continue Valid, because the Cancelation has not been accepted. To verify this situation, consult the CFDI Status:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://www.reachcore.com/CFDI/customHeaders" xmlns:urn="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
   <soapenv:Header>
      <cus:ApiKey>?</cus:ApiKey>
   </soapenv:Header>
   <soapenv:Body>
      <urn:ConsultaEstadoCFDIRequest>
         <urn:RfcEmisor>LAN8507268IA</urn:RfcEmisor>
         <urn:RfcReceptor>BAJF541014RB3</urn:RfcReceptor>
         <urn:Total>464000.00</urn:Total>
         <urn:Uuid>5968F870-4655-4361-83F2-34E4A0CD82F4</urn:Uuid>
      </urn:ConsultaEstadoCFDIRequest>
   </soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ConsultaEstadoCFDIResponse xmlns="urn:schemas.reachcore.com:pacservices:6.0:ConsultaSAT">
         <TransactionId>4eb79da5-4163-4213-955a-f30cf8b15283</TransactionId>
         <ConsultaResult>
            <CodigoEstatus>S - Comprobante obtenido satisfactoriamente.</CodigoEstatus>
            <EsCancelable>Cancelable con aceptación</EsCancelable>
            <Estado>Vigente</Estado>
            <EstatusCancelacion>En Proceso</EstatusCancelacion>
         </ConsultaResult>
      </ConsultaEstadoCFDIResponse>
   </s:Body>
</s:Envelope>

Cancelation with a cancelation reason

This type of cancelation is based on articles 29 and 29-A of the Fiscal Code of the Federation, published on the DOF (Official Diary of the Federation) on November 12 of 2021. Along with the stipulated on the Fiscal Miscellaneous Resolution for 2022 and its Annex 19 published on the DFO on December 27 of 2021 in its rule 2.7.1.35 (Cancelation of a CFDI without the Recipient’s Acceptance).

You can consult the SAT Site about the Fiscal Updates 2022.

The keys for cancelation are:

  1. 01 Receipt issued with errors and it has relationships
  2. 02 Receipt issued with errors but it has no relationaships
  3. 03 Operation was not performed
  4. 04 Nominative operation related to a global invoice
The simulator does not review the cancelation reason, so for scenarios 02, 03, and 04: There is no distinction from the cancelation scheme valid before January 1, 2022. The simulator has been updated only to review the cancelation reason 01 (receipt issued with erros and it has relationships) on a planned scenario which is not the same as the SAT has in production.

Cancelation reason 01 (Receipt issued with errors and it has relationships)

The SAT gives the cancelation reason 01 in the following example:

On November 18, Daniel Arzate issued invoice A with fiscal folio 6X3930536-D4B4-40E1-B917-C42F806C5C1D, when reviewing the invoice days after, he noticed it has an error in the service or product key so he must cancel it.

Cancelation Procedure

  1. You must issue a new invoice (Invoice B with fiscal folio 3FC0666E-XB5D-4132-BB1F-41879A6FB5C2) to correct the mistake and replace invoice A, relating it with the node CfdiRelacionados with key 04 (Substitution of previously issed CFDIs).
  2. After that, you will have to perform the cancelation request of invoice A and it is necessary to indicate as a cancelation reason the key 01 (Receipt issued with errors and it has relationships), you also must register the invoice fiscal folio that will replace it (invoice B).

When invoice A relates to invoice B its status becomes non-cancelable, but when you request the cancelation that relationship is broken, and therefore invoice A changes to a cancelable status with or without acceptance as applicable.

The simulator does not verify that invoice B is related to invoice A through the node CfdiRelacionados with code 04. It just considers that if you are sending invoice A with cancelation reason 01, you specified invoice B to allow the cancelation. Invoice B is not validated on its relationship with invoice A.

For more information or clarification of doubts related to this guide, please send an email to MEX-soporte@sovos.com


Regresar