Xero · Schema
AccountBalancesResponse
AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| accountBalances | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-account-balances-response-schema.json",
"title": "AccountBalancesResponse",
"x-generated": "2026-10-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/xero-account-data-api-openapi.yml#/components/schemas/AccountBalancesResponse",
"type": "object",
"required": [
"accountBalances"
],
"properties": {
"accountBalances": {
"type": "array",
"items": {
"$ref": "#/$defs/AccountBalance"
}
}
},
"$defs": {
"Account": {
"type": "object",
"required": [
"name",
"class",
"type",
"status",
"systemAccountCode"
],
"properties": {
"code": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"class": {
"type": "string",
"enum": [
"ASSET",
"LIABILITY",
"EQUITY",
"REVENUE",
"EXPENSE"
]
},
"type": {
"type": "string",
"description": "Account type (e.g. `BANK`, `CURRENT`). Reported as `INVENTORY` for inventory\nasset accounts, regardless of the account's underlying type.\n"
},
"status": {
"type": "string",
"enum": [
"ACTIVE",
"ARCHIVED",
"DELETED"
]
},
"systemAccountCode": {
"type": "string",
"description": "System account code, or `NONE` if the account has no system account code."
}
}
},
"AccountBalance": {
"type": "object",
"required": [
"accountId",
"date",
"balance",
"signedBalance",
"account"
],
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"description": "The account this balance is for."
},
"date": {
"type": "string",
"format": "date",
"description": "The date this balance applies to (YYYY-MM-DD)."
},
"balance": {
"$ref": "#/$defs/LedgerDecimal"
},
"signedBalance": {
"type": "number",
"format": "double",
"description": "Balance as a signed number (positive for debit, negative for credit)."
},
"account": {
"$ref": "#/$defs/Account"
}
}
},
"LedgerDecimal": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"value": {
"type": "number",
"format": "double",
"description": "Amount value (always positive)."
},
"type": {
"type": "string",
"enum": [
"DEBIT",
"CREDIT"
]
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-account-balances-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.