action loket_get_payroll_period_results_by_employment_id_and_year { label: "Get payroll period results of an employment for a year" description: "__Activity name :__ GetPayrollPeriodResultsByEmploymentIdAndYear\n\nDownload the payroll results (conform overzicht strook) of an employment per payroll period for the provided year.\n\n**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)\n\n* Requesting payslips/results per RUN will provide you all payroll results from that specific payrollrun regardless of the period it applies to.\n* Requesting PERIOD results will provide you all (approved) payroll results for that period regardless of the payroll run it comes from.\n\nDe facto the payslips/results per RUN are your actual payslips (loonstrook). The results per period are more useful as an overview per period (overzichtstrook).\n\nOne 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.\n" provider: loket method: GET path: "/providers/employers/employees/employments/{employmentId}/payrollperiodresults/year/{year}" encoding: json input: { type: "object" properties: { Accept: { type: "string" } Authorization: { type: "string" } employmentId: { type: "string" format: "uuid" } year: { type: "integer" format: "int32" } } required: ["Accept", "Authorization", "employmentId", "year"] additionalProperties: false } output: { type: "object" additionalProperties: true } }