Xero MCP server integration for AI agents.

Connect AI agents to Xero through 15 structured actions, including get account, create contact, and create invoice. Review authentication, inputs, workflows…

ACTION CONTRACTS
15
AUTHENTICATION
OAuth 2.0
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Xero integration exposes

The Xero Agent App exposes 15 provider-backed actions for finance and data work. Its current contract lets an authorized agent get an account by id, create a contact. requires a connection with the accounting.contacts scope, and create an invoice for a contact. requires a connection with the accounting.invoices scope. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses OAuth 2.0. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Xero account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Xero capabilities.

Showing 12 of 15 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

get_accountREAD

Get an account by ID.

INPUTS: tenant_id / account_id

create_contactWRITE

Create a contact. Requires a connection with the accounting.contacts scope.

INPUTS: tenant_id / name / email_address / first_name / last_name

create_invoiceWRITE

Create an invoice for a contact. Requires a connection with the accounting.invoices scope.

INPUTS: tenant_id / contact_id / type / date / due_date

get_balance_sheetREAD

Get the balance sheet report for a tenant, as labelled sections an agent can summarise.

INPUTS: tenant_id / date

get_bank_transactionREAD

Get a bank transaction with its line items by ID.

INPUTS: tenant_id / bank_transaction_id

get_contactREAD

Get a contact by ID.

INPUTS: tenant_id / contact_id

get_invoiceREAD

Get an invoice with its line items by ID.

INPUTS: tenant_id / invoice_id

get_organisationREAD

Get the organisation profile for a tenant.

INPUTS: tenant_id

get_profit_and_lossREAD

Get the profit and loss report for a tenant, as labelled sections an agent can summarise.

INPUTS: tenant_id / from_date / to_date

list_accountsREAD

List the chart of accounts for a tenant.

INPUTS: tenant_id / status

list_organisationsREAD

List the Xero organisations (tenants) connected to this account.

search_bank_transactionsREAD

Search bank transactions, overpayments, prepayments, and transfers by status with pagination.

INPUTS: tenant_id / status / page

INPUT CONTRACTS

Know what the action needs before it runs.

get_account

tenant_idOPTIONAL
The Xero tenant (organisation) ID for this connection.
account_idREQUIRED
A Xero resource ID.

create_contact

tenant_idOPTIONAL
The Xero tenant (organisation) ID for this connection.
nameREQUIRED
The contact name.
email_addressOPTIONAL
The contact email address.
first_nameOPTIONAL
The contact first name.
last_nameOPTIONAL
The contact last name.

create_invoice

tenant_idOPTIONAL
The Xero tenant (organisation) ID for this connection.
contact_idREQUIRED
A Xero resource ID.
typeOPTIONAL
ACCREC bills the customer; ACCPAY records a bill from a supplier.
dateOPTIONAL
The invoice date. When omitted, Xero uses today in the organisation timezone.
due_dateOPTIONAL
The due date. When omitted, a 30-day term is applied only when date is provided; otherwise Xero determines the date.

get_balance_sheet

tenant_idOPTIONAL
The Xero tenant (organisation) ID for this connection.
dateOPTIONAL
The as-at date for the balance sheet. Defaults to today in the organisation timezone.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Get Account

Get an account by ID. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

get_account

Control Create Contact

Create a contact. Requires a connection with the accounting.contacts scope. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.

create_contact

Verify with Get Balance Sheet

Get the balance sheet report for a tenant, as labelled sections an agent can summarise. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

get_balance_sheet

SAFETY BOUNDARY

Operate Xero with explicit limits

  • Authorize Xero with OAuth 2.0 and grant only the provider access required by the selected actions.
  • 2 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
  • Do not infer permission from catalog visibility. Workspace policy, connection identity, and upstream authorization still govern execution.
  • The sampled contract declares provider scopes including `accounting.contacts`, `accounting.invoices`, `accounting.settings.read`, and `accounting.reports.balancesheet.read`; verify the complete action contract before execution.
  • After a call, inspect the structured result and execution record before reporting that the Xero task completed successfully.

CONNECTION MODEL

OAuth 2.0

Xero uses OAuth 2.0. Connection requirements and availability are determined by the provider and the Working Machines deployment.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
13
WRITE SIGNALS
2
HIGH IMPACT
0
REVIEW SIGNALS
0

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Xero.

Official Xero website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS