---
title: "Which period actions the signed-in accountant may take for this customer"
method: GET
path: "/accountant/companies/{customerId}/gl-periods/capabilities"
tags: ["GL Periods"]
---

# Which period actions the signed-in accountant may take for this customer

`GET /accountant/companies/{customerId}/gl-periods/capabilities`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/gl-periods/capabilities`
- Auth: HTTP bearer

`fileLock` is true only when the accountant also holds the company
admin or owner role (#2104). `reopenablePeriodId` is the one period the
reopen route would accept now: the newest closed period, unless it is
filing-locked (then null). Reopen itself follows the assigned-accountant
policy. The accountant app keeps both controls disabled until this
answers. API keys receive 403.

## Response `200`

Period action capabilities

- object
  - `success` true, required
  - `data` object, required
    - `fileLock` boolean, required
    - `reopenablePeriodId` string, uuid, nullable, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member

---

[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/20090ea32b0d?raw)
