Xero · Schema

EmployeeStatutorySickLeave

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
statutoryLeaveID string The unique identifier (guid) of a statutory leave
employeeID string The unique identifier (guid) of the employee
leaveTypeID string The unique identifier (guid) of the "Statutory Sick Leave (non-pensionable)" pay item
startDate string The date when the leave starts
endDate string The date when the leave ends
type string the type of statutory leave
status string the type of statutory leave
workPattern array The days of the work week the employee is scheduled to work at the time the leave is taken
isPregnancyRelated boolean Whether the sick leave was pregnancy related
sufficientNotice boolean Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave request
isEntitled boolean Whether the leave was entitled to receive payment
entitlementWeeksRequested number The amount of requested time (in weeks)
entitlementWeeksQualified number The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requested
entitlementWeeksRemaining number A calculated amount of time (in weeks) that remains for the statutory sick leave period
overlapsWithOtherLeave boolean Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period. While this is allowed it could affect payment amounts
entitlementFailureReasons array If the leave requested was considered "not entitled", the reasons why are listed here.
View JSON Schema on GitHub

JSON Schema

xero-employeestatutorysickleave-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmployeeStatutorySickLeave",
  "title": "EmployeeStatutorySickLeave",
  "type": "object",
  "required": [
    "employeeID",
    "startDate",
    "endDate",
    "workPattern",
    "leaveTypeID",
    "isPregnancyRelated",
    "sufficientNotice"
  ],
  "properties": {
    "statutoryLeaveID": {
      "description": "The unique identifier (guid) of a statutory leave",
      "type": "string",
      "format": "uuid"
    },
    "employeeID": {
      "description": "The unique identifier (guid) of the employee",
      "type": "string",
      "format": "uuid"
    },
    "leaveTypeID": {
      "description": "The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay item",
      "type": "string",
      "format": "uuid"
    },
    "startDate": {
      "description": "The date when the leave starts",
      "type": "string",
      "format": "date",
      "x-is-date": true
    },
    "endDate": {
      "description": "The date when the leave ends",
      "type": "string",
      "format": "date",
      "x-is-date": true
    },
    "type": {
      "description": "the type of statutory leave",
      "type": "string",
      "example": "Sick"
    },
    "status": {
      "description": "the type of statutory leave",
      "type": "string",
      "example": "Pending"
    },
    "workPattern": {
      "description": "The days of the work week the employee is scheduled to work at the time the leave is taken",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "isPregnancyRelated": {
      "description": "Whether the sick leave was pregnancy related",
      "type": "boolean"
    },
    "sufficientNotice": {
      "description": "Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave request",
      "type": "boolean"
    },
    "isEntitled": {
      "description": "Whether the leave was entitled to receive payment",
      "type": "boolean"
    },
    "entitlementWeeksRequested": {
      "description": "The amount of requested time (in weeks)",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "entitlementWeeksQualified": {
      "description": "The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requested",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "entitlementWeeksRemaining": {
      "description": "A calculated amount of time (in weeks) that remains for the statutory sick leave period",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "overlapsWithOtherLeave": {
      "description": "Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period. While this is allowed it could affect payment amounts",
      "type": "boolean"
    },
    "entitlementFailureReasons": {
      "description": "If the leave requested was considered \"not entitled\", the reasons why are listed here.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "UnableToCalculateAwe",
          "AweLowerThanLel",
          "NotQualifiedInPreviousPiw",
          "ExceededMaximumEntitlementWeeksOfSsp",
          "ExceededMaximumDurationOfPiw",
          "SufficientNoticeNotGiven"
        ]
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-employeestatutorysickleave"
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.