Xero · Schema

Amount

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
currency string
value number
View JSON Schema on GitHub

JSON Schema

xero-amount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Amount",
  "title": "Amount",
  "type": "object",
  "properties": {
    "currency": {
      "$ref": "#/components/schemas/CurrencyCode",
      "type": "string"
    },
    "value": {
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 1.0
    }
  }
}