openintegration200+ connectors

List ledger accounts in Xero

Accounting API · read · 50% field coverage

Your agent can list ledger accounts in Xero through Apideck's Accounting API, the same call it makes for every Accounting app. It only reads, so it runs straight away; what Xero returns is screened before the agent sees it. Apideck adds the customer's Xero credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

GET https://unify.apideck.com/accounting/ledger-accounts

Headers: x-apideck-service-id: xero, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-ledger-accounts-all. Agent operation id: unified.accounting.ledgerAccountsAll.

ParameterInDescription
cursorqueryCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitqueryNumber of results to return. Minimum 1, Maximum 200, Default 20
filter[name]queryFilter by ledger account name
filter[updated_since]queryApply filters
filter[classification]queryFilter by account classification.
filter[status]queryFilter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that do not support it re
filter[subsidiary_id]queryFilter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scop
sort[by]queryThe field on which to sort the Ledger Accounts
sort[direction]queryThe direction in which to sort the results

More for ledger accounts in Xero

create_ledger_accountget_ledger_accountupdate_ledger_accountdelete_ledger_account

List ledger accounts in other Accounting apps

The same call works for each of these; only the service id changes.

Access FinancialsAcumaticaAFAS SoftwareAlegraCampfireClear BooksDATEV Unternehmen OnlineDigitsDualentryExact OnlineExact Online NLExact Online UKFortnoxFreeAgentFreshBooksHoldedIntuit Enterprise SuiteKashflowMicrosoft Dynamics 365 Business CentralMoneybirdMRI SoftwareMYOBMYOB AcumaticaNetSuiteOdooPennylaneProcountorQuickBooksQuickBooks DesktopRestaurant365RilletSage Business Cloud AccountingSage IntacctSage Intacct RESTSAP S/4HANA CloudSnelStartSpirisVisma eAccountingWafeqWave and 2 more