Xero · Schema

PnlAccountClass

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
total number Total revenue/expense value
accountTypes array Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section. Refer to the account type element below
View JSON Schema on GitHub

JSON Schema

xero-pnlaccountclass-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PnlAccountClass",
  "title": "PnlAccountClass",
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total revenue/expense value",
      "format": "double",
      "x-is-money": true
    },
    "accountTypes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PnlAccountType"
      },
      "description": "Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section. Refer to the account type element below"
    }
  },
  "additionalProperties": false
}