Overview
When Auto detect pay type on leave import is on and a row has no Pay Type, Talexio decides the pay type of each day from the employee's balance for that leave type in that year. This article explains how. To switch the setting on, see Auto Detect Pay Type on Leave Import: Overview.
Permissions
Switching the setting on needs access to Client Settings. Importing leave needs the Request Leave and Approve Leave permissions on the employees in the file.
The Order Talexio Uses
- Full pay is used first, for as long as the employee has full pay balance.
- Then half pay, but only if the leave type allows half pay and the employee has half pay balance.
- Anything left is booked as unpaid, but only if the leave type allows unpaid leave.
If one day is only partly covered, it is split into separate records, one per pay type. For example, an employee books 8 hours and has 3 hours of full pay and 2 hours of half pay left: the day is imported as 3 hours full pay, 2 hours half pay and 3 hours unpaid.
Leave in the same file is counted as you go, so several days for the same employee use up the balance day by day, in the order of the rows.
Times on a Split Day
- Row with Time From and Time To - the pay types follow one after the other within that time range.
- Full-day row - the first pay type starts at 08:00 (employee's time zone) and the others follow on directly.
What Is Not Allowed
- Maternity leave always needs a Pay Type in the file. Rows without one are not imported.
- No unpaid allowed - if the balance does not cover the day and the leave type does not allow unpaid leave, that day is not imported.
- Half pay not allowed - half pay is never used for a leave type that does not allow it, even if a half pay balance exists.
- Banking - leave types with banking are always booked as full pay.
- Usual import rules - no booking on top of existing leave on the same day, no leave on days the employee does not work, and Time From / Time To are needed for employees on a non-fixed job schedule.
The Leave Report
When the import finishes, Talexio downloads a leave report listing every leave record it created, with the Pay Type of each. A split day appears as several rows, and rows that could not be imported are listed with the reason. Each day is imported as a whole: if one part of a split day cannot be booked, none of that day is imported.