---
title: "Feature: Give a working absence a contingent per year"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1793033288@main"
source: "Changelog/1.0.0/Feature-1793033288-GiveAWorkingAbsenceAContingentPerYear.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Give a working absence a contingent per year {#feature-1793033288}

## Description {#description}

A working absence such as exam leave can carry a contingent: `contingentAmount` in the `contingentUnit` `days`
or `hours`, per leave year. HR sets it on the leave type form with **Contingent without approval** and
**Contingent unit**, which the form shows only while **Worked time replaces credit** is on. Both are
set or both are empty; a type that is no working absence, an amount above 366 days or 8784 hours and an amount of
0 or less are answered with 422 and a violation on `contingentAmount` or `contingentUnit`. `getLeaveType` returns
both. Forms can show a field only while a switch is on (`when` with `'true'`).

## Impact {#impact}

Existing leave types have no contingent and keep following the approval rules.
