Close an assigned customer's GL period
Generates the period's closing entry and sweeps profit and loss to Retained Earnings, then marks the period closed. The closing entry posts before the status flip so it lands in the period being closed, and a re-close after a reopen writes a fresh entry rather than leaving the period closed without one (#2143). A closed period is a reconciliation marker and still accepts postings and voids (#2411). Caller must be an accountant assigned to the customer. Close slice 2 (Jacob P1, 2026-11-11): the month closes only when every checklist step before M20 is done (422 otherwise), the 0.00 gates pass again (422 close_gate_failed), and the caller is a Reviewer who did not prepare the month, or the Firm admin, who may also have prepared it (403 close_step_role_required or close_preparer_cannot_sign_off). The agent service API key reaches the route but has no person behind it, so it gets 403 close_step_role_required; other API keys cannot call it.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Response
Period closed
Changes
No recorded changes to this operation across all 110 revisions of this API.