Integration

Xero integration

Cloud accounting and business management API. Manage invoices, contacts, bank transactions, payments, and financial reports. Integrates with banks, payroll, and inventory. Perfect for accounting automation and financial integrations.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Xero.Built from the 73 Xero tools below, on the connection you add once.

Common Xero use cases

  • Contact management
  • Bank reconciliation
  • Financial reporting
  • Inventory management
  • Reconciliation
  • Tax setup
  • Account lookup
  • Cash management
  • Group management
  • Credit management

What you can do with Xero

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Invoice, 6 operations

  • create_invoiceCreate invoicePUTAgents: ask firstCreates a new invoice.
  • email_invoiceEmail invoicePOSTAgents: ask firstSends an invoice via email.
  • get_invoiceGet invoiceGETAgents: ask firstRetrieves a specific invoice by ID.
  • list_invoicesList invoicesGETAgents: ask firstRetrieves all invoices with optional filtering.
  • update_invoiceUpdate invoicePOSTAgents: ask firstUpdates an existing invoice.
  • void_invoiceVoid invoicePOSTAgents: ask firstVoids an authorised invoice.

Report, 6 operations

  • get_aged_payables_reportGet aged payables reportGETAgents: ask firstGenerates aged payables report.
  • get_aged_receivables_reportGet aged receivables reportGETAgents: ask firstGenerates aged receivables report.
  • get_balance_sheet_reportGet balance sheet reportGETAgents: ask firstGenerates a Balance Sheet report.
  • get_bank_summary_reportGet bank summary reportGETAgents: ask firstGenerates a bank summary report.
  • get_profit_loss_reportGet profit loss reportGETAgents: ask firstGenerates a Profit and Loss report.
  • get_trial_balance_reportGet trial balance reportGETAgents: ask firstGenerates a trial balance report.

Contact group, 5 operations

  • add_contacts_to_groupAdd contacts to groupPUTAgents: ask firstAdds contacts to a contact group.
  • create_contact_groupCreate contact groupPUTAgents: ask firstCreates a new contact group.
  • get_contact_groupGet contact groupGETAgents: ask firstRetrieves a specific contact group with its contacts.
  • list_contact_groupsList contact groupsGETAgents: ask firstRetrieves all contact groups.
  • remove_contact_from_groupRemove contact from groupDELETEAgents: ask firstRemoves a contact from a contact group.

Product, 5 operations

  • create_itemCreate itemPUTAgents: ask firstCreates an inventory item.
  • delete_itemDelete itemDELETEAgents: ask firstDeletes an inventory item.
  • get_itemGet itemGETAgents: ask firstRetrieves a specific inventory item.
  • list_itemsList itemsGETAgents: ask firstRetrieves inventory items.
  • update_itemUpdate itemPOSTAgents: ask firstUpdates an inventory item.

Account, 4 operations

  • create_accountCreate accountPUTAgents: ask firstCreates a new account.
  • get_accountGet accountGETAgents: ask firstRetrieves a specific account.
  • list_accountsList accountsGETAgents: ask firstRetrieves the chart of accounts.
  • update_accountUpdate accountPOSTAgents: ask firstUpdates an existing account.

Bank transaction, 4 operations

  • create_bank_transactionCreate bank transactionPUTAgents: ask firstCreates a bank transaction.
  • get_bank_transactionGet bank transactionGETAgents: ask firstRetrieves a specific bank transaction.
  • list_bank_transactionsList bank transactionsGETAgents: ask firstRetrieves bank transactions.
  • update_bank_transactionUpdate bank transactionPOSTAgents: ask firstUpdates a bank transaction.

Contact, 4 operations

  • create_contactCreate contactPUTAgents: ask firstCreates a new contact.
  • get_contactGet contactGETAgents: ask firstRetrieves a specific contact by ID.
  • list_contactsList contactsGETAgents: ask firstRetrieves all contacts (customers and suppliers).
  • update_contactUpdate contactPOSTAgents: ask firstUpdates an existing contact.

Credit note, 4 operations

  • allocate_credit_noteAllocate credit notePUTAgents: ask firstAllocates a credit note to invoices.
  • create_credit_noteCreate credit notePUTAgents: ask firstCreates a credit note.
  • get_credit_noteGet credit noteGETAgents: ask firstRetrieves a specific credit note.
  • list_credit_notesList credit notesGETAgents: ask firstRetrieves all credit notes.

Payment, 4 operations

  • create_paymentCreate paymentPUTAgents: ask firstCreates a payment against an invoice.
  • delete_paymentDelete paymentPOSTAgents: ask firstDeletes a payment.
  • get_paymentGet paymentGETAgents: ask firstRetrieves a specific payment.
  • list_paymentsList paymentsGETAgents: ask firstRetrieves invoice payments.

Purchase order, 4 operations

  • create_purchase_orderCreate purchase orderPUTAgents: ask firstCreates a purchase order.
  • get_purchase_orderGet purchase orderGETAgents: ask firstRetrieves a specific purchase order.
  • list_purchase_ordersList purchase ordersGETAgents: ask firstRetrieves all purchase orders.
  • update_purchase_orderUpdate purchase orderPOSTAgents: ask firstUpdates a purchase order.

Quote, 4 operations

  • create_quoteCreate quotePUTAgents: ask firstCreates a quote/estimate.
  • get_quoteGet quoteGETAgents: ask firstRetrieves a specific quote.
  • list_quotesList quotesGETAgents: ask firstRetrieves all quotes/estimates.
  • update_quoteUpdate quotePOSTAgents: ask firstUpdates a quote.

Repeating invoice, 3 operations

  • create_repeating_invoiceCreate repeating invoicePUTAgents: ask firstCreates a repeating invoice template.
  • get_repeating_invoiceGet repeating invoiceGETAgents: ask firstRetrieves a specific repeating invoice template.
  • list_repeating_invoicesList repeating invoicesGETAgents: ask firstRetrieves all repeating invoice templates.

Bank transfer, 2 operations

  • create_bank_transferCreate bank transferPUTAgents: ask firstCreates a bank transfer.
  • list_bank_transfersList bank transfersGETAgents: ask firstRetrieves bank transfers between accounts.

Batch payment, 2 operations

  • create_batch_paymentCreate batch paymentPUTAgents: ask firstCreates a batch payment.
  • list_batch_paymentsList batch paymentsGETAgents: ask firstRetrieves all batch payments.

Manual journal, 2 operations

  • create_manual_journalCreate manual journalPUTAgents: ask firstCreates a manual journal entry.
  • list_manual_journalsList manual journalsGETAgents: ask firstRetrieves manual journal entries.

Overpayment, 2 operations

  • allocate_overpaymentAllocate overpaymentPUTAgents: ask firstAllocates an overpayment to invoices.
  • list_overpaymentsList overpaymentsGETAgents: ask firstRetrieves overpayments.

Prepayment, 2 operations

  • allocate_prepaymentAllocate prepaymentPUTAgents: ask firstAllocates a prepayment to invoices.
  • list_prepaymentsList prepaymentsGETAgents: ask firstRetrieves prepayments.

Tax rate, 2 operations

  • create_tax_rateCreate tax ratePUTAgents: ask firstCreates a new tax rate.
  • list_tax_ratesList tax ratesGETAgents: ask firstRetrieves all tax rates.

Tracking category, 2 operations

  • create_tracking_categoryCreate tracking categoryPUTAgents: ask firstCreates a tracking category.
  • list_tracking_categoriesList tracking categoriesGETAgents: ask firstRetrieves tracking categories.

Branding theme, 1 operation

  • list_branding_themesList branding themesGETAgents: ask firstRetrieves all branding themes.

Connection, 1 operation

  • list_connectionsList connectionsGETAgents: ask firstLists the Xero organisations (tenants) the connection can access, with their tenantId.

Currency, 1 operation

  • list_currenciesList currenciesGETAgents: ask firstRetrieves all currencies.

Journal, 1 operation

  • list_journalsList journalsGETAgents: ask firstRetrieves all journal entries.

Organisation, 1 operation

  • get_organisationGet organisationGETAgents: ask firstRetrieves organisation details.

User, 1 operation

  • list_usersList usersGETAgents: ask firstRetrieves all users in the organisation.

OAuth scopes Xero requires

Each operation declares the scopes Xero requires for it.

  • accounting.transactionsneeded by allocate_credit_note, allocate_overpayment, allocate_prepayment and 17 more
  • accounting.transactions.readneeded by get_bank_transaction, get_credit_note, get_invoice and 16 more
  • accounting.settings.readneeded by get_account, get_item, get_organisation and 7 more
  • accounting.settingsneeded by create_account, create_item, create_tax_rate and 4 more
  • accounting.reports.readneeded by get_aged_payables_report, get_aged_receivables_report, get_balance_sheet_report and 3 more
  • accounting.contactsneeded by add_contacts_to_group, create_contact, create_contact_group and 2 more
  • accounting.contacts.readneeded by get_contact, get_contact_group, list_contact_groups and 1 more
  • accounting.journals.readneeded by list_journals

Use Xero from Claude Code, Cursor or Codex

Connect Xero in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Xero operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Xero

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Xero once

    Add your Xero connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Xero integration FAQ

What can you do with the Xero integration?

LiveContext exposes 73 operations on Xero, covering invoice, report, contact group and product. Common uses include Contact management, Bank reconciliation and Financial reporting.

Which OAuth scopes does Xero require?

It depends on the operation: each one declares the scopes Xero requires for it. The most common are accounting.transactions (20 operations), accounting.transactions.read (19 operations), accounting.settings.read (10 operations) and accounting.settings (7 operations).

Popular integrations

Browse the whole catalog