How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Xero Account Data API

The AccountData API from Xero — 3 operation(s) for accountdata.

Xero Account Data API is one of 14 APIs that Xero publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 18 JSON Schema definitions.

Tagged areas include Account Data. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and 18 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 19.1.0.

Requests are made against a single base URL, https://api.xero.com/accountdata.xro/1.0.

3 operations 3 paths 17 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
19.1.0
Base URL
https://api.xero.com/api.xro/2.0
Authentication
OAuth 2.0
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Xero Account Data API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 3 scopes.

  • OAuth2 — For more information visit https://developer.xero.com/documentation/oauth2/overview

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

AccountData 3
GET
/account-balances
Get the balance of each general ledger account as at a given date
getAccountBalances 11 params → 200400401403404429500
GET
/account-movements
Get the net movement of each general ledger account over a date range
getAccountMovements 12 params → 200400401403404429500
GET
/account-transactions
Get general ledger account transactions between two dates, with pagination and…
getAccountTransactions 11 params → 200400401403404429500

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are AccountTransactionLine (11 properties), AccountMovement (10 properties), TransactionAccount (7 properties), LineSource (6 properties). Each schema is shown below with its type and property counts.

TrackingItemDetails
object
3 properties 3 required
AccountBalance
object
5 properties 5 required
AccountTransactionsResponse
object
4 properties 3 required
TransactionAccount
object
7 properties 6 required
FieldProblem
object
A single validation failure.
6 properties
LineSource
object
The originating document/event for this transaction line. Always present; its fields are null when the source is unknown.
6 properties
AccountMovementsResponse
object
1 property 1 required
LineTaxRate
object
The tax rate applied to this transaction line. Always present; its fields are null when no tax rate applies.
3 properties
AccountBalancesResponse
object
1 property 1 required
AccountMovement
object
10 properties 7 required
AccountingDateRange
object
2 properties 2 required
AccountTransactionLine
object
11 properties 7 required
ValidationProblem
object
Returned with 400 Bad Request when the request fails validation.
6 properties
ProblemDetails
object
Problem details for HTTP APIs, in the style of RFC 7807.
5 properties 2 required
LedgerDecimal
object
2 properties 2 required
GatewayProblem
object
Error body produced by the Xero API gateway (authentication, authorisation and tenant checks). Note the PascalCase property names.
6 properties 2 required
Account
object
6 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xero-accountdata-api-openapi.yml Raw ↑

Other APIs Xero publishes across the network.

Xero Accounting API
Xero Asset API
Xero Files API
Xero Finance API
Xero Identity API
Xero PayrollAu API
Xero PayrollNz API
Xero PayrollUk API
Xero Project API
Xero Connections API
Xero Feed Connections API
Xero App Store API
Where this information came from

This is an independent, third-party profile of Xero Account Data API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.