---
title: "Feature: Allocate leave to many employees at once"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791289581@main"
source: "Changelog/1.0.0/Feature-1791289581-AllocateLeaveToManyEmployeesAtOnce.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Allocate leave to many employees at once {#feature-1791289581}

## Description {#description}

HR allocates days of a type with a balance to up to 500 employees with `createLeaveAllocationBatch`
(`POST /leave-allocation-batches`), on **Team > Extra days**: the quantity in days or in seconds, an
optional end of validity and a reason. Mode `book` books an `allocation` entry per employee at once with the
batch as source; mode `request` files an allocation request per employee for their approvers. Every employee is
checked like a single allocation, and a failure (`ownLedger`, `eligibility.<kind>`, `unitMismatch`) is
reported for that employee without stopping the others. The operation takes an `Idempotency-Key`.

## Impact {#impact}

The new table `leave_allocation_batch` keeps every batch with the outcome per employee. Ledger entries of a batch
have the source `allocationBatch`.
