List archive documents
yuki_list_documentsDocuments in the archive (invoices, receipts, bank statements...) with id, subject, type, contact, dates, amount. Narrow by archive folder or by document type, and by creation date range. Page with number_of_records and start_record. Archive.Documents / DocumentsInFolder / DocumentsByType.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Skip this many documents of the fetched batch (default 0). A long batch is cut to fit the reply: use next_offset with the same arguments. | |
| end_date | No | Last day, yyyy-mm-dd (default 2100-01-01). | |
| domain_id | No | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. | |
| folder_id | No | Only this archive folder (id from yuki_list_document_folders). Not together with document_type. | |
| sort_order | No | Sort order (default CreatedDesc). | |
| start_date | No | First day, yyyy-mm-dd (default 1990-01-01). | |
| start_record | No | Offset of the first document (default 0). Add numberOfRecords to page on. | |
| document_type | No | Only this Yuki document type number. Not together with folder_id. | |
| number_of_records | No | Documents per call (default 100, max 500). |