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
+53-7Lines changed: 53 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6838,12 +6838,23 @@ 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
6843
6853
type: string
6844
6854
enum:
6845
6855
- Approved
6846
6856
- Completed
6857
+
- Estimated
6847
6858
EmployeeLeaveBalances:
6848
6859
type: object
6849
6860
properties:
@@ -7108,13 +7119,25 @@ components:
7108
7119
x-is-money: true
7109
7120
example: 10.0
7110
7121
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
7122
+
description: Deprecated use SickLeaveToAccrueAnnually
7112
7123
type: number
7113
7124
format: double
7114
7125
x-is-money: true
7115
7126
example: 100.5
7116
7127
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
7128
+
description: Deprecated use SickLeaveMaximumToAccrue
7129
+
type: number
7130
+
format: double
7131
+
x-is-money: true
7132
+
example: 200.5
7133
+
SickLeaveToAccrueAnnually:
7134
+
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
7135
+
type: number
7136
+
format: double
7137
+
x-is-money: true
7138
+
example: 100.5
7139
+
SickLeaveMaximumToAccrue:
7140
+
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
7141
type: number
7119
7142
format: double
7120
7143
x-is-money: true
@@ -7130,7 +7153,13 @@ components:
7130
7153
type: string
7131
7154
example: OnAnniversaryDate
7132
7155
SickLeaveAnniversaryDate:
7133
-
description: If Sick Leave Schedule of Accrual is "OnAnniversaryDate", this is the date when entitled to Sick Leave
7156
+
description: If Sick Leave Schedule of Accrual is "OnAnniversaryDate", this is the date when entitled to Sick Leave. When null the Employee's start date is used as the anniversary date
7157
+
type: string
7158
+
format: date
7159
+
example: 2020-01-19
7160
+
x-is-date: true
7161
+
AnnualLeaveAnniversaryDate:
7162
+
description: The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date
7134
7163
type: string
7135
7164
format: date
7136
7165
example: 2020-01-19
@@ -7160,20 +7189,31 @@ components:
7160
7189
- PercentageOfGrossEarnings
7161
7190
- NoAccruals
7162
7191
hoursAccruedAnnually:
7163
-
description: The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is "OnHourWorked"
7192
+
description: Deprecated use UnitsAccruedAnnually
7193
+
type: number
7194
+
format: double
7195
+
x-is-money: true
7196
+
UnitsAccruedAnnually:
7197
+
description: The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is "NoAccruals"
7164
7198
type: number
7165
7199
format: double
7166
7200
x-is-money: true
7201
+
typeOfUnitsToAccrue:
7202
+
description: The type of units accrued for the leave annually
7203
+
type: string
7167
7204
maximumToAccrue:
7168
-
description: The maximum number of hours that can be accrued for the leave
7205
+
description: The maximum number of units that can be accrued for the leave
7169
7206
type: number
7170
7207
format: double
7171
7208
x-is-money: true
7172
7209
openingBalance:
7173
-
description: The initial number of hours assigned when the leave was added to the employee
7210
+
description: The initial number of units assigned when the leave was added to the employee
7174
7211
type: number
7175
7212
format: double
7176
7213
x-is-money: true
7214
+
openingBalanceTypeOfUnits:
7215
+
description: The type of units for the opening balance
7216
+
type: string
7177
7217
rateAccruedHourly:
7178
7218
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
7219
type: number
@@ -7642,6 +7682,12 @@ components:
7642
7682
isActive:
7643
7683
description: Shows whether the leave type is active or not
7644
7684
type: boolean
7685
+
typeOfUnits:
7686
+
description: The type of units to be paid for the leave type
7687
+
type: string
7688
+
typeOfUnitsToAccrue:
7689
+
description: The type of units to be accrued for the leave type
0 commit comments