1. Shifts Timings - Each employee is mapped to a shift for a day. Late coming, Early leaving, Shift hours worked are always calculated with respect to shift times.
3. Early leaving - occurs when an employee leaves before the stipulated shift end time

Shift Start Time – 9 am
Shift End Time – 5 pm
In Time | Out Time | Late Coming (min) | Early Leaving (min) | Hours Worked (min) | Hours Worked Within Shift (min) |
10:30 | 18:45 | 90 | 0 | 495 | 390 |
8:45 | 16:15 | 0 | 45 | 450 | 435 |
9:30 | 19:00 | 30 | 0 | 570 | 450 |
Multiple attendance policies can be created and each policy can have multiple rules. A policy also can have criteria through which it is mapped to a set of employees. These criteria are based on attributes like Department, Location, Level. All the policies for which employee is eligible will be applied and within a policy all the rules where the data is matching the rule will get applied, there is no hierarchy within rules.
Late Coming and Early Leaving Policy
1. If late duration is more than 10 minutes but less than or equal to 30 minutes AND the employee does not leave before the shift end time then deduct quarter day leave
2. If late duration is more than 10 minutes but less than or equal to
30 minutes AND the employee leaves before the shift end time
then deduct half day leave
3. If late duration is more than 30 minutes but less than or equal to 90 minutes AND the employee does not leave before the shift end time then deduct half day leave
4. If late duration is more than 30 minutes but less than or equal
to 90 minutes AND the employee leaves before the shift end time
then deduct full day leave
5. If late duration is more than 90 minutes then deduct full day leave
6. If early leaving duration is more than 90 minutes then deduct full day leave
Rule | Late Coming (min) | Early Leaving (min) | Deduction (days) | ||
Min | Max | Min | Max | ||
1 | 11 | 30 | 0 | 0 | 0.25 |
2 | 11 | 30 | 1 | 0.50 | |
3 | 31 | 90 | 0 | 0 | 0.50 |
4 | 31 | 90 | 1 | 1.00 | |
5 | 91 | 1.00 | |||
6 | 91 | 1.00 | |||
If an employee is not working the stipulated hours, then leave should be deducted as per rules given below
Rule | Hours Worked (min) | Deduction (days) | |
Min | Max | ||
1 | 0 | 360 | 1.00 |
2 | 361 | 479 | 0.50 |
If an employee is late but makes up by working extra then no penalty. Leaves should be deducted as per rules given below
Rule | Late Coming (min) | Hours Worked (min) | Hours Worked Within Shift (min) | Deduction (days) | |||
Min | Max | Min | Max | Min | Max | ||
1 | 0 | 30 | 0 | 510 | 0 | 360 | 0.25 |
2 | 31 | 90 | 0 | 570 | 0 | 360 | 0.50 |
3 | 91 | 1.00 | |||||


The priority in which leaves will be deducted can be configured in setup. For example, you can specify first Casual Leave will be deducted, if there is no balance then Earn Leave will be deducted and finally a new leave Loss of Pay will be created for the day. LOP is always the lowest priority and cannot be deleted.
Deduction of leave will be managed by reducing the opening balance of the leave and for Loss of Pay the entry will be created. If the deduction of a leave is not getting adjusted completely in one leave, then it would be adjusted across two leaves. For example, if the deduction is of 1 leave and the available balance is Casual Leave is 0.70 then 0.30 will be deducted from Earn Leave in the list. Loss Of Pay is a special leave created only for this feature and is used to deduct salary in payroll. The process of deduction of LOP in payroll will work only if the feature to deduct LWP is activated and the process / basis will be same as that of LWP.
Leaves created through this policy can be withdrawn manually, refer to the article on Manual reversal of leaves deducted through attendance policy.