You can get payslip directly from our API, either
for a single employee,
or for all employees on the PayRun
.
If you set the accept header to application/pdf
then you'll receive a link to a PDF of the payslip(s).
Alternatively you can set it to application/json
and you'll be given a Payslip
model.
This model contains all of the data you need to create your own payslip document for your employees.
For more information on using the accept header for reports, view the guide document for Reports