void_purchase_document
Void a purchase document by providing its ID. Confirmation must be true, as voiding cannot be reversed.
Instructions
Void (anular) a purchase document.
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": "void_purchase_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Purchase document id to void. | |
| confirm | No | Must be true. Voiding cannot be reversed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||