Accountant Portal

Undo a person's categorization of one transaction (human-only, P08-b)

Changed on

Human-only (refuses service principals and API keys; listed on HUMAN_ONLY_ROUTES); who may undo is who may approve (403 CLIENT_APPROVER_REQUIRED). Voids the row's one posted categorization entry through the audited journal-entry void, which posts its Uncategorized review entry, and returns the row to review with no category (BK-149's core). Records categorization.undone on the voided journal entry (company audit read) and a categorization_undone timeline event. Idempotent: a repeat call returns state already_undone with no new write. Acts only on the row's own categorization entry (source transaction, source id the row). Refuses a reconciled row or entry and a closed or filing-locked month (422); a split or uncategorized row, no single own entry, an entry that also books another row or a document, a row a transfer match or document owns, and a row booked to an uncategorized account (409). The audit row commits with the void and the restore. /reject is a separate send-back that keeps the category.

post/accountant/companies/{customerId}/transactions/{transactionId}/categorization/undo

Request

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

Path parameters

customerId, string uuid required
transactionId, string uuid required

Request body

object required
reason, string required

Response

Success envelope with the undo state (undone or already_undone)

object required

Changes