Void invoice
ghl_void_invoiceVoid sent invoices to cancel them while retaining the record. Use when an invoice can no longer be deleted.
Instructions
Void an invoice. Use this for invoices that have already been sent (which can no longer be deleted). Voiding cancels the invoice while keeping the record.
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": {
"invoiceId": "<invoiceId>"
},
"name": "ghl_void_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | ||
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |