SIFENDE
Referencia APIExplorador de la API

Listar eventos del contribuyente

GET
/api/v1/documento-electronico/eventos
AuthorizationBearer <token>

API key de Sifende en el header Authorization: Bearer {api-key}. Además de autenticar, fija el contribuyente emisor y un ambiente inmutable DEV, PROD o SANDBOX: por eso ninguno de los dos se envía en el body. En PROD, la clave requiere un plan que incluya la API de integración; si no, toda ruta responde 403 plan-operation-not-allowed.

In: header

Query Parameters

page?integer

Página, base 0

Formatint32
Default0
size?integer

Tamaño de página

Formatint32
Default10
tipoEvento?string

Filtro por tipo de evento

Response Body

*/*

application/json

application/problem+json

curl -X GET "https://example.com/api/v1/documento-electronico/eventos?tipoEvento=CANCELACION"
{  "content": [    {      "eventoSifenId": 0,      "documentoElectronicoId": 0,      "contribuyenteId": 0,      "ambiente": "string",      "tipoEvento": "string",      "estadoEvento": "string",      "cdc": "string",      "motivo": "string",      "protocoloAutorizacion": "string",      "codigoRespuesta": "string",      "mensajeRespuesta": "string",      "fechaCreacion": "2019-08-24T14:15:22Z",      "fechaProcesamiento": "2019-08-24T14:15:22Z",      "numeroTimbrado": 0,      "establecimiento": "string",      "puntoExpedicion": "string",      "numeroInicio": "string",      "numeroFin": "string",      "tipoDocumento": 0,      "serieNumero": "string"    }  ],  "page": 0,  "size": 0,  "totalElements": 0,  "totalPages": 0}