accounting-settings

Supersede Autopost Decision

Let the AI code a reversed document again (accountant).

The explicit user action the coder deliberately will not take on its own: its claim predicate has no reversal escape hatch, so a wrong AI booking that a human reversed is otherwise never re-proposed (doc/pipeline.md §"Invoice coding (phase 2)"). Clears the superseded autopost:code: decision; the coder picks the item up on its next sweep and proposes from scratch. The decision row itself is destroyed — that IS the mechanism — while the journal keeps the full reversal audit trail.

409 when the booking still stands (including a reversal that was itself reversed), when the row is a human manual:code: booking or booked nothing, when the document still carries a live recognition plan, or when something else on the item (a capitalization, an accrual, a linked expense receipt…) would keep the coder from re-claiming it anyway. 404 for an unknown decision or a deleted item.

post/companies/{company_id}/autopost-decisions/{decision_id}/supersede

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}/autopost-decisions/{decision_id}/supersede
  • Auth: none declared

Path parameters

company_idstring required
decision_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Response

Successful Response

msgstring required

Changes

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