Xero Payroll (UK) Endpoint: EmployeesLeaveTypes

From OdataLink
Jump to navigation Jump to search

Overview

The Xero EmployeesLeaveTypes endpoint provides the list of employee specific settings relating to leave types.


Fields

The following fields are available for the EmployeesLeaveTypes endpoint.

employeeID
A guid field that provides the id of the linked employee.
leaveTypeID
A guid field that provides the id of the linked leave type.
scheduleOfAccrual
A text field that provides the way in which leave accrues.
Possible values are:
  • AnnuallyAfter6Months: Leave is accrued every six months
  • OnAnniversaryDate: Leave is accrued every anniversary date
  • PercentageOfGrossEarnings: Leave is accrued as a percentage of Gross Earnings. Only applicable for Holiday Pay
  • NoAccruals: Leave does not accrue
hoursAccruedAnnually
A decimal field that provides the number of hours accrued annually.
maximumToAccrue
A decimal field that provides the maximum number of hours that can be accrued.
openingBalance
A decimal field that provides the initial opening balance when the leave type was first assigned to the employee.
rateAccruedHourly
A decimal field that provides the number of hours accrued for each hour worked.


Xero API

For a detailed run through of the endpoint, you can see the Xero API.


Related Fields

None


Related Endpoints

Employees
PayItemsLeaveTypes


Related Topics

Xero Payroll (UK) Models
Xero Payroll (UK) Endpoints