The Spanish version is the authoritative reference. View in Spanish
Method to report events on documents (ChangeDocumentStatus)
The purpose of this method is to change the status of the document's events and report it to the Tax Authority using the POST ChangeDocumentStatus service.
How the method works

This method works as follows:
- The user enters the parameters for the ChangeDocumentStatus method and sends the corresponding parameters for this event.
- With those parameters, the event's XML is built.
- The generated event is signed.
- Once signed, the schema is validated.
- The Tax Authority's Web Service is consumed and the event is sent.
- The Tax Authority responds according to the validations performed.
- The API responds with the result of the processing.
- If the result is successful, the document is updated and the XML of the sent event is attached.
To connect to this functionality, you will need to enter the URL according to the environment to be used:
PRODUCTION
https://developers.gosocket.net/api/v1/Document/ChangeDocumentStatusSANDBOX
https://developers-sbx.gosocket.net/api/v1/Document/ChangeDocumentStatusEach country has a different way of using this method. Below, we explain the method and how it works in each country:
Colombia
México
Panamá
Paraguay
Uruguay