---
title: "Feature: Set the leave contingent of a single employee"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1793041495@main"
source: "Changelog/1.0.0/Feature-1793041495-SetTheLeaveContingentOfASingleEmployee.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Set the leave contingent of a single employee {#feature-1793041495}

## Description {#description}

HR sets the contingent of one employee for a leave type with `putLeaveContingentOverride`
(`PUT /api/v1/leave-types/{id}/contingent-overrides/{employeeId}`, body `amount` and optional `year`), lists the
overrides of a type with `listLeaveContingentOverrides` and removes one with `deleteLeaveContingentOverride`
(query `year`). The amount replaces that of the type in the unit of the type; an amount for a year wins over one for
every year, and 0 takes the contingent away from the person. Only a type with a contingent accepts an override. The table
`leave_contingent_override` is new.

## Impact {#impact}

Without overrides everybody keeps the amount of the type. The counting of requests, the preview and
`getLeaveContingents` read the override.
