GL Periods

Close a GL period

Generates the period's closing entry (sweeping profit and loss to Retained Earnings) and then marks the period closed. The closing entry posts before the status flip so it lands in the period being closed; a stale closing entry left from an earlier close is voided and replaced. A closed period is a reconciliation marker: it still accepts postings and voids, and only a filing lock blocks them (#2411). Requires company role admin or owner in a signed-in session; API keys are refused with 403. 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.

post/companies/{companyId}/gl-periods/{id}/close

Request

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

Path parameters

companyId, string uuid required
id, string uuid required

Response

Period closed

GlPeriodResponse required
success, boolean
data, GlPeriod

Changes

No recorded changes to this operation across all 110 revisions of this API.