Docs menu
All MCP tools
MCP tools · Invoices
Link a client invoice to a CRM case
link_invoice_caseLink one client invoice to a CRM case, or unlink it with crm_case_id null. Changes no amount. Needs invoice automations on for the organization; runs at once. Confirm with the user before calling.
- Scope needed
- billing:invoices:write
- Acts as
- You, the signed-in member, with your role's permissions.
- Changes data
- Yes, and it can't be taken back
- Held for approval
- No
- Available to
- Switched on per organization (invoice tools)
Inputs
| Name | Type | Description |
|---|---|---|
| org_id | string | Organization id. Optional when the user belongs to one organization; otherwise the error lists theirs. |
| invoice_idrequired | string | The invoice id (from list_invoices). |
| crm_case_idrequired | string | The CRM case id (from crm_list_cases), or null to unlink. |