---
title: "list of payroll period data"
method: GET
path: "/v2/providers/employers/employees/employments/{employmentId}/payrollperioddata"
tags: ["Payroll period data"]
---

# list of payroll period data

`GET /v2/providers/employers/employees/employments/{employmentId}/payrollperioddata`

## Request

- Base URL: `https://api.loket.nl`
- URL: `https://api.loket.nl/v2/providers/employers/employees/employments/{employmentId}/payrollperioddata`
- Auth: none required

__Activity name :__ <a href="https://developer.loket.nl/Activities/GetPayrollPeriodDataByEmploymentId" target="_blank">GetPayrollPeriodDataByEmploymentId</a> <br/> <br/> Get a list of all payroll period data for an employment. Payroll period data relates to a single payroll period.

## Path parameters

- `employmentId` string, uuid, required

## Query parameters

- `filter` string
- `orderBy` string
- `pageNumber` integer
- `pageSize` integer

## Headers

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

## Response `200`

OK

- object: a warning indacateds that the given payload is valide, however take notice of the warning this might ifluence behavour.
  - `totalSize` integer: Total number of records, taking into account the given filter.
  - `pageSize` integer: Number of records in the response
  - `totalPages` integer: Number of pages available
  - `currentPage` integer: Current page returned in the response
  - `version` Version
    - `obsoleteDate` string, date, nullable: The date (can be null) on which the `resourceVersion` is no longer supported/available
    - `resourceVersion` string, date: The resource version of the object in the response
  - `messages` object[]
    - `type` string: Indication of the type of message. See [the general documentation for more information](./#section/Response/Messages)
    - `description` string: Describes the message
    - `id` string, uuid, nullable: In some cases when the message may relate to a specific entity, or specific group of entities, this field provides the identifier of that entity
    - `code` integer: Identifying code for the message
    - `properties` string[]: An array that can contain additional information
  - `_embedded` PayrollDataGetPut20180101[]
    - `id` string, uuid: The unique identifier of an object (GUID/UUID)
    - `payrollPeriod` object
      - `year` integer: The year of the payroll period in which the payroll data is to be processed
      - `periodNumber` integer: The period (month [1 to 12] , 4 weeks [1 to 13] or week [1 to 53]) of the payroll period in which the payroll data is to be processed.
      - `periodStartDate` string, date: The first day of the period to which the payroll period data applies
      - `periodEndDate` string, date: The last day of the period to which the payroll period data applies
    - `shift` object: The shift determines the full-time hours and bonus percentage.
      - `shiftNumber` integer: The number for the shift. Loket supports a maximum of 15 shifts per payroll administration.
      - `fullTimeHoursPerWeek` number: The full time hours for an employment that is linked to this shift.
      - `bonusPercentage` number: The bonus percentage used in wage calculations for the hours made in this shift.
    - `payslipType` object: The type of payslip (as defined by the Dutch tax authorities)
      - `key` integer
      - `value` string
    - `payslipText` string, nullable: A custom text to be displayed on the payslip.
    - `distributionUnit` object: Distribution unit, used in several reports and the "basic wage journal" functionality. Commonly used as a cost center.
      - `key` string, uuid: The unique identifier of an object (GUID/UUID)
      - `code` integer
      - `description` string
    - `costCenter` object, nullable: The cost center on which the payroll period data for this record will be booked for the ledger.
      - `key` integer
      - `code` string
      - `description` string
    - `costUnit` object, nullable: The cost unit on which the data for this record will be booked for the ledger
      - `key` integer
      - `code` string
      - `description` string
    - `payrollComponents` object[]
      - `payrollComponent` object: A payroll component is the link to the salary calculation. By setting the value of a component the salary calculation will take this value into account when calculating the wage of the employment for the given payroll period. <br/> Please note: Business rules may differ per component! Understanding these business rules and corresponding validations requires functional knowledge of Loket.
        - `key` integer: The number for the payroll component. This number has meaning to payroll professionals using Loket who often know it by heart.
        - `description` string: The description of the payroll component
        - `category` object: The category of the payroll component. Example categories are, hours/extra hours/net payment/net deduction etc.
          - `key` integer
          - `value` string
        - `deductionOrPayment` object, nullable: Indicates if the value of the payroll component will be deducted from or added to the salary. In case the component is neither a deduction or a payment, NULL is returned.
          - `key` integer
          - `value` string
        - `canBeSupplemented` boolean: Indicates whether the atribute for this payroll component can have the value `supplement`. Refer to the description of the attribute field for an explanation.
      - `value` number: Depending on the selected payroll component the possible value(s) for this field change (dynamic business rules).
      - `isSupplement` boolean: This boolean determines what the salary calculation will do with the value of the payroll component if the payroll component has values in both the payroll period specific data (this endpoint) and in the non-payroll period specific configuration of the employment (it is possible to configure values for payroll components that span multiple payroll periods and even parts thereof). * When set to `false`, the value of the payroll component will overwrite the value specified in the non-payroll period specific data with the given value in the payroll period specific date. * When set to `true`, the value of the payroll period specific data will be added to the value of the non-payroll period specific data. Note that a value can be a negative number. For instance, a payroll period specific value of 20 and a non-payroll period specific value of -8 will effectively result in 12 for salary calculation. This boolean can only be set to `true` in components for which `payrollComponent.canBesupplemented = true`.

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