Xero Accounting API

API

Sync Xero invoices, contacts, payments and accounts

Price
Free Starter tier; paid tiers
Access
OAuth 2.0 and Xero tenant ID

About

Xero Accounting API gives authorized apps access to an organisation's invoices, contacts, payments and accounting records. OAuth 2.0 grants access to a connected tenant, and Xero provides a local MCP server for accounting workflows.

What you can do with it

  • Read and sync invoices from a connected Xero organisation
  • Create or update accounting contacts from another system
  • Retrieve payments and account records for reconciliation

Get started

  1. Register a Xero developer app and request accounting scopes
  2. Authorize a Xero organisation with OAuth 2.0
  3. Send the token and tenant ID when requesting invoices

Example

curl "https://api.xero.com/api.xro/2.0/Invoices" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "xero-tenant-id: $XERO_TENANT_ID" \
  -H "Accept: application/json"

Details

Hosting
Hosted service
Available in
Worldwide
MCP server
Local

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .