Send a purchase order
submit_purchase_orderSend the buyer's purchase order for an issued offer or a placed order: number, revision, lines, total, currency and payment terms. It is matched against the accepted terms; differences are recorded and shown in inspect_offer thread.purchasing as exceptions, never silently accepted. A changed purchase order is the same number with a higher revision. This does not accept the offer and pays nothing.
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>",
"token": "<token>",
"terms_sha256": "<terms_sha256>",
"po": "<po>",
"name": "<name>"
},
"name": "submit_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request or offer id from your receipt or customer link | |
| po | Yes | ||
| name | Yes | Name of the person making this for the buyer | |
| token | Yes | Private token from your receipt or customer link; keep it for later visits | |
| organization | No | The buyer's organization | |
| terms_sha256 | Yes | Exact terms_sha256 from inspect_offer; the act is refused if the terms have changed since |