v3

latestOpenAPI 3.1.02026-07-311,0939714.5 MB
Payslip

Download payslips of an employment for a payrollrun

Activity name : <a href="https://developer.loket.nl/Activities/GetPayslipsByEmploymentIdAndPayrollRunId" target="_blank">GetPayslipsByEmploymentIdAndPayrollRunId</a>

Availability: This is endpoint is available for the Loket application only. It is not available for external parties

Download the payslips or its underlying payroll results of an employment for the specified payrollrun

Please note: this endpoint has two types of output:

  • the payslip(s) as a single PDF-file
  • the underlying payroll result data for the payslip(s) in JSON-format

This may be specified by providing the desired format in the Accept header of your request.

get/v2/providers/employers/employees/employments/{employmentId}/payslips/{payrollrunId}

Path parameters

employmentIdstring uuid required

The unique identifier of the employment

payrollrunIdstring uuid required

The unique identifier of the payroll run

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Response

OK