Retrieve bank transactions and reconciliation data from Xero

domain: developer.xero.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with OAuth 2.0 and obtain the tenantId for the target Xero organization.
  2. GET https://api.xero.com/api.xro/2.0/BankTransactions with the Xero-Tenant-Id header to retrieve bank transactions; use query parameters like Where and order to filter and page results.
  3. To retrieve bank statement lines (unreconciled items), GET https://api.xero.com/api.xro/2.0/BankStatements; these represent imported bank feed lines awaiting matching.
  4. Check the IsReconciled field on each BankTransaction to determine reconciliation status; reconciled transactions are linked to an invoice or payment.
  5. To fetch reconciliation reports, use the GET https://api.xero.com/api.xro/2.0/Reports/BankSummary endpoint with FromDate and ToDate parameters.
  6. Use the ModifiedAfter header (If-Modified-Since format) on repeated polls to retrieve only records changed since your last sync.

Known gotchas

Related routes

Retrieve and paginate Xero Bank Transactions and perform account reconciliation via API
developer.xero.com · 6 steps · unrated
Reconcile Xero bank transactions and create bank transfers between accounts
developer.xero.com · 6 steps · unrated
Implement automated bank reconciliation matching patterns
developer.xero.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans