List Documents
list_documentsList documents from Oblio by type (invoice, proforma, notice) with filters like date range, client, status, and pagination. Optionally include product lines, payments, or e-Invoice status.
Instructions
Lists documents from Oblio via GET /api/docs/{type}/list with filters and pagination. Each result contains: id, draft, canceled, seriesName, number, issueDate, dueDate, precision, currency, exchangeRate, total, collected (0=unpaid, 1=paid), mentions, useStock, type, link, einvoiceStatus (text, sent, code), and client object (clientId, cif, name, rc, code, address, etc.). Optionally include product lines (withProducts=1), payment details (withCollects=1), or e-Invoice SPV status (withEinvoiceStatus=1). Max 100 results per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Document type to list | |
| filters | Yes | Filter and pagination options |