Accountant Portal

Undo a duplicate Stripe journal entry repair

Changed on

A human super-admin only; the agent's key and the bookkeeping service token get 404. Not gated by the agent's settings. Works from the server's record: the voided entry is posted back as an identical copy (same date, lines, source, posting key and hash); on the transaction side the soft-deleted transaction is restored first (a transaction the repair kept must still be live); on the system side the Stripe row is linked to the copy. The copy's lines keep the FX rate revision the entry was booked at. One database transaction with the record's undo stamp. The record stays, so the row is never repaired again automatically (the next audit raises its blocker again). A second call answers already_reverted. 409 DUPLICATE_STRIPE_JE_REPAIR_BLOCKED when the period is filing-locked or the row, entry or transaction changed.

post/accountant/companies/{customerId}/agent/stripe-duplicate-je-repairs/by-evidence/{evidenceId}/unwind

Request

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

Path parameters

customerId, string uuid required
evidenceId, string uuid required

Request body

object required
reason, string required

Response

Success envelope

object required
success, boolean required
data, object required

Changes