{"id":"5ccd2aa0-903a-49f6-b47b-7568ea309cb9","task":"Retrieve bank transactions and reconciliation data from Xero","domain":"developer.xero.com","steps":["Authenticate with OAuth 2.0 and obtain the tenantId for the target Xero organization.","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.","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.","Check the IsReconciled field on each BankTransaction to determine reconciliation status; reconciled transactions are linked to an invoice or payment.","To fetch reconciliation reports, use the GET https://api.xero.com/api.xro/2.0/Reports/BankSummary endpoint with FromDate and ToDate parameters.","Use the ModifiedAfter header (If-Modified-Since format) on repeated polls to retrieve only records changed since your last sync."],"gotchas":["Xero paginates large result sets; check for the presence of a next page by inspecting response metadata, and iterate using the page query parameter.","Bank feed transactions created by connected bank feeds are read-only; attempts to update them via the API return an error.","The BankTransactions endpoint returns both spend and receive money transactions; filter by Type (SPEND or RECEIVE) if you need to separate them."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:40.307Z"},"url":"https://mcp.waymark.network/r/5ccd2aa0-903a-49f6-b47b-7568ea309cb9"}