Re-close an assigned customer's closed GL period in place after its ledger changed
For a closed month that changed after its close (#2835). Runs the same pre-close gate as the close route, brings the period's closing entry in line with its current profit and loss when it no longer matches, then moves closedAt to the database cutoff captured before review and closedByUserId to the caller. Changes after that cutoff keep the month-end closed_period_changed advisory for another review. The period stays closed throughout and no other period is touched, so it works for a month that has newer closed months after it. Writes an audit_logs entry (action reclose) with the supplied reason. Close slice 2 (Jacob P1, 2026-11-11): a re-close passes the same month-close check as the close (steps before M20 done, 0.00 gates, a Reviewer who did not prepare the month, or the Firm admin: 403 close_step_role_required / close_preparer_cannot_sign_off, 422 close_gate_failed). The agent service API key has no person behind it and gets 403.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Request body
What was reviewed, written to audit_logs.changes.reason.
Response
Period re-closed
Changes
No recorded changes to this operation across all 110 revisions of this API.