# AccumulationsAndBalancesReportByPayrollAdministrationId
Download accumulations and balances reports
__Activity name :__ GetAccumulationsAndBalancesReportByPayrollAdministrationId
Acquire the reports for either accumulations or balances at the payroll administration level. Currently this endpoint supports following report types to be requested:
* baseForCalculationBalancesAtStartOfYear (grondslag begin jaar)
* leaveBalancesAtStartOfYear (verlof begin jaar)
* leaveAccrualWithinYear (opbouw verlof ulsa)
_Please note: this endpoint may only be used to acquire a report in the pdf-type format_
Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/accumulationsandbalancesreport
Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/accumulationsandbalancesreport
Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/accumulationsandbalancesreport
Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/accumulationsandbalancesreport
Select loket.nl (REST) API Operation: get /providers/employers/payrolladministrations/{payrollAdministrationId}/accumulationsandbalancesreport
- Catalog: `LoketNlRest`
- Schema: `PayrollAdministrationReports`
- Field Selection Method: NotRequired
This is a read-only table function. The loket.nl (REST) API may not support changing the data or the Invantive SQL driver for loket.nl (REST) does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the loket.nl (REST) API.
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `payrollAdministrationId` | `guid` | ☑ | | The unique identifier of an administration |
| `reportType` | `string` | ☑ | | The type of report that is requested. (Werte: baseForCalculationBalancesAtStartOfYear, leaveBalancesAtStartOfYear, leaveAccrualWithinYear) |
| `reportYear` | `string` | ☑ | | A valid year for which the information is requested. |
## Columns of Table Function
The columns of the table function `AccumulationsAndBalancesReportByPayrollAdministrationId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `DOCUMENT` | `byte[]` | | ☐ | |