# PayslipsByEmploymentIdAndYear
Download payslips for an employment and year
__Activity name :__ GetPayslipsByEmploymentIdAndYear
__Availability:__ This is endpoint is available for the Loket.nl application only. It is not available for external parties
Download the payslips for a payroll year in a single PDF
__Metadata :__ Possible options for `year` can be acquired (GET) the following URL /providers/employers/employees/employments/{employmentId}/payslips/metadata.
This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API.
- Catalog: `LoketNlRest`
- Schema: `Payslip`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employmentId` | `guid` | ☑ | | The unique identifier of the employment |
| `year` | `int32` | ☑ | | The payroll year |
## Columns
The columns of the table `PayslipsByEmploymentIdAndYear` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `DOCUMENT` | `byte[]` | Document | ☐ | |