Xero Payroll (Australia) Endpoint: LeaveApplications
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:
- REQUESTED: The leave application has not been requested but not yet approved.
- SCHEDULED: The leave application has been approved but has not yet been processed.
- PROCESSED: The leave application has been processed.
- REJECTED: The leave application is not approved.
- 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
Related Topics
Changes Log
- OdataLink v2024.5.22.209
- Updated LeaveApplications endpoint for Payroll (AU) to use v2 that provides access to REQUESTED and REJECTED leave applications.