Create purchase order
create_purchase_orderCreate a draft purchase order. Lines use quantity_ordered and unit_cost.
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": {
"lines": "<lines>"
},
"name": "create_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| lines | Yes | ||
| currency | No | ||
| supplier_id | No | ||
| sheet_number | No | ||
| supplier_name | No |