Skip to main content
Glama

delete_invoice

Remove invoices permanently from FreshBooks to correct errors, eliminate duplicates, or clean up records. Specify the invoice ID to delete.

Instructions

Delete an invoice permanently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idYes

Implementation Reference

  • The delete_invoice tool handler, which uses the client.accounting_delete method to permanently remove an invoice from FreshBooks.
    @mcp.tool()
    @_handle_errors
    async def delete_invoice(invoice_id: int) -> str:
        """Delete an invoice permanently."""
        await client.accounting_delete("invoices/invoices", invoice_id)
        return f"Invoice {invoice_id} deleted."

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