---
title: "Feature: Calculate leave entitlements from policies"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791007633@main"
source: "Changelog/1.0.0/Feature-1791007633-CalculateLeaveEntitlementsFromPolicies.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Calculate leave entitlements from policies {#feature-1791007633}

## Description {#description}

HR manages leave policies under **Administration > Leave policies**: the days per year for a reference
week, the unit days or hours, yearly or monthly granting, rounding, carry-over and whom a policy applies to. The
most specific policy applies; two policies with the same type and scope cannot overlap, and the statutory minimum
of four weeks cannot be undercut.

The entitlement of a year is pro-rated by full months of employment and the working days of each month (or the
weekly contract time under hours), rounded once, and never below the statutory minimum. In an exit year after June
and the waiting period, the statutory part stays whole. Employees, their managers and HR see the calculation on the
leave balance; the API offers it as `getEmployeeLeaveEntitlement`.

Policies decide the unit of a ledger, add their planned grants and accruals to the forecast, and let monthly days be
used before they are granted where the policy allows it. A change of unit is booked as a pair of conversion
entries.

## Impact {#impact}

Two new tables and a new entry in the navigation. `EntitlementMonth.workingDaysPerWeek` in the API is a number,
since a rotation can average a fraction of a day. Leave types with policies or ledger entries can no longer be
deleted. The demo company of `ddev demo` has a vacation policy of 30 days.
