Delete invoice
ghl_delete_invoiceDelete an unsent draft invoice permanently. For sent invoices, void them instead. This action cannot be undone.
Instructions
Delete an invoice. Only works while it is a draft — a sent invoice must be voided with ghl_void_invoice instead. Destructive and cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | ||
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |