Fetch Company Payslips Status
Says whether the payslips PDF started by Create Company Payslips is ready. Needs Payroll and Payroll and Compliance Reports on your plan. Poll every 10 seconds; a faster poll gets 429 with Retry-After. Large companies can take a few minutes.
status is one of:
pending,in_progress: keep polling.successful: finished. Downloadfile_url.failed: call Create Company Payslips again to retry.invalid: your company has no payslip run with thisreport_id.monthandstaff_countarenull.
file_url is null unless status is successful. Polls don’t count towards the 10-minute limit. See Rate limits.
Errors
400"Invalid Data"witherrors.report_idwhen it is missing or not a positive integer.403"Payroll reports are not included in your plan. Contact us."
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Query parameters
report_id
The report_id from Create Company Payslips.
Response
message
status
data
