The PaySlip and PayRun response objects have had 2 new flags added to them so you can determine if the payslips have been published or not.
When using the
/v2/business/{businessid}/payrun
/v2/business/{businessid}/payrun/{payrunid}
endpoints, there is a new PaySlipsPublished
flag that is set to “true” when payslips have been published and “false” if they’re not published
When using the
/v2/business/{businessid}/payrun/{payrunid}/payslip
/v2/business/{businessid}/payrun/{payrunid}/payslip/{employeeId}
Endpoints to retrieve the payslip metadata for individual payslips, you can use the IsPublished
flag to see if that payslip has been published.