---
title: "Bugfix: Sum the balances of several Horilla leave types"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1792990681@main"
source: "Changelog/1.0.0/Bugfix-1792990681-SumTheBalancesOfSeveralHorillaLeaveTypes.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Sum the balances of several Horilla leave types {#bugfix-1792990681}

## Description {#description}

Horilla companies often keep one vacation type per year. When several Horilla leave types map to one adsum type in
`leave-types.yaml`, their balances are now added up into one opening entry per employee and component instead of
the second balance being dropped or refused.

-   The first balance books the sum; the others are skipped with `summedIntoFirstBalance`.
-   The new option `balanceAs: carryForward` opens all balances of a type as carry-over. It is valid until the
    balance's own expiry in Horilla, or else the new option `validUntil` of the type.
-   An opening that cannot be booked, because one for the employee, type and component exists already, is reported
    as `openingNotBooked`.
-   The reconciliation compares the balances, the cancelled days and the taken days per adsum type.

## Impact {#impact}

An import that maps several Horilla types to one adsum type no longer loses balances silently.
