Xero Payroll (Australia) Endpoint: LeaveApplications: Difference between revisions

Created page with "== Overview == The Xero '''LeaveApplications''' endpoint provides the list of leave applications made by employees. This includes all..."
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 14: Line 14:


;EmployeeID
;EmployeeID
:A [[Field Type: Text|text field]] that provides the [[Xero Payroll (Australia) Endpoint: Employees|employee id]] associated with the leave application.
:A [[Field Type: GUID|guid field]] that provides the [[Xero Payroll (Australia) Endpoint: Employees|employee id]] associated with the leave application.


;LeaveTypeID
;LeaveTypeID
:A [[Field Type: Text|text field]] that provides the [[Xero Payroll (Australia) Endpoint: PayItemsLeaveTypes|leave type id]] associated with the leave application.
:A [[Field Type: GUID|guid field]] that provides the [[Xero Payroll (Australia) Endpoint: PayItemsLeaveTypes|leave type id]] associated with the leave application.


;Title
;Title
Line 44: Line 44:


;PayPeriodStartDate
;PayPeriodStartDate
:A [[Field Type: Date|date field]] that provides the start date of the pay period that overlaps this leave applicaton.
:A [[Field Type: Date|date field]] that provides the start date of the pay period that overlaps this leave application.


;PayPeriodEndDate
;PayPeriodEndDate
:A [[Field Type: Date|date field]] that provides the end date of the pay period that overlaps this leave applicaton.
:A [[Field Type: Date|date field]] that provides the end date of the pay period that overlaps this leave application.


;LeavePeriodStatus
;LeavePeriodStatus
:A [[Field Type: Text|text field]] that indicates the status of this part of the leave application for the given pay period.
:A [[Field Type: Text|text field]] that indicates the status of this part of the leave application for the given pay period.
:Possible values are:
:Possible values are:
:* '''Scheduled'''
:* '''REQUESTED''': The leave application has not been requested but not yet approved.
:* '''Processed'''
:* '''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
;NumberOfUnits
Line 83: Line 85:
:[[Xero Payroll (Australia) Models]]
:[[Xero Payroll (Australia) Models]]
:[[Xero Payroll (Australia) Endpoints]]
:[[Xero Payroll (Australia) Endpoints]]
== Changes Log ==
;OdataLink v2024.5.22.209
:Updated LeaveApplications endpoint for [[Xero Payroll (Australia) Models|Payroll (AU)]] to use v2 that provides access to REQUESTED and REJECTED leave applications.