---
title: "PayrollPeriodPayrollRunJournalRunsByPayrollAdministrationId (Loket.nl REST)"
description: "Payroll Period Payroll Run Journal Runs by Payroll Administration ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.PayrollPeriods.PayrollPeriodPayrollRunJournalRunsByPayrollAdministrationId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.PayrollPeriods.PayrollPeriodPayrollRunJournalRunsByPayrollAdministrationId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# PayrollPeriodPayrollRunJournalRunsByPayrollAdministrationId: Loket.nl REST Payroll Period Payroll Run Journal Runs by Payroll Administration ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `PayrollPeriods`
- Label: Payroll Period Payroll Run Journal Runs by Payroll Administration ID

List of all available payroll periods and runs
__Activity name :__ GetPayrollPeriodsByPayrollAdministrationId

Returns a list of all payroll periods available for the given payroll administration 


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/{payrollAdministrationId}/payrollperiods`
- Operation: `get /providers/employers/payrolladministrations/{payrollAdministrationId}/payrollperiods`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `payrollAdministrationId` | `` | [x] |  | The unique identifier of an administration |

## Table Columns

The columns of the table `PayrollPeriodPayrollRunJournalRunsByPayrollAdministrationId` 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 |
|---|---|---|:---:|---|---|
| `automaticProcessing_approvePayrollRunOn` | `datetime` | itgen_loketnl_automaticprocessing_approvepayrollrunon | [ ] |  | The date on which the payroll run for this period is automatically approved (if all prerequisite are met). |
| `automaticProcessing_createPayrollRunOn` | `datetime` | itgen_loketnl_automaticprocessing_createpayrollrunon | [ ] |  | The date on which the payroll run for this period is automatically created (if all prerequisite are met). |
| `automaticProcessing_hasAutomaticPayrollRunApprovalBeenExecuted` | `char` | itgen_loketnl_automaticprocessing_hasautomaticpayrollrunapprovalbeenexecuted | [ ] |  |  |
| `automaticProcessing_hasAutomaticPayrollRunCreationBeenExecuted` | `char` | itgen_loketnl_automaticprocessing_hasautomaticpayrollruncreationbeenexecuted | [ ] |  |  |
| `endDate` | `datetime` | End Date | [ ] |  | The last day of the payroll period |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `id_1` | `guid` | itgen_loketnl_id_1 | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `id_2` | `int32` | itgen_loketnl_id_2 | [ ] |  | The id for this specific payroll period. |
| `journalRunStatus_key` | `int32` | itgen_loketnl_journalrunstatus_key | [ ] |  | The key indicating the current status of the journal run. |
| `journalRunStatus_value` | `varchar2` | itgen_loketnl_journalrunstatus_value | [ ] |  | The value describing the current status of the payroll run. |
| `payrollPeriodType_key` | `int32` | Payroll Period Type Key | [ ] |  |  |
| `payrollPeriodType_value` | `varchar2(50)` | Payroll Period Type Value | [ ] |  |  |
| `payrollRunStatus_key` | `int32` | Payroll Run Status Key | [ ] |  | The key indicating the current status of the payroll run. |
| `payrollRunStatus_value` | `varchar2` | Payroll Run Status Value | [ ] |  | The value describing the current status of the payroll run. |
| `periodNumber` | `int32` | itgen_loketnl_periodnumber | [ ] |  | The period number of the payroll period |
| `sequenceNumber` | `int32` | Sequence Number | [ ] |  | Ascending sequence number over ALL journal runs for the payroll administration. |
| `sequenceNumber_1` | `int32` | itgen_loketnl_sequencenumber_1 | [ ] |  | An incremental number with a payrolling year to uniquely identify a payroll run. Null can be returned for those runs that dont contain "wages". |
| `sequenceNumberApproved` | `int32` | Sequence Number Approved | [ ] |  | An incremental number with a payrolling year to uniquely identify an approved payroll run. |
| `startDate` | `datetime` | Start Date | [ ] |  | The first day of the payroll period |
| `testYear` | `char` | itgen_loketnl_testyear | [ ] |  | Indicates whether the payroll year is a test year.  In Loket it is possible to run a year of a payrolladministration as a so-called test year.  This is typically done to test the configuration of a new payroll administration, by running payrollruns within the context of a test year.  Please note: if the payroll run belongs to a test year the results of the run should not be regarded as actual data but as test data. |
| `year` | `int32` | Year | [ ] |  | The payroll year |



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

