---
title: "Feature: Record late arrivals and early departures"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791256965@main"
source: "Changelog/1.0.0/Feature-1791256965-RecordLateArrivalsAndEarlyDepartures.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Record late arrivals and early departures {#feature-1791256965}

## Description {#description}

Every recalculation of a day keeps its lateness incidents in step: a late start or early end beyond the grace is an
incident of type `lateStart` or `earlyEnd` with the seconds, the expected and the punched time, whatever
source the punches came from. An incident whose deviation vanishes, such as after a correction or an approved
leave, becomes `withdrawn`; while lateness tracking is off, no incident is created. New incidents publish
`LatenessIncidentRecorded`, withdrawn ones `LatenessIncidentWithdrawn`.

`listLatenessIncidents` and `getLatenessIncident` show them to the employee, managers in scope and HR;
`dismissLatenessIncident` lets a manager in scope or HR excuse one with a reason, audited. Nobody excuses their
own. The pages **My time > My late arrivals** and **Team > Late arrivals** list them, and an
incident's page offers **Excuse**.

## Impact {#impact}

Run the database migrations. Days recalculated from now on get their incidents.
