document_amend
Replace draft invoice or bill terms at the expected revision to update an editable document before approval.
Instructions
Replace draft terms at the expected revision.
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": {
"company": "<company>",
"id": "<id>",
"revision": "<revision>",
"terms": "<terms>"
},
"name": "document_amend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A sales invoice or vendor bill ID. | |
| terms | Yes | Complete draft revision eligible for approval. | |
| company | Yes | ||
| revision | Yes | Monotonic revision of an editable draft. |