Properties
| Name | Type | Description |
|---|---|---|
| Name | string | Name of the earnings rate (max length = 100) |
| TypeOfUnits | string | The type of units by which leave entitlements are normally tracked. These are typically the same as the type of units used for the employee’s ordinary earnings rate |
| LeaveTypeID | string | Xero identifier |
| NormalEntitlement | number | The number of units the employee is entitled to each year |
| LeaveLoadingRate | number | Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%) |
| UpdatedDateUTC | string | Last modified timestamp |
| IsPaidLeave | boolean | Set this to indicate that an employee will be paid when taking this type of leave |
| ShowOnPayslip | boolean | Set this if you want a balance for this leave type to be shown on your employee’s payslips |
| CurrentRecord | boolean | Is the current record |
| LeaveCategoryCode | object | |
| SGCExempt | boolean | Set this to indicate that the leave type is exempt from superannuation guarantee contribution |
| IsQualifyingEarnings | boolean | Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and sup |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LeaveType",
"title": "LeaveType",
"type": "object",
"properties": {
"Name": {
"description": "Name of the earnings rate (max length = 100)",
"type": "string",
"example": "PTO",
"maxLength": 100
},
"TypeOfUnits": {
"description": "The type of units by which leave entitlements are normally tracked. These are typically the same as the type of units used for the employee\u2019s ordinary earnings rate",
"type": "string",
"example": "Hours"
},
"LeaveTypeID": {
"description": "Xero identifier",
"type": "string",
"format": "uuid",
"example": "e0eb6747-7c17-4075-b804-989f8d4e5d39"
},
"NormalEntitlement": {
"description": "The number of units the employee is entitled to each year",
"type": "number",
"format": "double",
"example": 152.0
},
"LeaveLoadingRate": {
"description": "Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)",
"type": "number",
"format": "double",
"example": 2.0
},
"UpdatedDateUTC": {
"description": "Last modified timestamp",
"type": "string",
"readOnly": true,
"x-is-msdate-time": true,
"example": "/Date(1583967733054+0000)/"
},
"IsPaidLeave": {
"description": "Set this to indicate that an employee will be paid when taking this type of leave",
"type": "boolean",
"example": true
},
"ShowOnPayslip": {
"description": "Set this if you want a balance for this leave type to be shown on your employee\u2019s payslips",
"type": "boolean",
"example": true
},
"CurrentRecord": {
"description": "Is the current record",
"type": "boolean",
"example": true
},
"LeaveCategoryCode": {
"$ref": "#/components/schemas/LeaveCategoryCode"
},
"SGCExempt": {
"description": "Set this to indicate that the leave type is exempt from superannuation guarantee contribution",
"type": "boolean",
"example": true
},
"IsQualifyingEarnings": {
"description": "Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings",
"type": "boolean",
"example": true
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-leavetype"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.