---
title: "Feature: Check days against the Working Hours Act"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1790995059@main"
source: "Changelog/1.0.0/Feature-1790995059-CheckDaysAgainstTheWorkingHoursAct.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Check days against the Working Hours Act {#feature-1790995059}

## Description {#description}

Every closed day with complete punches is checked against the German Working Hours Act: the daily maximum
(`dailyMaxExceeded`), the required break (`breakTooShort`; the model's thresholds, never below 30 minutes above
6 hours and 45 minutes above 9 hours, counting only breaks of at least 15 minutes) and the rest since the last
clock-out (`restPeriodShort`). Work on a Sunday or a public holiday is recorded as a notice (`sundayWork`,
`holidayWork`) and flagged on the day (`workedOnSunday`, `workedOnHoliday`).

Where the company deducts missing breaks, the worked time of the day is reduced by the missing break, shown as
`deductedBreakSeconds` with the flag `breakDeducted`, and no violation is raised.

Violations follow their day: a recalculation updates them, resolves those no longer broken and opens them again.
`WorkingTimeRuleViolated` is published once per employee, date and rule; violations (not notices) notify the
employee, their manager and HR (`time.ruleViolation`). `listWorkingTimeViolations` lists them in the shared
scopes, the attendance day shows its own, and `listAttendanceDays` filters by `hasViolations`.

## Impact {#impact}

New table `working_time_violation` and column `attendance_day.deducted_break_seconds` (migration). Every day is
recalculated once on its next change, because its calculation now includes the check. A punch also recalculates the
following day, whose rest period starts with it.
