Connect Xero to OpenClaw on Operator.io
Xero is cloud-based accounting software for small businesses, offering invoicing, bookkeeping, and real-time financial reports. It helps you manage business finances efficiently from anywhere.
Automate Xero with AI
Your OpenClaw agent lives on Operator and treats Xero as one more service it can drive. Send it an outcome in a Telegram or Discord message and it works out which of the 41 Xero actions to run, then runs them.
Your agent reaches Xero directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh for you, so there is nothing to wire up and no API keys to paste.
What your agent can do with Xero
Your agent can call any of these Xero actions by name as part of a larger task. Ask for the outcome you want and it picks the right ones.
Create Bank Transaction
Create a bank transaction in Xero. Use SPEND for payments out or RECEIVE for money received.
Create Contact
Create a new contact in Xero. Contacts can be customers, suppliers, or both.
Create Invoice
Create a new invoice in Xero. Supports both sales invoices (ACCREC) and bills (ACCPAY).
Create Item
Create an inventory item in Xero. Items can be tracked for sales and/or purchases.
Create Manual Journal
Create one or more manual journals (journal entries) in Xero with journal lines. Manual journals must balance (debits equal credits).
Create Payment
Create a payment in Xero to link an invoice with a bank account transaction.
Create Purchase Order
Create a purchase order in Xero to order goods/services from suppliers.
Get Account
Retrieve a specific account from Xero's chart of accounts by its unique ID. Returns detailed account information including code, name, type (BANK, REVENUE, EXPENSE, etc.), status (ACTIVE/ARCHIVED), tax settings, bank details (for BANK ac...
Get Asset
Retrieve a specific asset by ID from Xero. Returns depreciation details and book value.
Get Balance Sheet Report
Retrieve Balance Sheet report from Xero. Shows assets, liabilities, and equity at a specific date. Liability and credit balances appear as negative numbers in the response. Response structure is Reports → Rows → Sections; account lines a...
Get Budget
Retrieve a budget from Xero. Budgets track planned vs actual spending by account.
Get Connections
Tool to list active Xero connections. Use to retrieve all current tenant connections for the authenticated user and resolve the correct tenant_id before making data requests. When multiple tenants are returned, never assume the first con...
Get Contacts
Tool to retrieve a list of contacts. Use when you need up-to-date contact information with filtering, paging, or incremental updates.
Get Invoice
Retrieve a specific invoice by ID from Xero. Returns full invoice details including line items and status.
Get Item
Retrieve a specific item by ID from Xero. Returns item code, name, pricing, and tax details.
Get Manual Journal
Retrieve a specific manual journal by ID from Xero. Returns full details including journal lines.
Get Organisation
Retrieve organisation details from Xero. Returns company info, base currency, timezone, financial year settings, SalesTaxBasis, SalesTaxPeriod, etc. Response fields are nested under data.data.Organisations[0]. Use Timezone when computing...
Get Profit & Loss Report
Retrieve Profit & Loss report from Xero. Shows income, expenses, and net profit for a specified period. Response rows are labeled (e.g., 'Net Profit', SummaryRow); parse by row label, not array index. Aggregates multiple tax codes — not...
Get Project
Retrieve a specific project by ID from Xero. Returns project details, deadlines, and status.
Get Purchase Order
Retrieve a specific purchase order by ID from Xero. Returns full details including line items and status.
Get Quotes
Tool to retrieve a list of quotes. Use when you need to list, filter, or page through sales quotes. Use after obtaining the tenant ID via connections.
Get Trial Balance Report
Retrieve Trial Balance report from Xero. Shows all account balances (debits and credits) at a specific date. Use to verify that total debits equal total credits and to prepare financial statements. Credit balances appear as negative numb...
List Accounts
Retrieve chart of accounts from Xero. Returns all accounting codes used for categorizing transactions. Use AccountID (not name or code) as the unique identifier for accounts. Results may be paginated; increment the page parameter until e...
List Assets
Retrieve fixed assets from Xero. Assets track depreciation and book value of capital equipment.
List Attachments
List all attachments for a specific entity in Xero (invoice, contact, etc.).
List Bank Transactions
Retrieve bank transactions from Xero. Includes SPEND, RECEIVE, and transfer types; unfiltered results include DELETED transactions that skew totals. Dates returned in /Date(milliseconds_since_epoch)/ format. Rate limit: ~60 requests/minu...
List Credit Notes
Retrieve list of credit notes from Xero. Credit notes are issued to reduce amounts owed by customers.
List Files
Retrieve files from Xero Files. Lists documents stored in Xero's file management system.
List Folders
Retrieve folders from Xero Files. Lists document folders in Xero's file management system.
List Invoices
Retrieve a list of invoices from Xero. Results include both sales invoices (Type=ACCREC) and bills (Type=ACCPAY) by default; filter by Type in the `where` clause when only one is needed. Supports filtering by status, contact, date range,...
List Items
Retrieve items (inventory/products) from Xero. Items can be tracked for sales and/or purchases.
List Journals
Retrieve journals from Xero. Journals show the accounting entries for all transactions. Omitting filters returns the full historical journal ledger and can produce very large responses — use If-Modified-Since and/or paymentsOnly to narro...
List Manual Journals
Retrieve manual journals from Xero. Manual journals are used for period-end adjustments and corrections.
List Payments
Retrieve list of payments from Xero. Payments link invoices to bank transactions; invoices may have multiple partial/split payment records. Response Date fields use Xero's /Date(milliseconds)/ format requiring custom parsing.
List Projects
Retrieve projects from Xero. Projects track time and costs for client work.
List Purchase Orders
Retrieve list of purchase orders from Xero. Purchase orders track goods/services ordered from suppliers.
List Tax Rates
Retrieve tax rates from Xero. Shows available tax codes and rates for the organization. Use returned tax codes as valid `TaxType` values in other tools — invalid values cause ValidationException errors.
List Tracking Categories
Retrieve tracking categories from Xero. Tracking categories are used to segment data for reporting (e.g., departments, regions).
Update Invoice
Tool to update an existing invoice. Use when you need to modify the details of an invoice after it's been created.
Update Contact
Update an existing contact in Xero. Only provided fields will be updated.
Upload Attachment
Upload a file attachment to a Xero entity (invoice, contact, etc.). Supports PDF, images, and documents.
How to connect Xero
You authorize Xero once from your dashboard. Operator holds the connection and refreshes the access tokens on its own, so your agent keeps working with Xero without you signing in again. The same setup unlocks every other app your agent can reach, so you only do it once.
When you are ready, the get started guide walks through standing up your OpenClaw agent.
Common questions about Xero
- How do I connect Xero to Operator?
- Connecting Xero is a one time sign in from your Operator dashboard. Operator keeps the connection live and rotates the token on its own, so the agent stays connected to Xero and you never reauthorize by hand.
- Can my agent handle records and reporting in Xero?
- Yes. It can create and update records, pull figures, and read a summary back to you in plain language. People use it to log transactions, check a balance, or answer a question about Xero data instead of building the report by hand.
- Do I need to write code or manage Xero API keys?
- No. Operator manages the Xero connection and token refresh, so there are no API keys to paste and nothing to deploy.
- Can my agent use Xero together with my other apps?
- Yes. The same agent reaches every app you connect, so it can move between Xero and tools like Stripe, Coupa, Zoho books in one job, reading from one and acting in another without you wiring anything between them.
Connect Xero to another app
Your agent can run Xero together with any of these. Each page shows what it does across both apps in one job.
More apps to automate
Apps your agent runs alongside Xero, or browse all integrations.
Put your agent on Xero
Sign in, connect Xero, and hand your agent the work. Your first week is free.
Try for free