list_purchase_documents
List commercial purchase documents with filtering by type, supplier, date, and fields. Newest documents appear first by default.
Instructions
List commercial purchase documents, newest first by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Exact date match (YYYY-MM-DD). TOCOnline does not support ranges. | |
| sort | No | JSON:API sort. Defaults to `-date` (newest first). | -date,-id |
| fields | No | Comma-separated subset of fields to return. | |
| page_size | No | Items per page (1-500). | |
| page_number | No | 1-based page number. | |
| supplier_id | No | Filter by supplier id (exact match). | |
| document_type | No | Exact document type code (supplier-invoice codes vary). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||