Webservice Cancellation
The new cancellation process came into effect on January 1, 2022. For more information, see CFDI 4.0 Cancellation.
See the "Additional codes for the new cancellation method / Códigos adicionales de la nueva forma de cancelación" section in the
cancelar y cancelarAsincrono methods documentation to see the new process codes, and what UUIDs those codes return in the test enviroment.
This section presents the documentation for the CFDI cancellation web service, which provides specific methods for canceling electronic invoices with the SAT (Mexican Tax Administration Service).
| Webservice | Cancellation |
| URL de pruebas | https://testing.solucionfactible.com/ws/services/Cancelacion |
| URL de producción | https://solucionfactible.com/ws/services/Cancelacion |
| Estilo de WSDL | Document |
Credentials
The username and password to use in the methods are those assigned in the client's stamping administration panel.
The credentials that can be used to connect to the test web service are as follows:
- User: testing@solucionfactible.com
- Password: timbrado.SF.16672
Methods
- cancelarAsincrono. It receives the UUID of an e-document stamped by Solución Factible to process its cancellation and asynchronously sends the request to the SAT.
- getStatusCancelacionAsincrona. You will receive a UUID to check the cancellation status and receive a cancellation acknowledgment.
- enviarSolicitudCancelacionAsincrono. You receive a pre-signed cancellation request that is first verified and then scheduled for submission to the SAT.
- cancelarSectorPrimario. Cancel a Primary Sector e-document stamped by Solución Factible.
Code examples for consuming a Web service