---
title: "What reopening a period would do (reason length, filing lock, later months, refusal)"
method: GET
path: "/accountant/companies/{customerId}/gl-periods/{periodId}/reopen-preview"
tags: ["GL Periods"]
---

# What reopening a period would do (reason length, filing lock, later months, refusal)

`GET /accountant/companies/{customerId}/gl-periods/{periodId}/reopen-preview`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/gl-periods/{periodId}/reopen-preview`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Reads, writes nothing. Returns the reason length reopen requires,
whether the period is filing-locked (`returnFiled` is the filing lock
today), every period that starts after it (open or closed, oldest
first), and `refusal`: exactly what `POST .../reopen` would refuse now
(`GL_PERIOD_NOT_CLOSED`, `GL_PERIOD_FILING_LOCKED`,
`GL_PERIOD_NEWER_CLOSED`; the detail is reopen's own message), or, for a caller who may not reopen this client's month (close slice 3: only its reviewer or the firm admin; a service key has no person), `close_step_role_required` / `close_client_reviewer_required`; or null.
Same key policy as reopen: the bookkeeping service API key may read
it; the bookkeeping agent's key may not (404).

## Path parameters

- `customerId` string, uuid, required
- `periodId` string, uuid, required

## Response `200`

Reopen preview

- object
  - `success` true, required
  - `data` object, required
    - `periodId` string, uuid, required
    - `periodStart` string, date, required
    - `periodEnd` string, date, required
    - `status` 'open' | 'closed', required
    - `filingLocked` boolean, required
    - `returnFiled` boolean, required: True when the period is filing-locked, the only record of a filed return today.
    - `reasonMinLength` 10, required
    - `laterPeriods` object[], required
      - `periodId` string, uuid, required
      - `periodStart` string, date, required
      - `periodEnd` string, date, required
      - `status` 'open' | 'closed', required
    - `reopenAllowed` boolean, required
    - `refusal` object, nullable, required
      - `code` 'GL_PERIOD_NOT_CLOSED' | 'GL_PERIOD_FILING_LOCKED' | 'GL_PERIOD_NEWER_CLOSED' | 'close_step_role_required' | 'close_client_reviewer_required', required
      - `detail` string, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: GL period not found, or the accountant is not assigned to this customer

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/gl-periods/:periodId/reopen-preview/get.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
