Attendance Policies & Rules

Attendance policies define the rules that govern how check-ins, late arrivals, early departures, absences, and working hours are evaluated. The AttendancePolicy model in Udyamo HRMS allows administrators to configure granular time rules that determine payroll impact, half-day deductions, and loss-of-pay calculations. This chapter covers creating and configuring attendance policies, assigning them, and understanding their impact.


Prerequisites

Required: Before configuring attendance policies:


  1. From the sidebar, click Attendance.
  2. Click Settings or Policies from the submenu.
  3. The Attendance Policy configuration page opens.

Alternatively:

  1. Navigate to Settings > Leaves & Attendance.
  2. Select the Attendance Policies tab.

Attendance policy settings


What Is an Attendance Policy?

An attendance policy is a set of configurable rules that define:

  • How many minutes of late arrival are tolerated before consequences
  • How many late arrivals per month trigger a deduction
  • What constitutes a half-day versus a full absence
  • Minimum working hours required for a full day
  • Rules for early coming and late going
  • Auto-checkout behavior
  • Holiday and weekend attendance validation

Creating an Attendance Policy

Step 1: Open the Policy Form

  1. On the Attendance Policies page, click Add Policy or Create New Policy.
  2. The policy creation form opens.

Step 2: Enter Policy Details

FieldDescriptionExample
Policy NameA descriptive name for the policyStandard Office Policy
DescriptionOptional description of the policy's purposeDefault policy for all office employees with 9-6 shift

Step 3: Configure Time Rules

Late Coming Rules

These rules define how late arrivals are handled.

SettingDescriptionExample
Late Mark After (minutes)Minutes after shift start + grace period before marking as late0 (immediately after grace period)
Maximum Late Arrivals Per MonthNumber of late arrivals allowed per month before deductions3
Deduction After Exceeding Late LimitWhat happens when the late limit is exceededHalf-day deduction
Late Arrival Penalty TypeHow each excess late arrival is penalizedPer occurrence or cumulative

Example Configuration:

  • Grace period (on shift): 15 minutes
  • Late Mark After: 0 minutes (i.e., late after 15-minute grace)
  • Maximum Late Arrivals Per Month: 3
  • Deduction: After 3 late arrivals, every subsequent late arrival counts as a half-day deduction

Early Coming Policy

The early coming policy controls how the system handles employees who check in before their shift starts.

SettingDescriptionExample
Allow Early Check-InWhether employees can check in before the shift start timeYes
Early Check-In Limit (minutes)Maximum minutes before shift start that check-in is allowed60
Count Early Hours as WorkingWhether time before shift start counts toward working hoursNo
Count Early Hours as OvertimeWhether early hours count toward overtimeNo

Tip: For most organizations, allow early check-in but do not count it as overtime. This provides flexibility for employees who arrive early without inflating payroll costs.

Late Going Policy

The late going policy controls how the system handles employees who check out after their shift ends.

SettingDescriptionExample
Allow Late Check-OutWhether employees can check out after the shift end timeYes
Late Check-Out Limit (minutes)Maximum minutes after shift end before auto-checkout240
Count Late Hours as WorkingWhether time after shift end counts toward working hoursYes
Count Late Hours as OvertimeWhether late hours count toward overtime (requires overtime setting)Yes

Warning: If Count Late Hours as Overtime is enabled, ensure overtime policies and approval workflows are also configured to prevent unauthorized overtime claims. See Overtime Requests.

Step 4: Configure Working Hour Rules

SettingDescriptionExample
Minimum Working Hours (Full Day)Minimum hours required for a full day of attendance8.0
Minimum Working Hours (Half Day)Minimum hours required for a half-day4.0
Absent Below (hours)Working hours below this threshold result in absent marking2.0

Working Hour Thresholds Explained:

Working HoursStatus
8.0 or moreFull Day (Present)
4.0 to 7.99Half Day
2.0 to 3.99Quarter Day or Absent (depends on configuration)
Below 2.0Absent

Tip: Set the half-day threshold to exactly half of the full-day requirement. This creates a clear and predictable rule. For example: full day = 8 hours, half day = 4 hours.

Step 5: Configure Absent Marking Rules

SettingDescriptionExample
Mark Absent if No Check-InAutomatically mark employees as absent on working days with no check-inYes
Mark Absent After (time)Time after which the system marks an employee absent if no check-in existsEnd of shift
Absent Working Days OnlyOnly mark absent on configured working days (not weekends or holidays)Yes

Step 6: Configure Auto-Checkout

SettingDescriptionExample
Auto-Checkout EnabledAutomatically check out employees who forget to check outYes
Auto-Checkout TimeThe time at which auto-checkout occurs23:59
Auto-Checkout Based on ShiftUse the shift end time instead of a fixed time for auto-checkoutYes
Auto-Checkout Working HoursWorking hours to record for auto-checkout (e.g., use shift hours or actual hours)Use shift duration

Warning: Auto-checkout at the end of shift is recommended over midnight auto-checkout. Midnight auto-checkout may record inflated working hours for employees who forgot to check out.

Step 7: Save the Policy

  1. Review all configured rules.
  2. Click Save.
  3. The policy appears in the Attendance Policies list.

Holiday and Weekend Validation

These rules control attendance behavior on non-working days.

SettingDescriptionExample
Allow Check-In on HolidaysWhether employees can check in on declared holidaysYes
Allow Check-In on WeekendsWhether employees can check in on weekendsYes
Count Holiday AttendanceWhether attendance on holidays counts for any purpose (overtime, comp-off)Yes — as overtime
Count Weekend AttendanceWhether attendance on weekends counts for any purposeYes — as overtime

Tip: Organizations that require weekend or holiday work should enable check-in on these days and configure the hours as overtime or compensatory off (comp-off).


Policy Assignment

After creating a policy, assign it to employees.

Assignment Levels

LevelDescription
Organization DefaultApplies to all employees unless overridden at a lower level
Department LevelApplies to all employees in a specific department
Office LevelApplies to all employees in a specific office
Individual EmployeeApplies to a specific employee, overriding department and office policies

Assigning a Policy

As Organization Default

  1. On the Attendance Policies page, locate the policy.
  2. Click the Actions menu.
  3. Select Set as Default.
  4. The policy applies to all employees who do not have a department, office, or individual assignment.

To a Department

  1. Navigate to Settings > Organization > Departments.
  2. Edit the department.
  3. In the Attendance Policy field, select the desired policy.
  4. Save.

To an Individual Employee

  1. Open the employee's profile.
  2. Navigate to the Attendance section.
  3. In the Attendance Policy field, select the desired policy.
  4. Save.

Tip: Use the hierarchy wisely. Set a permissive default policy at the organization level, then apply stricter policies to departments or roles that require them (e.g., customer-facing teams, manufacturing units).


Policy Priority (Override Order)

When multiple policies could apply to an employee, the system follows this priority order (highest to lowest):

PriorityLevel
1 (Highest)Individual Employee assignment
2Department assignment
3Office assignment
4 (Lowest)Organization Default

If an employee has an individual policy assigned, that policy applies regardless of department or office settings.


Impact on Payroll — LOP Calculation

Attendance policies directly affect payroll through Loss of Pay (LOP) calculations.

How LOP Is Calculated

ScenarioLOP Days
Employee absent for a full working day (no leave approved)1 LOP day
Employee marked as half-day (working hours below full-day threshold)0.5 LOP day
Late arrival deduction (after exceeding monthly limit)0.5 LOP day per excess late
Unauthorized early departure resulting in insufficient hours0.5 or 1 LOP day (based on actual hours)

LOP in Payroll

During payroll processing:

  1. The system counts the number of LOP days for each employee based on attendance records and the applied policy.
  2. The per-day salary is calculated as: monthly_salary / total_working_days_in_month.
  3. LOP deduction = per_day_salary * LOP_days.
  4. The deduction appears in the payslip under the "Loss of Pay" component.

Warning: Review LOP calculations before finalizing payroll each month. Incorrect attendance policy settings can lead to unintended salary deductions. See Running Payroll for the payroll review process.


Example Policy Configurations

Standard Office Policy

SettingValue
Grace Period (on shift)15 minutes
Max Late Arrivals/Month3
Late DeductionHalf-day after 3rd late
Min Working Hours (Full Day)8 hours
Min Working Hours (Half Day)4 hours
Auto-CheckoutAt shift end + 30 minutes
Weekend Check-InNot allowed
Holiday Check-InNot allowed

Manufacturing / Shift-Based Policy

SettingValue
Grace Period (on shift)5 minutes
Max Late Arrivals/Month2
Late DeductionLOP after 2nd late
Min Working Hours (Full Day)8 hours
Min Working Hours (Half Day)4 hours
Auto-CheckoutAt shift end
Weekend Check-InAllowed (as overtime)
Holiday Check-InAllowed (as overtime)

Flexible Hours Policy (IT/Services)

SettingValue
Grace Period (on shift)120 minutes
Max Late Arrivals/MonthUnlimited
Late DeductionNone
Min Working Hours (Full Day)8 hours
Min Working Hours (Half Day)4 hours
Auto-CheckoutAt midnight
Weekend Check-InAllowed
Holiday Check-InAllowed

Editing and Deleting Policies

Editing

  1. Navigate to the Attendance Policies page.
  2. Click the policy name.
  3. Click Edit.
  4. Modify settings and save.

Warning: Changes to a policy affect all employees currently assigned to it. Changes apply from the current date forward and do not alter past attendance records.

Deleting

  1. Click the Actions menu for the policy.
  2. Select Delete.
  3. Confirm.

Warning: You cannot delete a policy that is currently assigned to employees or set as the organization default. Reassign all employees and remove the default designation before deleting.


Common Issues and Solutions

IssueCauseSolution
Employees not being marked lateGrace period is too generousReduce the grace period on the shift or the late-mark-after value on the policy
All employees showing as half-dayMinimum working hours threshold is too highAdjust the full-day minimum working hours to match actual expectations
LOP deductions are unexpectedPolicy rules are too strictReview the policy; increase the late arrival limit or adjust thresholds
Weekend attendance not countingWeekend check-in is disabled in the policyEnable weekend check-in and configure it to count as overtime
Auto-checkout not workingAuto-checkout is disabled in the policyEnable auto-checkout and set the trigger time

Next Steps