Create purchase order
create_purchase_orderCreates a draft purchase order to a supplier with line items, optionally for a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Line items. The total is the sum of quantity times unit cost. | |
| notes | No | ||
| subject | Yes | ||
| vendor_id | Yes | The supplier's contact_id (list_contacts type vendor). | |
| order_date | No | YYYY-MM-DD. Default: today. | |
| project_id | No | The project the order is for. |