# PayslipsByEmploymentIdAndPayrollRunIdAsPdf
Download payslips of an employment for a payrollrun
__Activity name :__ GetPayslipsByEmploymentIdAndPayrollRunId
__Availability:__ This is endpoint is available for the Loket.nl application only. It is not available for external parties
Download the payslips or its underlying payroll results of an employment for the specified payrollrun
**Please note: this endpoint has two types of output:**
* the payslip(s) as a single PDF-file
* the underlying payroll result data for the payslip(s) in JSON-format
This may be specified by providing the desired format in the `Accept` header of your request.
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 |
| `payrollrunId` | `guid` | ☑ | | The unique identifier of the payroll run |
## Columns
The columns of the table `PayslipsByEmploymentIdAndPayrollRunIdAsPdf` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `DOCUMENT` | `byte[]` | Document | ☐ | |