# PayrollPeriodDataByEmploymentId
list of payroll period data
__Activity name :__ GetPayrollPeriodDataByEmploymentId
Get a list of all payroll period data for an employment. Payroll period data relates to a single payroll period.
This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API.
- Catalog: `LoketNlRest`
- Schema: `PayrollPeriodData`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employmentId` | `guid` | ☑ | | The unique identifier of the employment |
## Columns
The columns of the table `PayrollPeriodDataByEmploymentId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `costCenter_code` | `string` | Cost Centre Code | ☐ | |
| `costCenter_description` | `string` | Cost Centre Description | ☐ | |
| `costCenter_key` | `int32` | Cost Centre Key | ☐ | |
| `costUnit_code` | `string` | Cost Unit Code | ☐ | |
| `costUnit_description` | `string` | Cost Unit Description | ☐ | |
| `costUnit_key` | `int32` | Cost Key Code | ☐ | |
| `distributionUnit_code` | `int32` | Distribution Unit Code | ☐ | |
| `distributionUnit_description` | `string` | Distribution Unit Description | ☐ | |
| `distributionUnit_key` | `guid` | Distribution Unit Key | ☐ | The unique identifier of an object (GUID/UUID) |
| `id` | `guid` | ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `payrollPeriod_periodEndDate` | `datetime` | Payroll Period End Date | ☐ | The last day of the period to which the payroll period data applies |
| `payrollPeriod_periodNumber` | `int32` | Payroll Period Number | ☐ | 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. |
| `payrollPeriod_periodStartDate` | `datetime` | Payroll Period Start Date | ☐ | The first day of the period to which the payroll period data applies |
| `payrollPeriod_year` | `int32` | Payroll Processing Year Period | ☐ | The year of the payroll period in which the payroll data is to be processed |
| `payslipText` | `string(25)` | Text on Payslip | ☐ | A custom text to be displayed on the payslip. |
| `payslipType_key` | `int32` | Payslip Type Key | ☐ | |
| `payslipType_value` | `string` | Payslip Type Value | ☐ | |
| `shift_bonusPercentage` | `decimal` | Service Bonus Percentage | ☐ | The bonus percentage used in wage calculations for the hours made in this shift. |
| `shift_fullTimeHoursPerWeek` | `decimal` | Weekly Hours Full-Time Employment | ☐ | The full time hours for an employment that is linked to this shift. |
| `shift_shiftNumber` | `int32` | Service Number | ☐ | The number for the shift. Loket.nl supports a maximum of 5 shifts per payroll administration. |