Xero · Schema

BalanceDetails

An array to specify multiple currency balances of an account

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
Balance number The opening balances of the account. Debits are positive, credits are negative values
CurrencyCode string The currency of the balance (Not required for base currency)
CurrencyRate number (Optional) Exchange rate to base currency when money is spent or received. If not specified, XE rate for the day is applied
View JSON Schema on GitHub

JSON Schema

xero-balancedetails-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BalanceDetails",
  "title": "BalanceDetails",
  "description": "An array to specify multiple currency balances of an account",
  "properties": {
    "Balance": {
      "description": "The opening balances of the account. Debits are positive, credits are negative values",
      "type": "number",
      "format": "double"
    },
    "CurrencyCode": {
      "description": "The currency of the balance (Not required for base currency)",
      "type": "string"
    },
    "CurrencyRate": {
      "description": "(Optional) Exchange rate to base currency when money is spent or received. If not specified, XE rate for the day is applied",
      "type": "number",
      "format": "double",
      "x-is-money": true
    }
  },
  "type": "object"
}