Skip to main content
Docs menu
All MCP tools

MCP tools · Invoices

Link a client invoice to a CRM case

link_invoice_case

Link 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

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization; otherwise the error lists theirs.
invoice_idrequiredstringThe invoice id (from list_invoices).
crm_case_idrequiredstringThe CRM case id (from crm_list_cases), or null to unlink.