For bookkeepers, accountants, and support teams who need instant invoice and payment visibility without switching to Xero.
6 min read
Updated February 2026
When a client asks “Has my invoice been sent?” or a colleague needs a contact's outstanding balance, someone has to log into Xero, find the right record, and report back. For firms managing dozens of clients, these lookups add up to hours every week.
The Xero integration lets your AI agent pull invoices, contact balances, and bank transaction details on demand. Whether it's an internal team member or a customer-facing chatbot, billing questions get answered in seconds.
| Action | Description |
|---|---|
| Get Invoice | Look up an invoice by number or contact and return status, amount, and due date |
| Contact Balance | Get the outstanding balance for a specific contact |
| Bank Transactions | List recent bank transactions filtered by account, date, or contact |
| Field | Description | Example |
|---|---|---|
| Access Token | OAuth 2.0 access token (managed automatically via OAuth flow) | eyJhbG... |
| Tenant ID | Your Xero organisation identifier (populated automatically) | a1b2c3d4-... |
After setup, open your AI agent and try these realistic queries:
ChatSpark auto-refreshes Xero tokens. If you see authentication errors, try disconnecting and reconnecting via the OAuth flow.
If data doesn't match expectations, verify you connected the correct Xero organisation during OAuth. Disconnect and re-authorize with the right org.
Check that the invoice reference format matches what Xero uses. Draft invoices may not appear in search results depending on your Xero settings.