---
title: "Feature: Correct attendance days through requests and directly"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1790993139@main"
source: "Changelog/1.0.0/Feature-1790993139-CorrectAttendanceDaysThroughRequestsAndDirectly.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Correct attendance days through requests and directly {#feature-1790993139}

## Description {#description}

Employees request corrections of their own past days through `createAttendanceCorrection`: adding a punch, removing
one or moving it to another time, with a reason. A request is an approval of the subject type
`attendanceCorrection`; until it is approved, no punch changes. An approved request voids the punches it replaces,
records the new ones with the source `correction`, returns a validated day to validation and recalculates the day,
so the working-time account books the difference. A request that no longer fits the day when it is approved changes
nothing and is marked as failed; the requester and HR are told (`time.correctionFailed`).

Requests are changed while they wait (the approval starts again and links the earlier one), withdrawn, and removed once
rejected or withdrawn. A day takes one waiting request at a time, and requests reach back as far as the company's
correction window.

Managers in scope and HR correct a day directly with `correctAttendanceDay`; nobody corrects their own day that way.
The reason and the operations go into the change history, and the employee is told (`time.dayCorrected`).

## Impact {#impact}

New table `attendance_correction` (migration). New approval subject type `attendanceCorrection`, which approval
rules may name. `AttendanceDay.pendingCorrectionId` now names the waiting request of the day.
