Skip to main content
GET
List credit and debit notes

Authorizations

Authorization
string
header
required

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

Query Parameters

kind
enum<string> | null

credit_note or debit_note; both when absent.

Available options:
credit_note,
debit_note
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.

Required range: 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.

Available options:
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
default:20

Page size, 1 to 50; default 20.

Required range: 1 <= x <= 50
cursor
string | null

The next_cursor of the previous page.

Required string length: 1 - 512

Response

Successful Response

A page of credit and debit notes, newest first.

items
NoteRecord · object[]
required

Each note exactly as GET /v1/notes/{kind}/{document_id} returns it.

next_cursor
string | null
required

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