send_invoice
Email invoices to clients directly from FreshBooks to streamline billing and ensure timely payments.
Instructions
Send an invoice by email to the client.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes |
Implementation Reference
- src/mcp_freshbooks/server.py:184-191 (handler)The handler function for the 'send_invoice' MCP tool.
async def send_invoice(invoice_id: int) -> str: """Send an invoice by email to the client.""" result = await client.accounting_update( "invoices/invoices", invoice_id, "invoice", {"action_email": True} ) inv = result.get("invoice", result) return f"Invoice #{inv.get('invoice_number', '?')} sent to client." - src/mcp_freshbooks/server.py:182-182 (registration)The registration decorator for the 'send_invoice' tool.
@mcp.tool()