ar-invoices
Draft Ar Invoice With Ai
Enqueue AI drafting of an outgoing invoice (ai-on-demand plan §D2/D3).
Only enqueues an ai_task row (202) — the ai-tasks worker maps the instruction onto the product catalog via the LLM gateway and saves a draft stamped origin=ai; poll GET …/ai-tasks/{task_id} — the created invoice id lands in target_id/result. 404 unknown customer. The outward-facing issue click stays human.
post/companies/{company_id}/ar/invoices/draft-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}/ar/invoices/draft-with-ai
- Auth: none declared
Path parameters
company_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.