Cancelation examples in testing environment for timbrado
Description and examples of the usage for the cancelation-webvervices in timbrado.
This document describes how the available methods for the new version of invoice cancelation can be used
in several cases. All available methods behave the same and return the same
exit codes.
The only difference is in the number of parameters given to each method.
Since this is a testing environment,
the maximum time elapsed for invoice cancelation is 5 minutes instead of the average 72 hours.
Please keep in mind, that all methods receive the UUID of an invoice to be canceled only when its was
Solución Factible® the entity which stamped (timbro) the invoice.
If the invoice was stamped (timbrado) by another entity, the printed expression (Expresion impresa) of
the invoice must be included in the UUID parameter.
- Available Web services
- timbrado: cancelar examples
- timbrado: cancelarBase64 examples
- cancelacion (timbrado): cancelar examples
- cancelacion (timbrado): cancelarAsincrono examples
- Cases
- Cancelling an invoice with a related document
- Trying to cancel an invoice already in a cancelation attempt
- The attempt to cancel an invoice returns a denial-to-cancel response by the invoice's recipient
- The attempt to cancel an invoice returns a successful cancelation response
- Cancelling an invoice which Solución Factible did not stamped, using the invoice's printed expression
- timbrado:cancelar
-
- Returns
-
- timbrado:cancelarBase64
-
- Returns
-
- cancelacion (timbrado): cancelar
-
- Returns
-
- cancelacion (timbrado): cancelarAsincrono
-
- Returns
-
- Cases
- Cancelling an invoice with a related document
-
- Response
-
- Trying to cancel an invoice already in a cancelation attempt
-
- Response
-
- The attempt to cancel an invoice returns a denial-to-cancel response by the invoice's recipient
-
- Response
-
- The attempt to cancel an invoice returns a successful cancelation response
-
- Response
-
- Cancelling an invoice which Solución Factible did not stamped, using the invoice's printed expression
-
- Response
-
This method's advantage is that if the process is successful, an email will be sent to you notifying you with the result of the operation.
The method cancelar of the cancelacion webservice in timbrado is used in all cases.
After waiting 5 minutes and executing the method again the next response will be received:
After waiting 5 minutes and executing the method again the next response will be received: