Xero Accounting API
APISync Xero invoices, contacts, payments and accounts
- Erişim
- OAuth 2.0 and Xero tenant ID
Hakkında
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.
Neler yapabilirsin
- Read and sync invoices from a connected Xero organisation
- Create or update accounting contacts from another system
- Retrieve payments and account records for reconciliation
Başlarken
- 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
Örnek kod
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"Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- MCP sunucusu
- Yerel sunucu