Render the purchase order as a PDF
purchase_order_pdfCall this tool to render one purchase order as an A4 print-ready document and return a download link valid for one hour: the invoice layout titled PURCHASE ORDER, with the buyer and supplier. Pro.
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": {
"id": "<id>"
},
"name": "purchase_order_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Purchase order id such as PO-2026-0001 | |
| out_path | No | Name for the downloaded file, e.g. acme-credit. Defaults to the document id; the document comes back as a download link valid for one hour |