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 sk_live_.... Además de autenticar, fija el contribuyente emisor: por eso el emisor no se envía en el body.

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,      "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}