---
title: "LeaveBalancesByEmploymentId (Loket.nl REST)"
description: "Leave Balances by Employment ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.LeaveBalance.LeaveBalancesByEmploymentId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.LeaveBalance.LeaveBalancesByEmploymentId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# LeaveBalancesByEmploymentId: Loket.nl REST Leave Balances by Employment ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `LeaveBalance`
- Label: Leave Balances by Employment ID

List of yearly leave balances for each leave type.
__Activity name :__ GetLeaveBalancesByEmploymentId 
  
  Returns the yearly leave balances for each leave type.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/{employmentId}/leavebalances`
- Operation: `get /providers/employers/employees/employments/{employmentId}/leavebalances`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `employmentId` | `` | [x] |  | The unique identifier of the employment |

## Table Columns

The columns of the table `LeaveBalancesByEmploymentId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `accrual` | `double` | itgen_loketnl_accrual | [ ] |  | The amount of leave units accrued for the leave type in the year  |
| `balance` | `double` | Balance | [ ] |  | The remaining leave balance for the year and leave type. The balance takes into account the leave usage in the future.  |
| `balancePreviousYear` | `double` | Balance Previous Year | [ ] |  | The remaining leave balance from the previous year for the leave type  |
| `expires` | `double` | itgen_loketnl_expires | [ ] |  | <ul>   <li>This field is only relevant for the following leave types:</li>   <li><strong>Wettelijk verlof:</strong> Accrued statutory leave from previous years that expires on July 1 of the selected year.</li>   <li><strong>Bovenwettelijk verlof:</strong> Accrued extra-legal leave from 5 years ago and earlier, which expires on Jan 1 of the selected year + 1.</li>   <li><strong>Verlof:</strong> The sum of the two leave types above.</li> </ul>  |
| `leaveType_balanceExceedsYear` | `char` | itgen_loketnl_leavetype_balanceexceedsyear | [ ] |  | Indicates whether the balance at the end of the year for this leave type carries over to the next year.  |
| `leaveType_key` | `int32` | Leave Type Key | [ ] |  | The key for the leave type.  |
| `leaveType_value` | `varchar2` | Leave Type Value | [ ] |  | The description for the leave type. Note that leave types can be overridden at the employer level. In these cases the description at the employer level takes precedence over the default description of the leave type.  |
| `unitType_key` | `int32` | Unit Type Key | [ ] |  | The key for the unit type  |
| `unitType_value` | `varchar2` | Unit Type Value | [ ] |  | The description for the unit type  |
| `usageAfterToday` | `double` | itgen_loketnl_usageaftertoday | [ ] |  | The amount of leave units used for the leave type in the year after today  |
| `usageThroughToday` | `double` | itgen_loketnl_usagethroughtoday | [ ] |  | The amount of leave units used for the leave type starting from the beginning of the year up to and including today  |
| `usageTotal` | `double` | Usage Total | [ ] |  | The total amount of leave units used for the leave type in the year.  |
| `year` | `int32` | Year | [ ] |  | The year to which the balance of the leave type applies.  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

