write_invoice
write_invoice
Create one-off invoices line by line, finalize, pay, credit, refund and send
Live server: test server (test.mcp.solvimon.com) only.
Creates and manages invoices, payments and payment schedules. Solvimon generates invoices automatically at the end of each billing period. Use create for one-off manual invoices.
Actions by resource type:
invoices:create,add_line,delete_line,update,pay,refund,credit,archive,send_by_emailpayments:authorize,refundpayment_schedules:create,update,activate,cancel,pause
One-off invoice. create with a type, customer_id and billing_currency makes an empty DRAFT invoice on hold. Add lines with add_line: a fixed amount is FIXED with fixed_amount, a unit price is FLAT with amount and volume. delete_line takes the line id. Both work on DRAFT invoices only and return the new totals.
Finalize with update and {"on_hold": false, "status": "FINAL"}. This assigns a permanent invoice number; after that the invoice can only be credited, so confirm first.
pay and refund need a PSP integration. send_by_email needs a Mailgun or SendGrid integration. credit issues a credit note against a finalized invoice.
Example prompts
- “Draft a one-off invoice for Acme Inc. for a €2,500 implementation fee.”
- “Add 3 extra licences at €100 each to that draft.”
- “Remove the training line from the draft and show me the new total.”
- “Credit invoice INV-2026-10-000003 in full.”
- “I’ve checked the draft for Acme Inc. Finalize it.”
Example output
Prompt: “Draft a one-off invoice for Acme Inc. for a €2,500 implementation fee.”
Tool call:
Response (trimmed):
Claude’s answer: I created a draft one-off invoice for Acme Inc. and added the implementation fee: EUR 2,500.00 plus EUR 525.00 VAT (21%), EUR 3,025.00 in total. It stays a draft on hold, without an invoice number, until you ask me to finalize it. Review it in Desk first.