payroll
Run Payroll Run With Ai
Enqueue on-demand AI execution of this run (ai-on-demand plan §D2/D3).
Only enqueues an ai_task row (202) — the ai-tasks worker drives calculate→validate→approve→post with the JE stamped origin=ai; poll GET …/ai-tasks/{task_id} for the outcome. 422 unless the run is draft/calculated/approved; 409 while an AI task for this run is already active (ConflictError passes through _tx to the global handler). mark-paid and lock stay human.
post/companies/{company_id}/payroll/runs/{run_id}/run-with-ai
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}/run-with-ai
- Auth: none declared
Path parameters
company_idstring required
run_idstring required
Headers
authorizationstring nullable
Cookies
access_tokenstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.