Inicio  |  Timbrado  |  2.2. WebServices  |  2.2.1. WS Cancelación  |  2.2.1.3. Cancelacion.cancelar
La LCO fue actualizada por última vez el 21/nov/2024

cancelar

Receives the UUID of an invoice which was stamped (timbrado) by Solución Factible® for cancelation, sending the request to the SAT.

The invoice cannot be canceled if the CSD does not match the invoice's issuer, an UUID that cancelation does not apply to, etc.

Cancelation examples in testing environment

Note: we recommend the webservice method: cancelarAsincrono be use instead.

SOAPAction: urn:cancelar

Parameters:

Name Description Required
usuario xs:string

Username registered in the timbrado-dashboard.
Yes
password xs:string

User's password.
Yes
uuid xs:string

UUID of invoice to be canceled.
Yes
rfcEmisor xs:string

Issuer's RFC.
Yes
csdCer xs:base64Binary

CSD certificate to be use for the cancelation request. This value is expected to be base64-codified.
Conditional
csdKey xs:base64Binary

CSD's private key, it must be the same used to generate the digital seal (sello digital) of the invoice. This value is expected to be base64-codified.
Conditional
csdPassword xs:string

Private key's password, it must be the same used to generate the digital seal (sello digital) of the invoice.
Conditional
properties KeyValue[]

List of key-value parameters available for future versions.
No

Properties

Key-value parameters
As of this date, this method does not have any key-value parameters.

SOAP 1.2 request example:

Returns:

This method returns the complex type: CancelacionResponse, with the following attributes:
Name Description Required
status xs:int

Transaction's status code. See cancelation response codes
Yes
mensaje xs:string

In case of an error, its description. If the response code is 200, then the message will be the UUID of the invoice canceled.
Yes

Response examples:


Cancellation response codes:

Response code for the validation of the cancellation request prior to sending the request to the SAT service

Code message
200 The cancellation process completed successfully.
211 The CFDI cancellation request with fiscal folio XXXXXXXXXX is in process.
500 An error occurred. The validation and certification process was not completed.
501 An internal database communication error has occurred, try again.
601 Authentication error, username and/or password are incorrect.
602 his user's account has been blocked.
603 This user's password has expired.
604 Maximum login attempts exceeded.
605 This user is inactive
611 Received data is incomplete or not where expected.
620 Permission denied.
621 Invalid argument format or structure for the data type.
630 The implementation has no folios available.
631 The user's account has no timbres available.
633 Improper use of production account in tests or test account in production.
640 Inactive application.
1701 The CSD's public & private keys do not match.
1702 The private key's password is incorrect.
1703 The private key does not have the proper structure.
1704 The private key is not a RSA key.
1710 The certificate's structure does not have a proper X509 structure.
1711 The certificate is not yet valid.
1712 The certificate has expired.
1713 The public key in this certificate is not a RSA key.
Datos de contacto
comments powered by Disqus