MCP PROMPT · BILLING & INVOICING

/void-invoice

Void a non-paid invoice (destructive — cannot be undone).

01 · The flow

What the agent does, in order.

  1. 01 Call get_invoice to confirm the invoice exists and check status.
  2. 02 Confirm intent with the user — void is destructive. If the invoice is DRAFT, suggest delete_invoice instead (cleaner).
  3. 03 WARN: cannot void PAID or already-VOIDED invoices.
  4. 04 Call void_invoice with invoiceId.
  5. 05 Optionally call create_note on the customer's account to record the reason.
02 · Tools called

3 typed tools in sequence.

  • get_invoice
  • void_invoice
  • create_note

Every tool ships with MCP annotations (title, readOnlyHint, destructiveHint, openWorldHint, idempotentHint). Clients can gate destructive calls before invoking. Full catalog: /server-card.json.

Try this in your agent.

Connect FavCRM to Cursor, Claude, ChatGPT, or any MCP client. Type /void-invoice in chat. Agent runs the steps in order.

Verified .