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. #4362: any B1–M21 period in the list is an M20 sign-off, with the lock's 403s (close_step_role_required, close_preparer_cannot_sign_off), checked for every period before the first one closes.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Response
Per-period close results; allClosed is false when the sequence aborted
Changes
No recorded changes to this operation across all 110 revisions of this API.