PayslipsByEmploymentId: Loket.nl REST Payslips by Employment ID
read only REST
- Catalog:
LoketNlRest - Schema:
Payslip - Label: Payslips by Employment ID
List of payslips for an employment Activity name : GetPayslipsByEmploymentId
Availability: This is endpoint is available for the Loket.nl application only. It is not available for external parties
Get a list of payslips for the specified employment, including the GUID of the corresponding payroll run.
The function of this endpoint is dependent on the role of the user;
- For users with the role of 'werknemer'; The endpoint only returns results for payrollruns that have the status 'approved' AND for which results of the payroll are available for ESS (based on the ESS-date of the payrollrun) .
- For users with any other role (in most cases); the endpoin returns results for approved payrollruns irregardless of the ESS date.
Can only retrieve data.
API Source
- Endpoint:
/providers/employers/employees/employments/{employmentId}/payslips - Operation:
get /providers/employers/employees/employments/{employmentId}/payslips
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
employment |
`` | The unique identifier of the employment |
Table Columns
The columns of the table PayslipsByEmploymentId 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 |
|---|---|---|---|---|---|
approval |
datetime |
Approval Time | The time at which the payslip was approved. | ||
number |
int32 |
Number of Payslips | The number of different types of payslips for the given payroll period. | ||
payroll |
datetime |
Payroll Period End Date | The last day of the period for which the tax return message was created | ||
payroll |
int32 |
Payroll Period Number | The period number of the payroll period the record relates to | ||
payroll |
datetime |
Payroll Period Start Date | The first day of the period for which the tax return message was created | ||
payroll |
char |
Payroll Period Test Year | Indicates whether the payroll periode is part of 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. | ||
payroll |
int32 |
Payroll Period Year | The year of the payroll period the record relates to | ||
payrollrun |
guid |
Payroll Run 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: