Setting Up Leave Categories

Leave categories define the types of time off available to employees in your organization. Before you can create leave policies or process leave requests, you must configure the leave categories that apply to your workforce — such as Casual Leave, Sick Leave, Privilege Leave, and others.

This chapter walks through the process of creating, editing, and managing leave categories in Udyamo HRMS.


What You Will Learn

  • What leave categories are and how they relate to leave policies
  • How to navigate to the leave category settings
  • How to create a new leave category
  • The difference between paid and unpaid leave types
  • Common leave categories used by Indian organizations
  • How to edit and delete existing categories
  • How leave type classification affects payroll (Loss of Pay)

Prerequisites

Required: You must have an Administrator or HR Manager role to configure leave categories. The Leave feature toggle must be enabled under Settings > Features.


Understanding Leave Categories

A leave category is a classification of time off. Each category has a name, a type (paid or unpaid), and optional attributes like color coding and description. Leave categories serve as the foundation for the entire leave management system:

  1. Leave categories define what kinds of leave exist (e.g., Sick Leave, Casual Leave).
  2. Leave policies define how many days of each category employees earn and how balances accumulate.
  3. Leave requests are filed by employees against a specific category.

Every leave request in Udyamo HRMS must be associated with exactly one leave category.

Leave categories overview


To access leave category configuration:

  1. Click Settings in the left sidebar.
  2. Select Leaves & Attendance from the settings menu.
  3. Click Categories.

The Categories page displays all existing leave categories in a list, showing each category's name, type, color, and current status.

Settings > Leaves & Attendance > Categories navigation


Creating a New Leave Category

To create a leave category:

  1. Navigate to Settings > Leaves & Attendance > Categories.
  2. Click the Add Category button.
  3. Fill in the category details in the form that appears.
  4. Click Save to create the category.

Category Fields

FieldDescriptionRequired
NameThe display name of the leave category (e.g., "Casual Leave").Yes
Short CodeAn abbreviated code used in reports and leave balances (e.g., "CL").Yes
TypeWhether the leave is Paid or Unpaid.Yes
DescriptionAn optional explanation of the category, visible to employees when applying for leave.No
ColorA color used to visually distinguish this category in calendars and reports.No

The Type field determines how the leave category interacts with payroll:

  • Paid leave — The employee receives their normal salary for days taken under this category. No payroll deduction occurs.
  • Unpaid leave — Days taken under this category result in a Loss of Pay (LOP) deduction during payroll processing. The payroll system calculates LOP days based on unpaid leave consumption and reduces the employee's gross pay proportionally.

Tip: If you need a leave type that does not deduct salary but also does not draw from an earned balance (such as a company-granted special day off), create it as a paid leave category with a separate policy that grants exactly the required number of days.

Step-by-Step Example: Creating Casual Leave

  1. Navigate to Settings > Leaves & Attendance > Categories.
  2. Click Add Category.
  3. Enter the following details:
    • Name: Casual Leave
    • Short Code: CL
    • Type: Paid
    • Description: Short-term leave for personal matters, appointments, or emergencies.
    • Color: Select a blue shade.
  4. Click Save.

The new Casual Leave category now appears in the category list and is available for use in leave policies.

Creating a new leave category


Common Indian Leave Categories

Indian labor laws and standard HR practices call for several common leave types. The table below lists the categories most organizations configure:

CategoryShort CodeTypeTypical EntitlementNotes
Casual LeaveCLPaid7 -- 12 days/yearFor short personal needs; usually cannot be carried forward
Sick LeaveSLPaid7 -- 12 days/yearFor illness or medical appointments; may require a medical certificate for extended absences
Privilege Leave / Earned LeavePL / ELPaid15 -- 30 days/yearAccrues over time; typically can be carried forward; used for planned vacations
Maternity LeaveMLPaid26 weeksAs per the Maternity Benefit Act, 2017; applicable to women employees
Paternity LeavePTLPaid5 -- 15 daysNot mandated by central law but commonly offered
Compensatory OffCOPaidAs earnedGranted when an employee works on a holiday or rest day
Leave Without PayLWPUnpaidNo limitUsed when all paid leave balances are exhausted
Bereavement LeaveBLPaid3 -- 5 daysFor the death of an immediate family member
Marriage LeaveMRLPaid3 -- 5 daysOffered by some organizations for an employee's own marriage
Restricted HolidayRHPaid2 -- 3 days/yearEmployee can choose from a list of optional holidays

Tip: You do not need to create all these categories at once. Start with the mandatory ones for your state and industry (CL, SL, PL/EL), then add others as your policy evolves.


Editing a Leave Category

To modify an existing leave category:

  1. Navigate to Settings > Leaves & Attendance > Categories.
  2. Locate the category you want to edit in the list.
  3. Click on the category name or the Edit icon.
  4. Update the desired fields (name, short code, type, description, or color).
  5. Click Save to apply the changes.

What Changes Are Safe to Make

ChangeImpact
Renaming the categoryUpdates the display name everywhere; existing leave records are preserved.
Changing the colorVisual change only; no impact on data.
Updating the descriptionInformational change; no impact on existing records.
Changing type (Paid to Unpaid)Affects future payroll calculations. Existing processed payroll records are not retroactively changed.

Warning: Changing a category from Paid to Unpaid (or vice versa) affects how future leave under that category is treated in payroll. Review all associated leave policies and pending leave requests before making this change.


Deleting a Leave Category

To delete a leave category:

  1. Navigate to Settings > Leaves & Attendance > Categories.
  2. Locate the category you want to remove.
  3. Click the Delete icon next to the category.
  4. Confirm the deletion when prompted.

Deletion Restrictions

A leave category cannot be deleted if:

  • There are existing leave requests (in any status) associated with it.
  • There are active leave policies referencing the category.
  • There are leave balance records tied to the category.

If you need to retire a category that has historical data, the recommended approach is to:

  1. Remove the category from all active leave policies so that no new accruals occur.
  2. Allow existing balances to lapse at year-end.
  3. Leave the category in place for historical reporting purposes.

Tip: Rather than deleting a category with historical data, consider renaming it to include "(Discontinued)" so that HR staff know it is no longer in active use.


Leave Category Impact on Payroll

The relationship between leave categories and payroll is critical to understand:

When an employee takes leave under a paid category and has sufficient balance, no payroll deduction occurs. The leave days are treated as regular working days for salary calculation purposes.

Unpaid Leave Categories (LOP)

When an employee takes leave under an unpaid category, those days are recorded as Loss of Pay (LOP) days in the payroll system. During payrun processing:

  1. The system counts the total LOP days for the payroll period.

  2. LOP days reduce the paid_days count in the PayrollRecord.

  3. The employee's gross pay is calculated on a pro-rata basis:

    Pro-rata salary = (Monthly salary / Total working days) x Paid days

  4. The LOP deduction appears as a separate line item on the payslip.

If an employee applies for a paid leave category but has insufficient balance, the behavior depends on your organization's policy:

  • The leave request may be rejected by the approver.
  • If approved despite insufficient balance, the excess days may be treated as LOP during payroll processing.

Warning: Ensure your leave policies and approval workflows align so that employees are not inadvertently marked for LOP deductions. Train managers to check leave balances before approving requests.


Best Practices

  1. Use descriptive names and short codes. "Casual Leave (CL)" is clearer than "Type A Leave."
  2. Assign distinct colors. Color coding helps employees and managers quickly identify leave types on calendars and reports.
  3. Document your descriptions. Include eligibility criteria, documentation requirements, and any restrictions in the description field so employees can self-serve.
  4. Keep the number of categories manageable. Most organizations need 5 to 8 active categories. Too many categories lead to confusion.
  5. Align with your state's labor laws. Leave entitlements vary by state in India. Ensure your categories cover all legally mandated leave types for the states where you operate.

What Comes Next

With leave categories defined, the next step is to create leave policies that specify accrual rules, limits, and carry-over behavior for each category. Proceed to Chapter 22: Leave Policies — Accrual, Carry-Over & Limits.