Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UKPAY-9238 Add scheduleOfAccrualDate to EmployeeLeaveType #619

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading