---
title: "Feature: End the employment of a leaver on the exit date"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1793284298@main"
source: "Changelog/1.0.0/Feature-1793284298-EndTheEmploymentOfALeaverOnTheExitDate.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: End the employment of a leaver on the exit date {#feature-1793284298}

## Description {#description}

The import of Horilla ends the employment period of an employee who left in Horilla on the exit date, so the history and the reports see the end of the employment instead of an open period. The message `EndEmploymentAtExit` of the core does it for any package: it ends the period valid on the exit date, leaves a period that starts after it alone, as after a rehire, and does nothing a second time. A later change of Horilla opens no period after the exit.

A leaver of before the cut-over no longer keeps a dropped or misspelled department in use, so `organisation.yaml` can archive it.

## Impact {#impact}

Only with `MIGRATION_ENABLED=1`. Employees imported earlier get the end of their employment with the next run of the stage `employees`.
