---
title: "Feature: Open the leave balances of the import"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791057661@main"
source: "Changelog/1.0.0/Feature-1791057661-OpenTheLeaveBalancesOfTheImport.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Open the leave balances of the import {#feature-1791057661}

## Description {#description}

The stage `leave-balances` opens each employee's leave balance at the cut-over date from Horilla's available leave, valid to the end of that year: one entry for the available days and one for the carried-over days valid until Horilla's expiry. The days Horilla already deducted for approved requests from the cut-over date on are added back, because those requests book their own usage. A value in `leave-balances-confirmed.csv` replaces Horilla's available days.

-   Days must be half-day steps (`balanceNotHalfDayStep`); a negative balance is booked with a warning (`negativeBalance`); an expired carry-forward books nothing (`carryForwardExpired`).
-   Under an hour-based policy the days become seconds of the employee's average working day, the weekly contract time divided by the working days per week, rounded half up (`averageDayUnknown` without a working-time model).
-   An entitlement already booked for the year stops that employee's type (`entitlementAlreadyBooked`); the opening entries keep the entitlement runs and the adjustments out of the covered year.

## Impact {#impact}

Only with `MIGRATION_ENABLED=1`.
