Xero · Schema

EmployeeLeaveBalance

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
name string Name of the leave type.
leaveTypeID string The Xero identifier for leave type
balance number The employees current balance for the corresponding leave type.
typeOfUnits string The type of the units of the leave.
View JSON Schema on GitHub

JSON Schema

xero-employeeleavebalance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmployeeLeaveBalance",
  "title": "EmployeeLeaveBalance",
  "type": "object",
  "properties": {
    "name": {
      "description": "Name of the leave type.",
      "type": "string",
      "example": "Holiday"
    },
    "leaveTypeID": {
      "description": "The Xero identifier for leave type",
      "type": "string",
      "format": "uuid"
    },
    "balance": {
      "description": "The employees current balance for the corresponding leave type.",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "typeOfUnits": {
      "description": "The type of the units of the leave.",
      "type": "string",
      "example": "hours"
    }
  }
}