Saltar al contenido principal
GET
List invoices

Autorizaciones

Authorization
string
header
requerido

Send your Cufea API key as Authorization: Bearer <key>.

Parámetros de consulta

reference
string | null

The reference given on create (exact match).

Required string length: 1 - 100
Pattern: ^[A-Za-z0-9._:-]{1,100}$
prefix
string | null

The document prefix (exact match), e.g. SETP.

Required string length: 1 - 20
Pattern: ^[A-Za-z0-9]+$
number
integer | null

The document number (exact match), e.g. 990000001.

Rango requerido: x >= 1
customer_id_number
string | null

The buyer's identification number as signed, without check digit (exact match). A document created before this filter existed matches once the operator has backfilled it.

Required string length: 1 - 60
dian_outcome
enum<string> | null

accepted or rejected by the DIAN, or pending: everything without a final DIAN answer yet.

Opciones disponibles:
accepted,
rejected,
pending
issued_from
string<date> | null

First issue date (YYYY-MM-DD, Colombian time), inclusive.

issued_to
string<date> | null

Last issue date (YYYY-MM-DD, Colombian time), inclusive.

limit
integer
predeterminado:20

Page size, 1 to 50; default 20.

Rango requerido: 1 <= x <= 50
cursor
string | null

The next_cursor of the previous page.

Required string length: 1 - 512

Respuesta

Successful Response

A page of invoices, newest first.

items
InvoiceRecord · object[]
requerido

Each invoice exactly as GET /v1/invoices/{document_id} returns it.

next_cursor
string | null
requerido

Pass it as cursor, with the same filters, for the next page; null on the last page.