Your agent.
Our invoice tools.
Invoice By AI works with your own agent in two ways—a compatible chatbot connected through remote MCP, or a compatible browser agent working directly on the page through WebMCP—plus our built-in online assistant when you want no setup at all.
Connect your chatbot ↗Choose the right way to work
| PATH | BEST FOR | REQUIREMENTS | COST / LIMITS |
|---|---|---|---|
| Browser agent (Page WebMCP) | Live single-invoice editing on / or personalized CSV batches (up to 50) on /batch | Experimental: compatible browser & agent with WebMCP enabled; keep the tab open | Free · uses your own agent, never hosted AI credits |
| Chatbot (Remote MCP + OAuth) | Creating, updating and downloading invoices from a chat app using saved business profiles | Chat app supporting custom Remote MCP + OAuth; authorize at /connect | 20 new invoices / month (Free) · 300 / month & 10 profiles (Studio) |
| Online assistant (DeepSeek) | Describing 1 invoice or up to 20 batch invoices in plain language with zero setup | Any browser on Online assistant or /batch | Paid task credits (1 credit per draft + 2 AI revisions; failed runs refund credits) |
Getting connected
Option A · Connect a chatbot via Remote MCP (OAuth)
- Open Connect your chatbot and copy the
/mcpserver address. - In a chat application that supports custom Remote MCP connections, add the server URL and choose OAuth.
- Sign in, approve the requested scopes, and optionally save a business profile so fixed company details stay locked.
- Ask your chatbot to list templates or profiles, create an invoice with a stable
requestKey, and return a private 10-minute PDF download link.
Option B · Use a browser agent on the page (WebMCP)
- Use a browser and agent that support WebMCP. Chrome currently documents an origin trial from version 149 and a local testing flag:
chrome://flags/#enable-webmcp-testing(may require a browser restart; Invoice By AI does not change browser settings). - Open the editor (for one invoice) or batch workspace (for up to 50 invoices) and keep the tab open. On the editor, open “Your agent” to confirm registration status.
- Ask your browser agent to discover the page tools, fill or update drafts, and let you review before downloading.
Optional · Install the Invoice By AI Agent Skill
Give compatible coding or browser agents our structured workflow guide so they follow the right tool sequence, decimal string format, and batch CSV columns (including optional industry_<fieldId> columns):
npx skills@1.9.0 add https://invoicebyai.com --skill invoice-by-ai- Skill guide: /skills/invoice-by-ai/SKILL.md
- Discovery manifest: /.well-known/agent-skills/index.json
Important boundary: installing the skill only teaches your agent how to use our tools. It does not enable Chrome’s WebMCP origin trial or testing flag, and it does not replace Remote MCP OAuth or allow a chatbot without Remote MCP support to connect automatically. Read the current Chrome WebMCP documentation ↗.
Batch invoicing with a browser agent (/batch)
On /batch, a compatible browser agent can prepare up to 50 personalized invoices in one pass—using different clients, templates, currencies, and line items—without spending hosted AI credits:
- Open /batch and keep the tab open.
- Give your browser agent your client list and ask it to build valid CSV rows and call
preview_invoice_batch. - Review the generated table and totals (your agent can also inspect validation errors via
get_invoice_batch). Click any invoice number to open and tweak it in the editor. - Download all validated PDFs and editable JSON backups as one ZIP using Export as ZIP or
export_invoice_batch. No emails are ever sent.
Page WebMCP tools
Editor page (/)
| TOOL | WHAT IT DOES |
|---|---|
list_templates | Read all 12 industry templates, their dedicated fields, and line-item column labels. |
create_invoice_draft | Start a new blank invoice in the editor while retaining the previous draft locally. |
get_current_invoice | Read the current editable draft, ID, and version before making changes. |
update_invoice_draft | Patch the current draft using expectedVersion; updates the visible editor immediately. |
validate_invoice | Calculate totals with deterministic rounding and list missing required fields. |
save_invoice_draft | Save an editable draft locally and to this browser’s private server session. |
export_invoice | Download the validated draft as a PDF; never sends an email. |
Batch workspace (/batch)
| TOOL | WHAT IT DOES |
|---|---|
preview_invoice_batch | Parse invoice CSV into up to 50 separate editable drafts for human review. Free; never uses hosted AI credits. |
get_invoice_batch | Read current batch drafts, calculated totals, and per-invoice validation errors. |
export_invoice_batch | Render validated batch drafts and download a ZIP of PDFs + editable JSON backups. Keep the tab open. |
A structured edit
Read the document first with get_current_invoice. Pass its current expectedVersion so an agent edit never silently overwrites newer manual edits.
{
"tool": "update_invoice_draft",
"input": {
"expectedVersion": 0,
"patch": {
"templateId": "studio",
"seller": {
"name": "Your business"
},
"buyer": {
"name": "Acme"
},
"items": [
{
"description": "Brand design",
"quantity": "1",
"rate": "800"
}
]
}
}
}Human and agent, in sync
Edits share one state and deterministic amount calculation. Prices, quantities, tax rates and discounts use decimal strings. A stale version is rejected instead of silently replacing a human edit. Page WebMCP tools never invoke our paid online assistant, buy credits, send emails, or mark an invoice as paid.
Compatibility and testing
The editor and batch pages detect the browser’s native WebMCP API. A browser without WebMCP still supports manual editing, CSV batch exports, Remote MCP chatbots at /connect, and our online assistant. “Tools registered” means the browser accepted registration; it does not certify compatibility with every agent. A remote unattended batch API is not currently offered.