payroll

Calculate Payroll Run

Compute the run — draft → calculated; a recalculation keeps the state.

The totals appear twice, and agree numerically (ZET-265): the top-level employee_count / gross_total / net_total are this calculation's, and the nested run carries the same three read back off the persisted results — the figures the runs list and the run detail report for this run. So no second call is needed to find out what was computed. Compare them as decimals, not as strings: the read-back carries the stored column's scale (6000.0000) and the top-level totals the engine's (6000.00).

post/companies/{company_id}/payroll/runs/{run_id}/calculate

Request

  • Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
  • URL: https://app.zeno-works.ch/companies/{company_id}/payroll/runs/{run_id}/calculate
  • Auth: none declared

Path parameters

company_idstring required
run_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

Response

Successful Response

gross_totalstring required
net_totalstring required
payout_totalstring required
employer_totalstring required
employee_countinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.