Skip to main content
GET /v1/invoices and GET /v1/notes list the documents of the API key’s tenant and stage, newest first, so you can reconcile (“which invoices did I issue yesterday, and which did the DIAN accept?”) or catch up after a lost webhook. Each item is exactly what the single read (GET /v1/invoices/{document_id}, GET /v1/notes/{kind}/{document_id}) returns, including the buyer as signed (customer: id_type, id_number without check digit, name). Filters, all optional and combined with AND: Pages hold limit items (1 to 50, 20 by default). The answer is {"items": [...], "next_cursor": "..."}: send next_cursor back as cursor, with the same filters, for the next page; it is null on the last page. A cursor sent with other filters answers 422 invalid_cursor. Documents created while you walk the list never shift or repeat the pages you have not read yet; start a new walk to see them. There is no total count, and no match is 200 with an empty items, never a 404.
With the TypeScript SDK, cufea.invoices.listAll({ issued_from: "2026-12-01" }) follows the cursor for you (for await (const invoice of ...)).