---
title: "Initiate journal run (journaliseren)"
method: POST
path: "/v2/providers/employers/payrolladministrations/{payrollAdministrationId}/journalruns/initiate"
tags: ["Journal run"]
---

# Initiate journal run (journaliseren)

`POST /v2/providers/employers/payrolladministrations/{payrollAdministrationId}/journalruns/initiate`

__Activity name :__ <a href="https://developer.loket.nl/Activities/PostInitiateJournalRunByPayrollAdministrationId" target="_blank">PostInitiateJournalRunByPayrollAdministrationId</a> This is a controller endpoint to perform an action.<br><br>In the older Loket GUI this specific action is referred to as 'journaliseren' If this action is performed successfully the journal run will be created with status 0 and will be queud for processing. After the initiated run has been picked up and processed by the background process, then the status of the run will be changed accordingly.<br><br>This action may be performed for all payroll periods that are *available for the payroll administration* AND that meet one of the following requirements;<br>* The payroll period is less then 7 years in the past<br>* There is a journal profile configured for the given payroll period<br>* There is an approved payroll run for the given payroll period that has no other journalruns except for failed or removed journalruns<br>* All the payroll runs are processed in order so in order to start a journalrun the previous payrollrun (that should have a journalrun) has to have a successful journal run in order to start the next one<br><br>__Metadata :__  No metadata endpoint available for this controller endpoint.<br><br>__Defaults :__ Defaults endpoint is available for this controller endpoint by adding /defaults. Also, an endpoint is available to retrieve initiation values for a specific period.

## Path parameters

- `payrollAdministrationId` string, uuid, required

## Headers

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

## Response `202`

Accepted

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