- Content
Web Service (REST) Web Service (REST) Tax Mailbox
This section presents the documentation for the Tax Mailbox Webservice, allowing you to receive, accept, and reject pending cancellations request.
| Webservice | Cancellations request |
| Test URL | https://testing.solucionfactible.com/ERPWebServices/rest/BuzonTributario |
| Production URL | https://solucionfactible.com/ERPWebServices/rest/BuzonTributario |
Credentials
The username and password used in the methods must be registered users in the implementation.
The test credentials that can be used for testing are as follows:
- User: testing@solucionfactible.com
- Password: a0123456789
Methods
All methods are executed via HTTP requests. When the method requires sending data, it can take the following formats:
- json: by default; no additional header needs to be specified.
- xml: the header must be added
Content-Type: text/xml - *txt: the header must be added
Content-Type: text/plain
*If the data is sent in txt, each UUID must be on a separate line, example:
The response for each method can be obtained in the following formats:
- json: by default; no additional header needs to be specified.
- xml: the header must be added
Accept: text/xml
SolicitudesCancelacion (Cancellations request)
The method/SolicitudesCancelacion you get the following information for each pending cancellation request:
- fechaEmitida - example: 2018-11-08T13:57:55
- fechaRecibida - example: 2018-11-08T13:58:33
- folio - example: 550276
- importe - example: 1160.00
- moneda - example: MXN
- nombreEmisor - example: ESCUELA KEMPER URGATE SA DE CV
- rfcEmisor - example: EKU9003173C9
- rid - example: 4236048
- serie - example: EE
- uuid - example: 7CA8A6E6-0038-449E-AD3D-6A664EADA800
The application consists of a GET request through HTTP. And the response shows the pending requests.
Sample application
Sample answer
Aceptar (Accept)
The method /Aceptar causes the acceptance of all requests specified in the petition.
The request must be of the POST type and to specify the requests to be accepted, the uuid of each cancellation request must be added as the content of the request.
Sample application
Sample answer
Rechazar (Reject)
The method /Rechazar causes the rejection of all requests specified in the petition.
The request must be of POST type and to specify the requests to be rejected, the uuid of each cancellation request must be added as content of the request.
Sample application
Sample answer