---
title: "Feature: Credit compensatory days earned on off days"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791290570@main"
source: "Changelog/1.0.0/Feature-1791290570-CreditCompensatoryDaysEarnedOnOffDays.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Credit compensatory days earned on off days {#feature-1791290570}

## Description {#description}

On `CompensatoryDaysEarned` of time tracking, leave books a `compensatory` entry on the company's compensatory
type with the source `offDayWork`, valid from the day for the configured validity. On
`CompensatoryDaysChanged` it books the difference, a lower total taking from the first credit as far as it remains
and possibly leaving the balance below zero; 0 revokes the credit. Each employee and date is credited once, so a
redelivered event books nothing. Without a configured type the days wait, HR receives
`leave.compensatoryTypeMissing`, and the days are booked once the type is set. Every company books on its own
type.

## Impact {#impact}

The new table `leave_compensatory_credit` keeps the credit per employee and date. A revoked credit counts as
deducted in the leave figures. The leave settings announce a change with `LeaveSettingsChanged`.
