Holded purchase documents
holded_purchasesManage purchase documents (bills, refunds, orders, shipments) by listing, retrieving, generating PDFs, handling attachments, and executing actions like create, update, delete, approve, send, and record payments.
Instructions
Purchase documents by type: purchase (supplier bill), purchase_refund, purchase_order, purchase_shipment. Actions: list, get, pdf (output_path), list_attachments, attach (file_path), received_items (orders), create, update, delete, approve, send, set_pipeline, record_payment, receive (orders). Amounts in responses are strings with a comma decimal separator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record id (24 hex characters) | |
| data | No | Payload for create and update actions, following the Holded v2 request contract | |
| sort | No | ||
| type | No | purchase | |
| limit | No | Page size, 1 to 200 (default 50) | |
| action | Yes | ||
| cursor | No | Cursor from the previous page to continue listing | |
| status | No | ||
| confirm | No | Required for gated actions. The first call without it sends nothing and explains what would happen. | |
| end_date | No | YYYY-MM-DD, inclusive | |
| file_path | No | ||
| contact_id | No | ||
| start_date | No | YYYY-MM-DD, inclusive | |
| output_path | No | ||
| pipeline_id | No | ||
| due_date_end | No | ||
| due_date_start | No | ||
| approval_status | No |