Contract.LeaveImportRequest

Name / Description Type / Format Example
payrollCode
Payroll Code
string "string"
type string "Unauthorised" "Holiday" "Sick" "Maternity" "Paternity" "Adoption" "SharedParental" "Bereavement" "SharedParentalAdoption" "PaternityAdoption" "StrikeAction"
pay string "DoNotPay" "PayAsUsual" "StatutoryPay" "OccupationalPolicy" "Custom"
openEndedAbsence
Open Ended Absence
boolean true
from
The first day of Leave.
string date "2024-10-18"
to
The last day of Leave.
string date "2024-10-18"
historicLeaveRequiresProcessing
Only used during the creation of historical SSP.
When creating historical SSP, this will determine whether to pay that leave in the next PayRun.
boolean true
averageWeeklyEarnings
The employees average weekly earnings.
number double 0.0
automaticAWECalculation
Automatic Average Weekly Earnings.
boolean true
offsetPay
Top-up pay to usual amongst (offsetting)
boolean true
calculationType string "OneThreeSixtyFifthFTE" "OneThreeSixtyFifthProRata" "UsualProRata" "OneFifthOrWorkingPattern" "SpecifyHours"
percentOfPay
Only provided when the leave type is 'Sick' and the payment type is 'Custom'.
number double 0.0
strikeHoursToDeduct
Only provided when the leave type is 'StrikeAction' and the calculation type is 'SpecifyHours'.
number double 0.0
{
  "payrollCode": "string",
  "type": "Unauthorised",
  "pay": "DoNotPay",
  "openEndedAbsence": true,
  "from": "2024-10-18",
  "to": "2024-10-18",
  "historicLeaveRequiresProcessing": true,
  "averageWeeklyEarnings": 0.0,
  "automaticAWECalculation": true,
  "offsetPay": true,
  "calculationType": "OneThreeSixtyFifthFTE",
  "percentOfPay": 0.0,
  "strikeHoursToDeduct": 0.0
}
Contained in Models

- none -

Consumed by Operations
Import Leave Asynchronously
Returned by Operations

- none -