Accountant Portal

Undo one automated Penny write (categorization, transfer/card pair, document match, or Phase 3 revenue/bills/close run; human-only)

Changed on

Human-only (refuses service principals and API keys; listed on HUMAN_ONLY_ROUTES). Reverses Penny's exact applied write atomically: for recategorize, voids Penny's posted journal entry and restores the transaction row; for match_transfer (transfers and credit card payment pairs), unwinds the transfer match and voids its consolidated journal entry; for match_document (receipts and bills), unmatches the document link and notifies autonomy; for run_revenue, run_bills, and run_close, voids all journal entries posted by the run and resets any posted schedule entries back to pending. Idempotent: a repeat call after undo returns state already_undone with no new write. Refuses on a later human edit, reconciliation, or a closed/filing-locked period.

post/accountant/companies/{customerId}/agent/runs/{runId}/evidence/{evidenceId}/undo

Request

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

Path parameters

customerId, string uuid required
runId, string uuid required
evidenceId, string uuid required

Request body

object required
reason, string required

Response

Success envelope with undo state (undone or already_undone)

object required

Changes