The Invoice API (and MCP server) for agents

Everything the web UI does is available over JSON: create invoices, filter them, and get back server-rendered PDFs. AI agents speak the same surface through a Model Context Protocol endpoint — which is why this site ships llms.txt and a published agent skill.

Read the skill docs →

REST + MCP, one contract

Same wire format for curl scripts and Claude-style agent sessions: initialize, tools/list, tools/call.

Scoped by token

Bearer tokens map to an account; agents only ever see that account's invoices.

PDFs without a browser

GET /api/v1/invoices/:id.pdf renders server-side — identical output to what humans download.

Frequently asked questions

How do I authenticate?

Send Authorization: Bearer <api_token>. Agents should ask their user for the token; it can be regenerated anytime.

Is there a SDK?

No SDK needed — plain JSON over HTTPS. The agent SKILL.md documents ready-to-paste curl flows.

What are the rate limits?

API: 120 requests/minute per IP. MCP: 60/minute. Sign-in and password reset: 10/minute.

Can I create an invoice and get the PDF in one round-trip?

Yes — POST the invoice, then GET /api/v1/invoices/:id.pdf with the returned id.