---
title: "Download payslips for a payroll run"
method: GET
path: "/v2/providers/employers/payrolladministrations/payrollruns/{payrollrunId}/payslips"
tags: ["Payroll run downloads"]
---

# Download payslips for a payroll run

`GET /v2/providers/employers/payrolladministrations/payrollruns/{payrollrunId}/payslips`

__Activity name :__ <a href="https://developer.loket.nl/Activities/GetPayslipsByPayrollRunId" target="_blank">GetPayslipsByPayrollRunId</a>

__Availability:__ This is endpoint is available for the Loket application only. It is not available for external parties

Returns the payslips for a payroll run as a PDF file. By default the payslips are sorted by `employeeNumber`.

## Path parameters

- `payrollrunId` string, uuid, required

## Query parameters

- `sortOnField` 'employeeNumber' | 'lastName' | 'firstName'
- `includeEmploymentsWithMijnLoketAccess` boolean

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket-acc/apis/loket-api.md) · [All operations](https://skmtc.net/loket-acc/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket-acc/loket-api/revisions/b32a42be97f7/schema)
