PayrollPeriodResultsByEmploymentIdAndYear: Loket.nl REST Payroll Period Results by Employment ID and Year
read only REST
- Catalog:
LoketNlRest - Schema:
Payslip - Label: Payroll Period Results by Employment ID and Year
Get payroll period results of an employment for a year Activity name : GetPayrollPeriodResultsByEmploymentIdAndYear
Download the payroll results (conform overzicht strook) of an employment per payroll period for the provided year.
Please note the following: There is a major functional difference between acquiring the payslips per payroll run or acquiring payroll results per payroll period(in this case a year). In Loket, for each (approved) run there will be payroll results for that run. Each employment with any results in that payroll run will have (one or more) payslips, these are the payroll results/ payslips for that run. Often these results relate to the payroll period for which that payroll run is performed, but the results may apply to other payroll periods. For example: the payroll run for March may contain results that apply to the months January and/or February. (this may occur within a specific year)
- Requesting payslips/results per RUN will provide you all payroll results from that specific payrollrun regardless of the period it applies to.
- Requesting PERIOD results will provide you all (approved) payroll results for that period regardless of the payroll run it comes from.
De facto the payslips/results per RUN are your actual payslips (loonstrook). The results per period are more useful as an overview per period (overzichtstrook).
One more remark: the response of this endpoint is dependent on the role of the user. If the user has role 'werknemer' than the results shown are only based on those approved payroll runs where the ESS-date is on or before today. For other users the results will contain data from all approved payroll runs regardless of ESS-date.
Can only retrieve data.
API Source
- Endpoint:
/providers/employers/employees/employments/{employmentId}/payrollperiodresults/year/{year} - Operation:
get /providers/employers/employees/employments/{employmentId}/payrollperiodresults/year/{year}
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
employment |
`` | The unique identifier of the employment | ||
year |
`` | The payroll year |
Table Columns
The columns of the table PayrollPeriodResultsByEmploymentIdAndYear 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 |
|---|---|---|---|---|---|
employment |
guid |
Employment ID | The unique identifier of an object (GUID/UUID) |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: