ACTUALIZAR ESTADO DEL DOCUMENTO
POST/api/documents/updatedocumentstatus
Ejemplo:
- Método: POST
- URL: https://demo.pro5.fastura.app/api/documents/updatedocumentstatus
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
externail_idstring
Example:
2dded172-cd17-4078-9c88-10a9b1177f2d
state_type_idstringrequired
Example:
01
Body
required
- JSON A ENVIAR
externail_idstring
Example:
2dded172-cd17-4078-9c88-10a9b1177f2d
state_type_idstringrequired
Example:
01
Body
required
- JSON A ENVIAR
externail_idstring
Example:
2dded172-cd17-4078-9c88-10a9b1177f2d
state_type_idstringrequired
Example:
01
Responses
- 200
- 400
- 422
JSON RESPUESTA
Nota Importante: Para completar state_type_id tiene que tomar en cuenta la lista de estados de un documento:
- 05: Aceptado
- 11: Anulado
- 03: Enviado
- 07: Observado
- 13: Por anular
- 09: Rechazados
- 01: Registrado
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
{
"success": true
}
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
<success>true</success>
Invalid input
Validation exception