Close the next ended GL period if it is ready
Re-checks readiness for the period named by periodId, or else the earliest ended open period. Only when it is ready does it post every due schedule entry, generate the closing entry, mark the period closed and update the books status. A close that cannot proceed (not ready, already closed, a failed schedule posting, failed clearing verification, or a closing entry that cannot be generated) answers 200 with closed: false and a reason. Requires company role admin or owner, the same authority as POST /companies/{companyId}/gl-periods/{id}/close; API keys are refused with 403 (#2411). Close slice 2 (Jacob P1, 2026-11-11): the month-close check refuses this to anyone who is not an accountant Reviewer or Firm admin (403 close_step_role_required), so a company admin cannot close a month here.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Send {} to close the earliest ended open period.
GL period to close. Omitted, the earliest ended open period is used.
Response
Close attempted; closed reports whether the period was closed
Changes
No recorded changes to this operation across all 110 revisions of this API.