Xero Payroll (Australia) Endpoint: LeaveApplications

From OdataLink
Jump to navigation Jump to search

Overview

The Xero LeaveApplications endpoint provides the list of leave applications made by employees.

This includes all types of leave applications (applied, approved, rejected, etc.).


Fields

The following fields are available for the LeaveApplications endpoint.

LeaveApplicationID
A guid field that provides the id of the leave application.
EmployeeID
A guid field that provides the employee id associated with the leave application.
LeaveTypeID
A guid field that provides the leave type id associated with the leave application.
Title
A text field that provides the title for the leave application.
Description
A text field that provides a description for the leave application.
StartDate
A date field that provides the first date of leave.
EndDate
A date field that provides the last date of leave.
LeavePeriods
A table field that provides the list of pay periods that applies to the leave application.
See LeavePeriods Fields for more information.
UpdatedDateUTC
A date time field that indicates the last time this record was updated.


LeavePeriods Fields

The LeavePeriods Fields include the following sub fields.

PayPeriodStartDate
A date field that provides the start date of the pay period that overlaps this leave application.
PayPeriodEndDate
A date field that provides the end date of the pay period that overlaps this leave application.
LeavePeriodStatus
A text field that indicates the status of this part of the leave application for the given pay period.
Possible values are:
  • Scheduled
  • Processed
NumberOfUnits
A decimal field that provides the number of units (e.g. hours) applicable for this pay period and leave application.


Xero API

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


Related Fields

None


Related Endpoints

Employees
EmployeesExpanded
PayItemsLeaveTypes
PayRuns
PayRunsExpanded
Payslips


Related Topics

Xero Payroll (Australia) Models
Xero Payroll (Australia) Endpoints