Invoicing from an AI agent

Invoicora speaks the Model Context Protocol, so an agent can create a real document instead of describing one.

What an agent can do

  • Create a document, as a draft or issued
  • Look a client up, or add one
  • Send a document by email
  • Record a payment
  • Set up a monthly schedule
  • Render a PDF preview that stores nothing at all

Connect an agent

MCP server
Endpoint
https://app.invoicora.com/mcp
Transport
Streamable HTTP (POST), stateless
Authentication
Authorization: Bearer ik_test_YOUR_KEY
Tools
create_document, get_document, list_documents, send_document, record_payment, list_clients, create_client, create_schedule, render_preview
Claude Code
claude mcp add --transport http invoicora https://app.invoicora.com/mcp --header "Authorization: Bearer ik_test_YOUR_KEY"

Make a key in the dashboard under API keys and start with a test key. Any MCP client that speaks Streamable HTTP and can send a header connects the same way.

The REST API behind the same tools: API docs

The preview matters most

An agent can show someone exactly what the document will look like, and only then create it. Nothing is numbered, stored or sent until a person means it.

Keeping it safe

The API key decides the workspace, and every tool runs the same workspace-scoped code the REST API does: an agent cannot reach anything its key does not open. Start with a test key, whose documents are marked as tests and whose emails are never really sent.

If you would rather not hand an agent a live key: leave issue out of every call, and nothing gets a number until someone presses Issue in the dashboard.