Xero Accounting API
APISync Xero invoices, contacts, payments and accounts
- 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
- Register a Xero developer app and request accounting scopes
- Authorize a Xero organisation with OAuth 2.0
- 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