# delete-invoice

API to delete invoice by invoice id

Agent View of the PolicyLayer registry record for `delete-invoice`. HTML page: https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-invoice

## Facts

- Tool: `delete-invoice`
- Server: GoHighLevel MCP Server (`drausal/gohighlevel-mcp`) — https://policylayer.com/tools/drausal-gohighlevel-mcp.md
- Homepage: https://github.com/drausal/gohighlevel-mcp
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete-invoice",
    "arguments": {}
  }
}
```

## Why delete-invoice is rated Critical

Deleting an invoice is an irreversible destructive action that cannot be undone. Invoices are financial records with legal and accounting implications. An AI agent misusing this tool could permanently remove critical business financial documentation, affecting accounting records, tax compliance, and business operations.

From the tool's own definition: "The tool is explicitly named 'delete-invoice' and described as 'API to delete invoice by invoice id'. The verb 'delete' combined with financial documents (invoices) indicates irreversible removal of data."

## Use case

AI agents call delete-invoice to permanently remove resources in GoHighLevel MCP Server, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches GoHighLevel MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete-invoice"
  ]
}
```

## Other tools on GoHighLevel MCP Server (405)

- `bulk-delete-media-objects` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/bulk-delete-media-objects.md
- `bulk-delete-social-planner-posts` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/bulk-delete-social-planner-posts.md
- `bulkUpdate` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/bulkupdate.md
- `cancel-invoice-schedule` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/cancel-invoice-schedule.md
- `cancel-scheduled-email-message` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/cancel-scheduled-email-message.md
- `cancel-scheduled-message` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/cancel-scheduled-message.md
- `delete-account` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-account.md
- `delete-action` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-action.md
- `delete-agent` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-agent.md
- `DELETE-an-email-sms-template` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-an-email-sms-template.md
- `delete-appointment-note` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-appointment-note.md
- `delete-association` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-association.md
- `delete-Business` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-business.md
- `delete-calendar` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-calendar.md
- `delete-calendar-resource` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-calendar-resource.md
- `delete-contact` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-contact.md
- `delete-contact-from-workflow` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-contact-from-workflow.md
- `delete-conversation` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-conversation.md
- `delete-coupon` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-coupon.md
- `delete-csv` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-csv.md
- `delete-csv-post` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-csv-post.md
- `delete-custom-field` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-custom-field.md
- `delete-custom-field-2` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-custom-field-2.md
- `delete-custom-field-folder` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-custom-field-folder.md
- `delete-custom-menu` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-custom-menu.md
- `delete-custom-value` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-custom-value.md
- `delete-estimate` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-estimate.md
- `delete-estimate-template` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-estimate-template.md
- `delete-event` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-event.md
- `delete-event-notification` — Destructive — https://policylayer.com/tools/drausal-gohighlevel-mcp/delete-event-notification.md
- …and 375 more: https://policylayer.com/tools/drausal-gohighlevel-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=drausal-gohighlevel-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/drausal-gohighlevel-mcp
