Skip to main content

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

image-20240219-181751.png

This method works as follows:

  1. The user enters the parameters for the ChangeDocumentStatus method and sends the corresponding parameters for this event.
  2. With those parameters, the event's XML is built.
  3. The generated event is signed.
  4. Once signed, the schema is validated.
  5. The Tax Authority's Web Service is consumed and the event is sent.
  6. The Tax Authority responds according to the validations performed.
  7. The API responds with the result of the processing.
  8. 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:

PRODUCTIONhttps://developers.gosocket.net/api/v1/Document/ChangeDocumentStatus
SANDBOXhttps://developers-sbx.gosocket.net/api/v1/Document/ChangeDocumentStatus

Each 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