The cancellation process has five web services to carry out the corresponding flow according to the SAT new specifications.
In addition to sending CFDIs to cancel, these web services allow you to perform query, acceptance or rejection tasks, both on the side of the issuer and the recipient.
The following describes the web services used in the cancellation flow.
Navigation menu
Documentación en español
It allows you to know if a CFDI is related to other CFDIs and what documents they are.
It applies to the issuing taxpayer.
Production URL
https://www.timbra.mx/WCFCancelador_ConsultaRelacionados/Cancelacion_CfdiRelacionado.svc
It allows you to send CFDI cancellation requests using the cancellation XML defined by the SAT.
The cancellation WS allows you to cancel CFDIs that have been issued by Detecno or by another PCCFDI.
It applies to the issuing taxpayer.
Test URL
https://test.timbra.mx/WCFCancelador/CancelacionXML.svc
user: AAAAAA\wsTIMBRADOR
password: GlMkm9F=b+
Production URL
It allows you to query cancellation requests that are awaiting a response from the recipient.
It applies to the recipient taxpayer.
Production URL
https://www.timbra.mx/WCFCancelador_PeticionesPendientes/PeticionesPendientes.svc
It allows the recipient to accept or reject the cancellation request for a CFDI that does not meet the requirements for a direct cancellation.
It applies to the recipient taxpayer.
Production URL
https://www.timbra.mx/WCFCancelador_AceptacionRechazo/AceptacionRechazo.svc
It allows you to know the status of the invoice and the cancellation status.
It applies to both the issuing taxpayer and the receiver.
This web service is public and is managed directly by the SAT, so no intervention from Detecno is required to consume it and make the corresponding queries.
Production URL
https://consultaqr.facturaelectronica.sat.gob.mx/ConsultaCFDIService.svc
Digital certificate that guarantees the authenticity of the website. It has the function of activating the HTTPS protocol and enabling a secure connection from the server to the client.
This certificate applies to the web services that are hosted on the Detecno server:
CfdiRelacionado
CancelacionXML
PeticionesPendientes
AceptacionRechazo
We share the certificate with you in case you need to install it in your trusted certificates directory.
Creating the SAT cancellation XML and receiving the response XML
XML example with cancellation type "01" (Invoice issued with errors and with relationship)