---
title: "Feature: Take leave by the hour and set its payout"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791274864@main"
source: "Changelog/1.0.0/Feature-1791274864-TakeLeaveByTheHourAndSetItsPayout.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Take leave by the hour and set its payout {#feature-1791274864}

## Description {#description}

A leave type declares `hourlyRequestsAllowed`, allowed only when it counts working days and, for a type with a
balance, while all its policies use hours, and an `encashmentRule` (`never`, `onExitOnly`,
`aboveStatutoryMinimum` or `any`), which vacation never sets to `any` and a type without balance leaves at
`never`. The leave settings gain `compensatoryLeaveTypeId` (a compensatory leave type of the company),
`compensatoryValidityDays` (1 to 730, default 90) and `hourlyRequestStepSeconds` (300, 900, 1800 or 3600, default
900).

## Impact {#impact}

The migration adds two columns to `leave_type` and three to `leave_settings`. An update of the settings that
omits the new fields keeps their values.
