API reference
Payroll runs
Paying the company's people for a period. A run picks its employees, takes their time (timesheets), calculates every payslip, moves through verification to finalised — or, for companies whose Qoyod accounting approves payroll, waits for that approval — and is then paid and posted to accounting.
GETList payroll runs, grouped by month
/payroll/payrollsreadPOSTStart a payroll run/payroll/payrollswriteGETPreview who a new payroll run would pay/payroll/payrolls/employees_inforeadGETExport payroll runs to Excel or CSV/payroll/payrolls/exportwriteGETList the columns a payroll runs export can have/payroll/payrolls/export/columnsreadGETGet a payroll run with its accounting status/payroll/payrolls/{id}readPATCHChange a payroll run/payroll/payrolls/{id}writeDELETEDelete a payroll run/payroll/payrolls/{id}writeIrreversible operationGETGet what a payroll run sent to accounting/payroll/payrolls/{id}/accounting_eventreadPOSTRe-post a run after its entry was reversed/payroll/payrolls/{id}/accounting_event/repostwriteIrreversible operationPOSTRe-send a run that failed to reach accounting/payroll/payrolls/{id}/accounting_event/retrywritePATCHCalculate a run's payslips/payroll/payrolls/{id}/calculate_earningswritePATCHMove a run to payment review/payroll/payrolls/{id}/calculate_paymentswritePATCHCalculate a run's time/payroll/payrolls/{id}/calculate_timewritePATCHFinalise a payroll run/payroll/payrolls/{id}/finalizewriteIrreversible operationPOSTRecord a finalised run as paid/payroll/payrolls/{id}/pay_allwriteIrreversible operationPATCHMove a payroll run back one step/payroll/payrolls/{id}/revertwriteIrreversible operationGETDownload a run's WPS bank file/payroll/payrolls/{id}/wps_exportreadGETList a payroll run's timesheets/payroll/payrolls/{payroll_id}/timesheetsreadPOSTUpload a run's timesheets from a spreadsheet/payroll/payrolls/{payroll_id}/timesheets/bulk_uploadwriteIrreversible operationPOSTRefresh a run's timesheets from approved records/payroll/payrolls/{payroll_id}/timesheets/refreshwriteGETDownload a run's timesheet spreadsheet/payroll/payrolls/{payroll_id}/timesheets/templatereadPATCHCorrect an employee's time on a payroll run/payroll/payrolls/{payroll_id}/timesheets/{id}write