Skip to main content

Export Accounts (V2)

GET 

/api/xero/v2/accounts/export

Download the synced Xero chart of accounts as a CSV or XLSX file. Exports every account matching the given filters (no pagination) using the same filter parameters as List Accounts (V2). The response is a file attachment named xero-accounts-<timestamp>.<format>.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Columns: ID, AccountID, Name, Code, Type, Status, Class, SKU Account (the linked SKU.io ledger account name, blank when unlinked), Created At, Updated At.

Query parameters: format (csv, default, or xlsx) plus optional filters — filter[search], exact-match filters on Name/Code/Type/Class/Status/id (each also supports operator variants such as filter[Name.contains] and filter[Status.is_not]), and filter_groups (base64-encoded JSON tree for and/or combinations).

Authentication: Bearer token.

Request

Responses

OK

Response Headers
    Content-Type