Raise a purchase order
purchase_order_createRaise a purchase order to a supplier from items and return its PO number and totals. unit_price is in MAJOR units; currency, VAT and the buyer block come from the shared profile. Free: 5 documents a calendar month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | What is being ordered | |
| notes | No | Free text printed under the totals, e.g. delivery address or terms | |
| currency | No | Defaults to your business default currency | |
| supplier | Yes | Supplier name or client id. A name the invoice server already knows brings its address, email and VAT id onto the order | |
| tax_rate | No | VAT percent for lines with no rate of their own. Defaults to the business default | |
| issue_date | No | YYYY-MM-DD, defaults to today in your business profile's timezone | |
| supplier_email | No | Only if the user gave it; otherwise the stored client's email is used | |
| supplier_vat_id | No | Supplier VAT / tax registration id | |
| discount_percent | No | Discount applied to every line, in percent | |
| supplier_address | No | Postal address for the SUPPLIER block, newlines allowed | |
| expected_delivery_date | No | YYYY-MM-DD, when the goods or work are due |