You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xero-payroll-nz.yaml
+50-6Lines changed: 50 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6838,12 +6838,21 @@ components:
6838
6838
type: number
6839
6839
format: double
6840
6840
x-is-money: true
6841
+
numberOfUnitsTaken:
6842
+
description: The number of units taken for the leave
6843
+
type: number
6844
+
format: double
6845
+
typeOfUnits:
6846
+
description: The type of units paid for the leave
6847
+
type: string
6848
+
typeOfUnitsTaken:
6849
+
description: The type of units taken for the leave
6850
+
type: string
6841
6851
periodStatus:
6842
-
description: Period Status
6852
+
description: Status of leave. "Estimated"
6843
6853
type: string
6844
6854
enum:
6845
-
- Approved
6846
-
- Completed
6855
+
- Estimated
6847
6856
EmployeeLeaveBalances:
6848
6857
type: object
6849
6858
properties:
@@ -7108,13 +7117,25 @@ components:
7108
7117
x-is-money: true
7109
7118
example: 10.0
7110
7119
sickLeaveHoursToAccrueAnnually:
7111
-
description: Number of hours accrued annually for sick leave. Multiply the number of days they're entitled to by the hours worked per day
7120
+
description: Deprecated use SickLeaveToAccrueAnnually
7112
7121
type: number
7113
7122
format: double
7114
7123
x-is-money: true
7115
7124
example: 100.5
7116
7125
sickLeaveMaximumHoursToAccrue:
7117
-
description: Maximum number of hours accrued annually for sick leave. Multiply the maximum days they can accrue by the hours worked per day
7126
+
description: Deprecated use SickLeaveMaximumToAccrue
7127
+
type: number
7128
+
format: double
7129
+
x-is-money: true
7130
+
example: 200.5
7131
+
SickLeaveToAccrueAnnually:
7132
+
description: Number of units accrued annually for sick leave. The type of units is determined by the property "TypeOfUnitsToAccrue" on the "Sick Leave" leave type
7133
+
type: number
7134
+
format: double
7135
+
x-is-money: true
7136
+
example: 100.5
7137
+
SickLeaveMaximumToAccrue:
7138
+
description: Maximum number of units accrued annually for sick leave. The type of units is determined by the property "TypeOfUnitsToAccrue" on the "Sick Leave" leave type
7118
7139
type: number
7119
7140
format: double
7120
7141
x-is-money: true
@@ -7135,6 +7156,12 @@ components:
7135
7156
format: date
7136
7157
example: 2020-01-19
7137
7158
x-is-date: true
7159
+
AnnualLeaveAnniversaryDate:
7160
+
description: The first date the employee will accrue Annual Leave, this is typically 12 months from their start date
7161
+
type: string
7162
+
format: date
7163
+
example: 2020-01-19
7164
+
x-is-date: true
7138
7165
EmployeeLeaveTypeObject:
7139
7166
type: object
7140
7167
properties:
@@ -7160,10 +7187,18 @@ components:
7160
7187
- PercentageOfGrossEarnings
7161
7188
- NoAccruals
7162
7189
hoursAccruedAnnually:
7163
-
description: The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is "OnHourWorked"
7190
+
description: Deprecated use UnitsAccruedAnnually
7164
7191
type: number
7165
7192
format: double
7166
7193
x-is-money: true
7194
+
UnitsAccruedAnnually:
7195
+
description: The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is "NoAccruals"
7196
+
type: number
7197
+
format: double
7198
+
x-is-money: true
7199
+
typeOfUnitsToAccrue:
7200
+
description: The type of units accrued for the leave annually
7201
+
type: string
7167
7202
maximumToAccrue:
7168
7203
description: The maximum number of hours that can be accrued for the leave
7169
7204
type: number
@@ -7174,6 +7209,9 @@ components:
7174
7209
type: number
7175
7210
format: double
7176
7211
x-is-money: true
7212
+
openingBalanceTypeOfUnits:
7213
+
description: The type of units for the opening balance
7214
+
type: string
7177
7215
rateAccruedHourly:
7178
7216
description: The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is "OnHourWorked"
7179
7217
type: number
@@ -7642,6 +7680,12 @@ components:
7642
7680
isActive:
7643
7681
description: Shows whether the leave type is active or not
7644
7682
type: boolean
7683
+
typeOfUnits:
7684
+
description: The type of units to be paid for the leave type
7685
+
type: string
7686
+
typeOfUnitsToAccrue:
7687
+
description: The type of units to be accrued for the leave type
0 commit comments