---
title: "Get a list of SEPA files for a payroll run"
method: GET
path: "/v2/providers/employers/payrolladministrations/payrollruns/{payrollrunId}/sepafiles"
tags: ["Payroll run downloads"]
---

# Get a list of SEPA files for a payroll run

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

## Request

- Base URL: `https://api.loket.nl`
- URL: `https://api.loket.nl/v2/providers/employers/payrolladministrations/payrollruns/{payrollrunId}/sepafiles`
- Auth: none required

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

Returns the SEPA file(s) for the specified payroll run.

## Path parameters

- `payrollrunId` string, uuid, required

## Headers

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

## Response `200`

OK

- SepaFiles[]
  - `id` string, uuid: The unique identifier of an object (GUID/UUID)
  - `description` string: Description of the sepa file

## Other responses

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

---

[API](https://skmtc.dev/loket/apis/loket-api.md) - [All operations](https://skmtc.dev/loket/apis/loket-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loket/apis/loket-api/revisions/32170564148f?raw)
