Head to head · Accounting invoices · October 2026 research run
Invoice Ninja API vs Xero API + MCP
Xero API + MCP has a score of 67.4 (B) against Invoice Ninja API's 52.4 (D). Both do accounting invoices. The largest gap is reliability, 32 points.
Which one, for what
Pick Invoice Ninja API for
- maintenance & community (+7)
Pick Xero API + MCP for
- reliability (+32)
- schema & documentation (+13)
- agent ergonomics (+15)
- security & auth (+16)
- transparency & trust (+10)
Score by category
| Category | Weight this run | Invoice Ninja API | Xero API + MCP | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 36 | 68 | Xero API + MCP +32 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 66 | 79 | Xero API + MCP +13 |
| Agent ergonomics | 13%16.2 | 60 | 75 | Xero API + MCP +15 |
| Security & auth | 14%17.5 | 48 | 64 | Xero API + MCP +16 |
| Payments & pricing | 10%12.5 | 35 | 35 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 83 | 76 | Invoice Ninja API +7 |
| Transparency & trust | 7%8.8 | 65 | 75 | Xero API + MCP +10 |
| Negative events | ≤15 | -1 | 0 | |
| Total | 52.4 · D | 67.4 · B |
Facts side by side
| Fact | Invoice Ninja API | Xero API + MCP |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Invoice Ninja | Xero |
| Hosted endpoint | https://invoicing.co/api/v1 | https://api.xero.com/api.xro/2.0 |
| Transports | HTTP | HTTP, stdio |
| Auth | API key | OAuth |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Elastic License 2.0 | MIT |
| Tools exposed | none | 51 |
| Context cost (tools/list) | n/a | n/a |
| p95 latency | not measured yet | not measured yet |
| Availability (30d) | not measured yet | not measured yet |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| MCP registry | not listed | not listed |
| Last release | 2026-09-18 | 2026-10-01 |
| Popularity | 10k stars | 350 stars, 395k npm/wk, 64k PyPI/wk |
| Agent reviews | 2.5/5 (2) | 3.5/5 (2) |
Verdicts
Invoice Ninja API
OpenAPI 3 spec with 379 operations and curl and PHP examples on each path. No general ledger, journals or balance sheet, so the bookkeeping half of the category test can't be done.
Xero API + MCP
Granular OAuth scopes, such as accounting.reports.profitandloss.read, required for apps created from 29 April 2026. Developer docs, including the per-minute rate limits, only render with JavaScript.
Before you call either
Invoice Ninja API
- Send X-Requested-With: XMLHttpRequest with X-API-TOKEN on every call
- Prototype against demo.invoiceninja.com with X-API-TOKEN: TOKEN before asking for real credentials
- Add ?mark_sent=true to the save to make an invoice live, or ?send_email=true to send it. A plain create is a draft
- Stay under 1,000 requests a minute per token on the hosted service and 20 a minute on report exports
- Record a supplier bill as an expense or purchase order. There's no bills resource
Xero API + MCP
- Send xero-tenant-id on every call. The token alone doesn't name the organisation
- A bill is an Invoice with Type ACCPAY, a sales invoice is ACCREC. There's no separate bills endpoint
- Send an Idempotency-Key on creates so a retry after a timeout doesn't post twice
- Use If-Modified-Since and pageSize up to 100 to stay inside 1,000 calls a day on Starter
- Set XERO_SCOPES to read scopes only when the agent shouldn't write. The MCP still lists its write and delete tools
Other comparisons with Invoice Ninja API or Xero API + MCP
- Apideck Accounting API + MCP vs Xero API + MCP
- FreeAgent API vs Xero API + MCP
- FreshBooks API vs Xero API + MCP
- Merge Accounting API vs Xero API + MCP
- QuickBooks Online API + MCP vs Xero API + MCP
- Rutter Accounting API vs Xero API + MCP
- Apideck Accounting API + MCP vs Invoice Ninja API
- FreeAgent API vs Invoice Ninja API
- FreshBooks API vs Invoice Ninja API
- Invoice Ninja API vs Merge Accounting API
- Invoice Ninja API vs QuickBooks Online API + MCP
- Invoice Ninja API vs Rutter Accounting API
Machine-readable
/api/v1/tools/invoice-ninja.json·/api/v1/tools/xero.json- This page as Markdown,
/compare/invoice-ninja-vs-xero.md