# Leave Allowance

<p class="doc-lead">Leave Allowance tracks each employee's leave entitlement, balance, and usage by leave type for a given period. Use it to configure annual entitlements, carry forward, and manual or bulk credit adjustments.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Getting started</span>
<div class="doc-toc-links">
<a href="#/hr/leave-allowance?id=overview">Overview &amp; List View</a>
<a href="#/hr/leave-allowance?id=quick-start">Quick Start</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Form reference</span>
<div class="doc-toc-links">
<a href="#/hr/leave-allowance?id=header-fields">Header Fields</a>
<a href="#/hr/leave-allowance?id=leave-type-lines">Leave Type Allowances</a>
<a href="#/hr/leave-allowance?id=bulk-credit">Bulk Credit</a>
<a href="#/hr/leave-allowance?id=add-credit">Add Credit</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/hr/leave-allowance?id=view-tabs">View Tabs</a>
<a href="#/hr/leave-allowance?id=actions">Actions &amp; Status</a>
<a href="#/hr/leave-allowance?id=faq">FAQ</a>
<a href="#/hr/leave-allowance?id=related">Related</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; List View</h2>

<img src="hr/images/leave-allowance.webp" alt="Leave Allowance list" loading="lazy">

<b>Quick filters</b>

| **Filter** | **Description** |
|------------|-----------------|
| Suspended | Show suspended allowances only. |

<b>List columns</b>

| **Column** | **Description** |
|------------|-----------------|
| Id | Record ID. |
| Employee | Employee name. |
| From Date | Allowance period start. |
| To Date | Allowance period end. |
| Leave allowance hours | Total allowance hours for the period. |

<b>List row actions</b>

| **Action** | **Available when** |
|------------|-------------------|
| View | All |

<b>Primary toolbar</b>

| **Action** | **Description** |
|------------|-----------------|
| New | Create a new leave allowance. |
| Bulk Credit | Credit leave days for multiple employees at once. |

<hr class="doc-section-divider">

<h2 id="quick-start">Quick Start — Configure Leave Allowance</h2>

<h3>1. Navigate</h3>
Go to <b>HRMS → Masters → Leave Allowance</b>.

<h3>2. Create new allowance</h3>
Click <b>New</b>.

<img src="hr/images/new-allowance.webp" alt="New Leave Allowance" loading="lazy">

<h3>3. Fill in details</h3>
<ul>
<li>Select <b>Employee</b>, <b>From Date</b>, and <b>To Date</b>.</li>
<li>Enter <b>Total leave allowance days</b> for the period.</li>
<li>Add leave type lines with entitlement days per type.</li>
</ul>

<h3>4. Save</h3>
Click <b>Save</b>.

<hr class="doc-section-divider">

<h2 id="header-fields">Header Fields Reference</h2>

<b>Assignment &amp; Period</b>

| **Field** | **Description** |
|-----------|-----------------|
| Employee * | Employee receiving the allowance. |
| From Date * | Start of the allowance period. |
| To Date * | End of the allowance period. |

<b>Current Period Allowance</b>

| **Field** | **Description** |
|-----------|-----------------|
| Total leave allowance days | Total days allocated for this period. |
| Leave allowance hours | Total hours (shown on edit/view). |

<b>Carry Forward</b>

| **Field** | **Description** |
|-----------|-----------------|
| Last year addon allowance days | Days carried forward from the previous year. |
| Carry forward expiry date | Date after which carried-forward days expire. |

<b>Additional Information</b>

| **Field** | **Description** |
|-----------|-----------------|
| Notes | Internal notes. |

<hr class="doc-section-divider">

<h2 id="leave-type-lines">Leave Type Allowances</h2>

| **Column** | **Description** |
|------------|-----------------|
| Leave Type * | Type of leave (from <a href="#/hr/leave-type">Leave Type</a>). |
| Days * | Entitlement days for this type. |
| Entitlement Hours | Calculated entitlement in hours. |
| Max Days Per Month | Maximum days that can be taken per month for this type. |

<hr class="doc-section-divider">

<h2 id="bulk-credit">Bulk Credit</h2>

Credit leave days for multiple employees at once. Click <b>Bulk Credit</b> on the list toolbar.

| **Field** | **Description** |
|-----------|-----------------|
| Accrual Month | Month for which credit is applied. |
| Period * | Allowance period. |
| Select Employee to Credit | Specific employees to credit. |
| Department | Filter by department. |
| Employee Group | Filter by employee group. |

Click <b>Credit</b> to process. A summary modal shows credited and skipped employees with reasons.

<hr class="doc-section-divider">

<h2 id="add-credit">Add Credit</h2>

Add a manual credit to an existing leave allowance. Open the allowance view → more menu → <b>Add Credits</b>.

| **Field** | **Description** |
|-----------|-----------------|
| Posted On * | Date the credit is posted. |
| Accrual Month * | Month the credit applies to. |
| Period * | Credit period (usually a full calendar month, or a mid-month cycle such as 25th–24th). |
| Credit Days * | Number of days to credit. Use <b>Refetch credit days</b> to auto-calculate from entitlement, joining, termination, Absent, and unpaid / LOP days. |
| System note | Explains why the suggested days were prorated or set to zero (joining, termination, Absent / LOP). |
| Credit Source * | Source of the credit (see below). |
| Notes | Reason or notes for the credit. |

<b>Credit Source values</b>

| **Source** | **Description** |
|------------|-----------------|
| Monthly Accrual | Full monthly entitlement for the period (e.g. 2.5 when annual entitlement is 30), when there are no Absent / unpaid days. |
| Joining Prorata | Prorated from joining date, or zero when the period ends before joining. |
| Termination Prorata | Prorated until termination date, or zero when the period starts after termination. |
| LOP Adjustment | Reduced for <b>Absent</b> and unpaid / LOP days already marked on attendance in the period. |
| Correction | Correction of a previous error. |
| Manual Adjustment | Manual credit by HR. |
| Migration | Credit from data migration. |

<b>How suggested credit days are calculated</b>

<ol>
<li>Monthly entitlement = annual leave days ÷ months in the allowance period (30 ÷ 12 = <b>2.5</b>).</li>
<li>A <b>full month</b> (1st–last day, or cycles like 25th–24th / 26th–25th) always counts as <b>1 month</b> → base credit = 2.5.</li>
<li>If the employee <b>joined after</b> the period end → <b>0</b> (posting is blocked).</li>
<li>If the employee <b>joined mid-period</b> → prorate from joining date using the HR setting <b>Leave Credit Prorata Day Basis</b> (e.g. join 10 Feb with 19 paid days: Calendar → 2.5 × 19 / 28 ≈ 1.70; Annual ÷ 365 → 2.5 × 19 / 30.42 ≈ 1.56).</li>
<li>If the employee <b>terminated before</b> the period start → <b>0</b> (posting is blocked).</li>
<li>If the employee <b>terminated mid-period</b> → prorate until termination date (same day-basis setting).</li>
<li><b>Absent</b> days and unpaid / LOP leave days on attendance further reduce the suggestion (same day-basis setting). Source becomes <b>LOP Adjustment</b>. Refetch uses the same computed attendance status as the Employee Attendance report (including days shown as Absent without punches).</li>
</ol>

<p><b>What counts as unpaid for accrual reduction</b></p>
<ul>
<li><b>Absent</b> (attendance status Absent).</li>
<li>Leave / half-day leave marked as unpaid (<code>paidLeave = false</code>).</li>
<li>Unpaid holiday, when payroll setting <b>Count Holidays as Paid During Unpaid Leave</b> is OFF.</li>
</ul>
<p>Present, paid leave, and normal holidays do <b>not</b> reduce accrual.</p>

<p><b>Leave Credit Prorata Day Basis</b> (<a href="#/hr/hrms-settings?id=leave-accrual">HR Settings → Leave Accrual</a>, when Monthly Leave Accrual is ON):</p>
<ul>
<li><b>Calendar Days</b> (default) — actual days in the credit period (28–31).</li>
<li><b>Fixed 30 / Fixed 31</b> — constant divisor.</li>
<li><b>Annual ÷ 365</b> — ≈ 30.42 days per month (365 ÷ 12).</li>
</ul>
<p>This divisor applies to mid-period joining / termination / Absent–LOP prorata. A full month with <b>no</b> Absent or unpaid days still receives the full monthly entitlement (e.g. 2.5).</p>

<p><b>Example.</b> Annual entitlement 30 days (2.5/month). Employee joins on 1 March and works through December with no LOP: March–December = <b>10 × 2.5 = 25</b> days credited. January and February (before joining) cannot be posted.</p>

<p>If the employee joins <b>mid-March</b>, March is prorated and April–December remain 2.5 each (still less than 25 for the year unless March is a full month from day 1).</p>

<hr class="doc-section-divider">

<h2 id="view-tabs">View Tabs</h2>

| **Tab** | **What it shows** |
|---------|-------------------|
| General | Period, annual entitlement, leave type allowances, available balance, carry forward expiry, notes. |
| Leave Usage | Overall usage summary, usage by category, and detailed leave usage records. |
| Credits | Credit history: Sl No, Accrual Month, Posted On, Period From/To, Days (Hr), Type, System Suggested, Notes. |

<hr class="doc-section-divider">

<h2 id="actions">Actions &amp; Status</h2>

| **Action** | **Description** |
|------------|-----------------|
| Edit | Opens for editing. |
| Clone | Creates a copy. |
| Add Credits | Opens the Add Credit modal. |
| Print | Prints the allowance. |

| **Status** | **Description** |
|------------|-----------------|
| Active | Allowance is in use. |
| Suspended | Allowance is deactivated. |

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<b>What happens when a paid leave request is cancelled?</b><br>
The system reverts leave usage on the employee's leave allowance for the cancelled period.

<b>What is the difference between upfront annual and monthly accrual?</b><br>
Controlled by <b>Monthly Leave Accrual</b> in <a href="#/hr/hrms-settings?id=leave-accrual">HR Settings → Leave Accrual</a>. When OFF, the full annual entitlement is credited upfront. When ON, days accrue monthly via Bulk Credit / Add Credit.

<b>Employee joins in March with 30 days/year — how much is credited by December?</b><br>
Monthly entitlement is 2.5. If they join on (or before) the start of March and work present through December with no LOP, March–December = <b>10 × 2.5 = 25</b> days. Months before joining cannot be credited. Mid-month joining prorates that first month only.

<b>Why is suggested credit 0 for January when the employee joined in February?</b><br>
The period ends before the joining date. Refetch shows a system note and Add Credit / Bulk Credit will not post for that period.

<b>How does termination affect monthly credit?</b><br>
Periods entirely after termination cannot be posted. The termination month is prorated until the termination date.

<b>How does Check Eligibility on leave requests use leave allowance?</b><br>
The eligibility check compares requested days against the available balance on the employee's active leave allowance for the selected leave type.

<b>What is Bulk Credit?</b><br>
Adds accrual or annual entitlement days to many employees at once — filter by employee group or department on the bulk credit form. Employees with zero suggested days (before joining / after termination) are skipped with a reason.

<b>Can I delete a leave allowance in use?</b><br>
Deletion is blocked when leave has been consumed or payroll exists for credit periods — adjust with add-on credits instead.

<b>What is Add-on (prior period) credit?</b><br>
Credits entitlement for periods before the allowance start date — used when migrating opening balances.

<b>Why can't I edit a credit line?</b><br>
Payroll may exist for that credit period — system blocks changes that would make credited hours less than used hours.

<b>How many allowances can one employee have?</b><br>
One active allowance record per employee per period — overlapping periods are rejected on save.

<hr class="doc-section-divider">

<h2 id="related">Related Topics</h2>

<ul>
<li><a href="#/hr/leave-type">Leave Type</a></li>
<li><a href="#/hr/leave-request">Leave Request</a></li>
<li><a href="#/hr/hrms-settings">HR Settings</a> — Leave Accrual (monthly accrual, prorata day basis, max advance days).</li>
<li><a href="#/hr/reports/leave-allowance-credit-report">Leave Credit Report</a> — company-wide credit ledger and employee totals.</li>
</ul>
