Skip to content

Commit

Permalink
UKPAY-9238 Add scheduleOfAccrualDate to EmployeeLeaveType
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Buttress authored Aug 29, 2024
1 parent e03ce0c commit 3dedb49
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions xero-payroll-uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,8 @@ paths:
"hoursAccruedAnnually": 200,
"maximumToAccrue": 0,
"openingBalance": 72,
"rateAccruedHourly": 0
"rateAccruedHourly": 0,
"scheduleOfAccrualDate": null
}
]
}'
Expand Down Expand Up @@ -1886,7 +1887,14 @@ paths:
nonString: true
default: 5.25
object: employeeLeaveType
is_last: true
- scheduleOfAccrualDate:
is_variable: true
nonString: true
key: scheduleOfAccrualDate
keyPascal: ScheduleOfAccrualDate
keySnake: schedule_of_accrual_date
object: employeeLeaveType
is_last: true
summary: Creates employee leave type records
parameters:
- $ref: '#/components/parameters/idempotencyKey'
Expand Down Expand Up @@ -6500,6 +6508,12 @@ components:
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"
type: number
format: double
scheduleOfAccrualDate:
description: The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is "OnAnniversaryDate"
type: string
format: date
example: 2024-04-01
x-is-date: true
EmployeePayTemplateObject:
type: object
properties:
Expand Down

0 comments on commit 3dedb49

Please sign in to comment.