Accountant Portal

Lift a pause, restart the trial, or pause a capability

Changed on

A human super-admin only (403 SUPER_ADMIN_REQUIRED otherwise); both service keys get 404. shadow lifts a pause or restarts the trial (verdicts are counted again from now); paused stops the capability; live promotes it from shadow on the super-admin's word (reason set_by_admin, the person recorded) (F8, LIVE_REQUIRES_REPLAY_AND_APPROVAL, on in QA and production: only while a replay pass and an approval are on record, 409 AGENT_LIVE_NEEDS_REPLAY_AND_APPROVAL otherwise; a capability already live stays live; every move to live leaves an audit row with who and when) and no policy hold applies (migration 643), never straight from a pause (409 AGENT_AUTONOMY_PAUSED: lift it to shadow first). A request to make a Phase 3 type live returns 409 AGENT_CASH_BASIS_HOLD when the client has no effective book basis, including when all basis entries are future-dated. The same code applies when the client has an effective cash basis and no recorded cash_basis ruling. Revenue or bills can also return 409 AGENT_POLICY_FACTS_UNCONFIRMED until the required policy fact is confirmed. All six capabilities (categorize, documents, transfers.pairs, revenue, bills, close) have guarded, undo-capable writers; live still enforces F21/F31 holds and optional F8 replay+approval, while shadow and off stay settable. 409 AGENT_AUTONOMY_CHANGED when the state moved while it was being set. Returns the states as a GET would.

put/accountant/companies/{customerId}/agent/autonomy

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Request body

object required
capability, 'categorize' | 'documents' | 'transfers.pairs' | 'revenue' | 'bills' | 'close' required
state, 'shadow' | 'paused' | 'live' | 'off' required

Response

Success envelope

object required
success, boolean required
data, AgentAutonomy required

Changes

    • info

      added the optional property data/capabilities/items/latestDueDate to the response with the status

    • warning

      added the new blind_sample_review_high enum value to the data/capabilities/items/reason response property for the response status

    • warning

      added the new scorecard_fallback enum value to the data/capabilities/items/reason response property for the response status

    1 more change in this revision