Skip to navigation

Create Company Payslips

Starts building one PDF with the payslips of every staff member whose payment (salary or advance) is saved for the month. Needs Payroll and Payroll and Compliance Reports on your plan. Send the month as month (YYYY-MM).

The PDF is built in the background. Poll Fetch Company Payslips Status with report_id every 10 seconds, then download file_url. The finished file also appears in the app under Reports > Downloads; no push notification is sent.

  • Inactive staff, and staff whose payment is not saved, are left out. That is not an error.
  • If nobody qualifies, report_id is null and nothing is started.
  • If a run for the same month started by the same person is still in progress, no new run starts and you get its report_id again.

Errors

  • 400 "Invalid Data" with errors.month for a bad month.
  • 403 "Payroll reports are not included in your plan. Contact us."

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Request

This endpoint expects an object.
monthstringRequiredformat: "^\d{4}-(0[1-9]|1[0-2])$"

Month, YYYY-MM.

Response

messagestring
statusboolean
dataobject
rate_limitlist of stringsOptional