gl-actions
Gl Period Prepare Close With Ai
Enqueue AI close preparation for an open period (ai-on-demand plan §D2/D3).
Only enqueues an ai_task row (202) — the ai-tasks worker runs the close checks + the autopost-gated accrual sweep (posting origin=ai under the autonomy policy) and the checks again for the before/after delta; poll GET …/ai-tasks/{task_id}. Nothing close-side is ever scheduled — the queue only executes this human click asynchronously, and the final close-run stays a human action. 422 unless the period is open; 409 while an AI task for this period is already active.
post/companies/{company_id}/gl/periods/{period_id}/prepare-close-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}/gl/periods/{period_id}/prepare-close-with-ai
- Auth: none declared
Path parameters
company_idstring required
period_idstring required
Headers
authorizationstring nullable
Cookies
access_tokenstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.