invoices_cancel
Cancel an issued invoice with a reason (min 10 characters); status becomes cancelled and invoices stay in the system. Use restore to undo accidental cancellation.
Instructions
Cancel an issued invoice. Requires a cancellation reason (minimum 10 characters). Changes status to "cancelled". Cancelled invoices remain in the system for record-keeping. Use invoices_restore to undo an accidental cancellation.
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>",
"reason": "<reason>"
},
"name": "invoices_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID to cancel | |
| reason | Yes | Reason for cancellation (minimum 10 characters) | |
| companyId | No | Company UUID override (uses active company if not set) |