Skip to main content
Glama

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
NameRequiredDescriptionDefault
invoice_idYes

Implementation Reference

  • 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."
  • The registration decorator for the 'send_invoice' tool.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlexlaGuardia/MCP-Freshbooks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server