receipts_cancel
Cancel a receipt from draft or issued status and preserve its historical record instead of deleting it; optionally include a cancellation reason and internal notes.
Instructions
Cancel a receipt. Can be cancelled from draft or issued status. Preserves the historical record unlike deletion. Optionally provide a cancellation reason.
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": {
"uuid": "<uuid>"
},
"name": "receipts_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the receipt to cancel | |
| companyId | No | Company UUID (overrides configured default) | |
| cancellationNotes | No | Internal notes about the cancellation | |
| cancellationReason | No | Reason for cancellation |