Month-End Close

Close consecutive GL periods in sequence (batch month-end lock)

Closes each supplied period in order — the same closing-entry and retained-earnings effect as the single gl-periods close, applied per period. Aborts on the first failure (including any unresolved block-severity close blocker) and returns the per-period status so the caller can see which period broke. Signed-in accountants only: the service API key cannot use the batch lock (#2411); it closes one period at a time through the single gl-periods close.

post/accountant/companies/{customerId}/month-end-close/batch-lock

Request

  • Base URL: https://api.medianfi.com/api/v1
  • URL: https://api.medianfi.com/api/v1/accountant/companies/{customerId}/month-end-close/batch-lock
  • Auth: HTTP bearer

Request body

periodIdsstring[] required

Response

Per-period close results; allClosed is false when the sequence aborted

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.