Email a purchase order
purchasing_send_orderEmail an order to the supplier in the business's name, with a link to its PDF. A draft takes the next number first (PO-0001 on, without gaps), its PDF is made and kept in the file store, and it no longer changes; a failed email numbers nothing. An order already sent is emailed again (to to, if given). Needs the business's name for documents (invoices_set_profile legal_name) and, for anyone outside the business, a paid account. To record an order as sent without emailing it, use purchasing_update_order with mark_sent ($0.01). Costs $0.10 per call; nothing if it fails.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order": "<order>"
},
"name": "purchasing_send_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Send to this address instead of the supplier's email. | |
| order | Yes | The order_id, or the order's number like "PO-0007". | |
| message | No | A short note in the email, e.g. "Please deliver to the back door." |