Sign up

Xero MCP: Check Payments Across Your Sites

Quick answer

Xero’s MCP server and a payments server let one AI assistant compare invoices with transactions and list exceptions for review. Atoa is a UK payments platform that connects payment data through MCP, including amounts, payer names and stores. Keep Xero access read-only initially and have a person confirm matches and correct records.

Ask AI about this article

Xero’s MCP server and a payments server let one AI assistant compare invoices with transactions and list exceptions for review.

Sign up
Cian O'Dowd, Co-founder and COO, Atoa
Xero MCP: Check Payments Across Your Sites

At a 3-site dental practice, Friday’s payment check can spill into Monday: an invoice still looks unpaid, a refund hasn’t reached the accounts, and reception is about to chase someone who’s paid. For a finance lead considering Xero MCP, the useful question is whether it can find those exceptions across both sets of records.

Connect Xero’s MCP server and Atoa’s payments server to the same AI assistant, and it can compare invoices with payment records and list mismatches for a person to fix. The servers don’t communicate directly; the assistant reads each source.

Start by choosing the connection, then agree what counts as a match.

Rules checked 23 November 2026.

Xero MCP server: Which connection fits?

Model Context Protocol (MCP) lets an AI assistant use tools exposed by another service. Xero offers 2 servers for reading and, with permission, changing accounting records, plus a separate read-only Claude connector.

  • Remote MCP Server: Hosted by Xero, with tools for invoices, contacts, payments, recorded bank transactions and reports.
  • Open-source local server: Runs through npx on Node.js 18 or higher and supports reading records and creating payments.
  • Read-only Claude connector: Connects through Claude’s directory without developer setup. It answers questions but cannot change or reconcile records.

The choice depends on who will set it up and whether the workflow needs write access.

OptionSign-inWho it suitsCan it write?
Remote serverOAuth 2.0; PKCE recommendedDeveloper-built workflows without a local serverWith approved write scopes
Local serverCustom Connection or bearer tokenDevelopment and testingWith appropriate access
Claude connectorXero login and organisation selectionPeople asking questions without developer setupNo

Remote access is included for Commercial Apps on Xero’s Core developer app plan or above; Starter apps can test with a demo organisation. These are developer app plans, not accounting subscriptions. Existing API rate limits and data egress metering apply.

What can the assistant match?

Atoa’s payments MCP server supplies transaction history, payment status and store information. Alongside Xero records, that gives the assistant evidence to propose matches.

Use several details together, rather than treating an equal amount as proof.

Data pointXero toolAtoa tool or fieldMatch reliability
Invoice numberlist_invoicesorderId, notes or metadataOnly usable if the invoice number is present in Atoa
Amount and datelist_invoices, list_paymentsget_transactions: paidAmount, createdAt, updatedAtProbable match; requires confirmation
Payerlist_contactsconsumerNameSupporting evidence; payer and contact can differ
Sitelist_invoices within the selected organisationstoreDetails.locationNameDepends on the practice’s site mapping
Refundlist_credit_notes, list_paymentsget_payment_status: refundDetails, totalRefundAmountReview against the original payment

Atoa’s documentation doesn’t confirm whether its Xero integration stores the invoice number in those fields. Without it, label matches based on amount, date and payer name as “probable”. A parent paying for a child, or 2 invoices for the same amount on the same day, needs human judgement.

The assistant cannot identify which payout contains a payment, read Xero’s unreconciled statement queue or operate its Reconcile screen. Xero’s list_bank_transactions tool reads bank transactions recorded in Xero.

Keep the invoice button doing its job

The Atoa Xero integration already marks an invoice paid when the customer pays through its Atoa button and approves in their Bank app. Payments sync as soon as they’re confirmed.

The extra check finds exceptions: separate payment links, payments taken at a site, part payments, later refunds, incorrect site allocation, failed or pending attempts, and manual transfers with no Atoa transaction. For the accounting steps, see payment reconciliation in Xero.

Run a weekly exceptions check

1. Set up access once

Ask IT or your developer to connect both servers in Claude Desktop, Claude Code, Cursor or VS Code. Start with Xero’s Demo Company and Atoa’s sandbox.

For Xero, grant accounting.invoices.read, accounting.payments.read, accounting.contacts.read and accounting.banktransactions.read. The remote endpoint is https://api.xero.com/mcp/v1; test the connection with get_connected_tenants.

Atoa’s setup wizard runs with npx @atoapayments/mcp init. Keep production keys under the account owner’s control: each belongs to 1 business and environment. Atoa has no read-only scope; a production key can use every tool. Instructions to read only don’t restrict its permissions.

2. Pull the Xero records

Ask for unpaid and overdue invoices for the review period, alongside payments and credit notes needed to check exceptions. Separate each organisation and site. Every remote tool call acts on 1 organisation, even when several are authorised.

3. Pull the matching Atoa period

Use get_stores, then get_transactions with matching dates, store and status filters. Include completed, failed, pending and refunded transactions, and retrieve every results page. For groups with multiple Atoa businesses, use the correct key for each business.

4. Ask for evidence beside every exception

Group the list into open invoices with probable payments, refund differences, site differences and unpaid balances. Each row should show the amount, date, payer name, store, Atoa reference and reason for the flag. Keep uncertain matches separate from confirmed ones.

5. Check status and payout timing

Use get_payment_status for unresolved attempts before calling money missing. A pending Pay by Bank payment should complete within 2 to 3 minutes, depending on the bank. Check payout timing separately from payment confirmation.

6. Review and correct the records

A finance team member confirms the evidence and fixes records in Xero. At month end, extend the review to outstanding exceptions from earlier periods. If write access is introduced later, require approval for each proposed change and identify the organisation before it runs.

Allow for timing in the Xero bank feed

Pay by Bank payments are confirmed in seconds and paid out at the end of each day (next day), 7 days a week, including bank holidays. An invoice can therefore show as paid before the payout appears in the bank feed, and weekend payments still pay out over the weekend.

Several payments can arrive as 1 payout entry. Atoa’s transaction records have no payout identifier or payout date, so the assistant cannot allocate individual payments to that entry. Card timing differs: Visa and Mastercard settle in 2 working days, American Express in 3.

Atoa’s separate bank account tools require the bank feed capability to be enabled. They provide read-only access to the business’s bank account; they don’t expose Xero’s unreconciled lines or restrict the other tools available through an Atoa production key.

Example: A week across 3 dental sites

This illustrative example uses fictional invoice numbers and amounts. Each row is a review task, with probable matches awaiting confirmation.

SiteInvoiceXero showsAtoa showsPerson’s action
Site 1EX-101£240 open£240 completed by separate linkConfirm the payer and date, then record against the correct invoice
Site 2EX-102£600 paid; no credit note£100 partial refundReview the refund and correct the accounting record
Site 3EX-103£350 open at Site 3Probable £350 payment under Site 1Confirm the payment and resolve site allocation
Site 1EX-104£180 overdue£180 failed attempt; no completed matchCheck for another payment, then add to the chase list

For balances confirmed unpaid, follow the steps for reducing late payments in Xero. A failed attempt alone isn’t proof that the invoice remains unpaid.

Reduce exceptions and payment fees

Encouraging customers to use the invoice’s Pay by Bank button keeps payment confirmation attached to the invoice. That means fewer separately collected payments to investigate across your sites.

Pay by Bank fees are about 40% lower than standard card fees. General Atoa Pay by Bank rates online and by payment link are 0.7% + 20p (+ VAT). Atoa serves mid-market businesses and enterprises across retail, hospitality, professional services, dental, veterinary and automotive, and provides payment infrastructure for platforms that build payments into their products.

See Atoa's payment guides first on Google

Add Atoa as a preferred source and our guides show at the top of your Google Search results.

Add as a preferred source

FAQs

What does Xero MCP let an assistant do?

It lets an assistant use Xero tools to read accounting records and, with approved write scopes, change them. Available tools cover invoices, contacts, payments, recorded bank transactions and reports. For a payment exceptions check, read scopes let the assistant gather evidence while your finance team controls corrections.

How do the remote and local servers differ?

The remote server is hosted by Xero and uses OAuth 2.0, with PKCE recommended. The open-source local server runs through npx and uses a Custom Connection or bearer token. Both need technical setup. Xero’s separate Claude connector provides read-only answers without developer setup.

Can the assistant record a payment in Xero?

Yes, create_payment can record a payment when the required write scope is approved. Keep this routine on read scopes initially. Before any later write, a person should approve the change and check whether the existing integration has already applied that payment, because adding it again would double-count it.

Does this replace the integration or bank reconciliation?

No, this check lists exceptions for review alongside your existing processes. The Atoa invoice button already marks invoices paid when payment is confirmed. The assistant cannot read Xero’s unreconciled statement queue or perform bank reconciliation, and Atoa’s payment records don’t identify the payout containing each transaction.

Can both connections be read-only?

Xero access can be restricted to read scopes, but Atoa’s production key has no read-only scope and can use every tool. Asking the assistant only to read is an instruction, not a permission boundary. Start in sandbox, keep production keys controlled, and require human approval before any action that changes data.

Which AI clients work with both servers?

Both vendors document Claude Desktop, Claude Code, Cursor and VS Code. Your developer should choose the connection mode each vendor documents for that client. For example, Atoa documents local setup for Claude Desktop and hosted HTTP access for Claude Code, Cursor and VS Code.

Sources

This publication is provided for general information purposes and does not constitute legal, tax or other professional advice from Atoa. We make no representations, warranties or guarantees, whether expressed or implied, that the content in the publication is accurate, complete or up to date. All logos and trademarks are property of their respective owners.