---
title: "PayslipsByEmploymentIdAndPayrollRunIdAsJson (Loket.nl REST)"
description: "Payslips by Employment ID and Payroll Run ID (JSON)"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Payslip.PayslipsByEmploymentIdAndPayrollRunIdAsJson
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Payslip.PayslipsByEmploymentIdAndPayrollRunIdAsJson
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# PayslipsByEmploymentIdAndPayrollRunIdAsJson: Loket.nl REST Payslips by Employment ID and Payroll Run ID (JSON)

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Payslip`
- Label: Payslips by Employment ID and Payroll Run ID (JSON)

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.


Can only retrieve data.

## API Source

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

## Parameters

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

## Table Columns

The columns of the table `PayslipsByEmploymentIdAndPayrollRunIdAsJson` 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 |
|---|---|---|:---:|---|---|
| `employmentId` | `guid` | Employment ID | [ ] |  | The unique identifier of an object (GUID/UUID) |



## 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)

