Xero · Schema

LeaveBalance

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
LeaveName string The name of the leave type
LeaveTypeID string Identifier of the leave type (see PayItems)
NumberOfUnits number The balance of the leave available
TypeOfUnits string The type of units as specified by the LeaveType (see PayItems)
View JSON Schema on GitHub

JSON Schema

xero-leavebalance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LeaveBalance",
  "title": "LeaveBalance",
  "type": "object",
  "properties": {
    "LeaveName": {
      "description": "The name of the leave type",
      "type": "string",
      "example": "Annual Leave"
    },
    "LeaveTypeID": {
      "description": "Identifier of the leave type (see PayItems)",
      "type": "string",
      "example": "544d9292-4329-4512-bfff-a9f15236d776"
    },
    "NumberOfUnits": {
      "description": "The balance of the leave available",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 81.2602
    },
    "TypeOfUnits": {
      "description": "The type of units as specified by the LeaveType (see PayItems)",
      "type": "string",
      "example": "Hours"
    }
  }
}