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

# PayrollResultsByPayrollRunId: Loket.nl REST Payroll Results by Payroll Run ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `PayrollResults`
- Label: Payroll Results by Payroll Run ID

Payroll results for a payrollrun
__Activity name :__ GetPayrollResultsByPayrollRunId  
  

Returns the payroll results and information on the employments for a given payrollrun.

__Note :__ This endpoint is related to the `GetPayrollResultsByPayrollAdministrationId` endpoint.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/payrollruns/{payrollRunId}/payrollresults"`
- Operation: `get /providers/employers/payrolladministrations/payrollruns/{payrollRunId}/payrollresults"`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `payrollComponentSetId` | `` | [ ] |  | A predefined set of payroll components to filter what payroll components are returned |
| `payrollrunId` | `` | [x] |  | The unique identifier of the payroll run |

## Table Columns

The columns of the table `PayrollResultsByPayrollRunId` 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 |
|---|---|---|:---:|---|---|
| `employee_dateOfBirth` | `datetime` | Employee Date of Birth | [ ] |  | The date of birth  |
| `employee_employeeNumber` | `int32` | itgen_loketnl_employee_employeenumber | [ ] |  | The employee number to uniquely identify a employee within a employer. |
| `employee_formattedName` | `varchar2(82)` | Employee Formatted Name | [ ] |  | Formatted name of the employee based on the value of `howToFormatLastName` |
| `employee_gender` | `varchar2(50)` | itgen_loketnl_employee_gender | [ ] |  |  |
| `employer_companyName` | `varchar2` | itgen_loketnl_employer_companyname | [ ] |  | Name of the company |
| `employer_employerNumber` | `int32` | itgen_loketnl_employer_employernumber | [ ] |  | The employer number is used in various overviews and exports to identify a specific employer in Loket (please note: this is not the identifier used in the REST API). |
| `employment_endDate` | `datetime` | itgen_loketnl_employment_enddate | [ ] |  | The date on which the employment ends. |
| `employment_organizationalEntity_department_code` | `int32` | itgen_loketnl_employment_organizationalentity_department_code | [ ] |  |  |
| `employment_organizationalEntity_department_description` | `varchar2` | itgen_loketnl_employment_organizationalentity_department_description | [ ] |  |  |
| `employment_organizationalEntity_distributionUnit_code` | `int32` | itgen_loketnl_employment_organizationalentity_distributionunit_code | [ ] |  |  |
| `employment_organizationalEntity_distributionUnit_description` | `varchar2` | itgen_loketnl_employment_organizationalentity_distributionunit_description | [ ] |  |  |
| `employment_organizationalEntity_function_code` | `int32` | itgen_loketnl_employment_organizationalentity_function_code | [ ] |  |  |
| `employment_organizationalEntity_function_description` | `varchar2(50)` | itgen_loketnl_employment_organizationalentity_function_description | [ ] |  |  |
| `employment_payrollId` | `int32` | itgen_loketnl_employment_payrollid | [ ] |  | The payrolling number for this employment of the employee. Used by the payroll engine. This number is automatically generated and cannot be changed by the user. |
| `employment_startDate` | `datetime` | itgen_loketnl_employment_startdate | [ ] |  | The date on which this employment starts. |
| `employment_workinghours_deviatingHoursPerWeek` | `double` | itgen_loketnl_employment_workinghours_deviatinghoursperweek | [ ] |  | Fulltime hours are normally based as defined by the shift, this optional field is used to register a deviating value. The value can be less or more then the fulltime hours a week. |
| `employment_workinghours_shift_fullTimeHoursPerWeek` | `decimal` | itgen_loketnl_employment_workinghours_shift_fulltimehoursperweek | [ ] |  | The full time hours for an employment that is linked to this shift. |
| `payrollAdministration_clientNumber` | `int32` | itgen_loketnl_payrolladministration_clientnumber | [ ] |  | The client number is a unique number for administrations that are used for payrolling. This field has no value if the administration is not used for payrolling. |
| `payrollPeriod_periodNumber` | `int32` | Payroll Period Number | [ ] |  | The period number of the payroll period the record relates to |
| `payrollPeriod_year` | `int32` | Payroll Period Year | [ ] |  | The year of the payroll period the record relates to |
| `payrollResults_payrollComponent_category_key` | `int32` | itgen_loketnl_payrollresults_payrollcomponent_category_key | [ ] |  |  |
| `payrollResults_payrollComponent_category_value` | `varchar2` | itgen_loketnl_payrollresults_payrollcomponent_category_value | [ ] |  |  |
| `payrollResults_payrollComponent_column_key` | `int32` | itgen_loketnl_payrollresults_payrollcomponent_column_key | [ ] |  |  |
| `payrollResults_payrollComponent_costsEmployer_key` | `int32` | itgen_loketnl_payrollresults_payrollcomponent_costsemployer_key | [ ] |  |  |
| `payrollResults_payrollComponent_costsEmployer_value` | `varchar2` | itgen_loketnl_payrollresults_payrollcomponent_costsemployer_value | [ ] |  |  |
| `payrollResults_payrollComponent_key` | `int32` | itgen_loketnl_payrollresults_payrollcomponent_key | [ ] |  | The number for the payroll component. This number has meaning to payroll professionals using Loket.nl who often know many of them by heart.  |
| `payrollResults_payrollComponent_value` | `varchar2(14)` | itgen_loketnl_payrollresults_payrollcomponent_value | [ ] |  | The description of the payroll component  |
| `payrollResults_value` | `decimal` | itgen_loketnl_payrollresults_value | [ ] |  | Value/ amount (normaal tarief voor belasting, tabelloon) for the payrollcomponent. Only a 'normal' type payslip may have value for this. |
| `payrollResults_valueSpecialTariff` | `decimal` | itgen_loketnl_payrollresults_valuespecialtariff | [ ] |  | Value/ amount (speciaal tarief voor belasting) for the payrollcomponent. Both a 'normal' and 'special tariff' type payslip may a value for this. Also, both valueNormal and valueSpecialTariff may have a value at the same time. |



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

