GL Periods
What reopening a period would do (reason length, filing lock, later months, refusal)
Changed onReads, 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).
get/accountant/companies/{customerId}/gl-periods/{periodId}/reopen-preview
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
customerId, string uuid required
periodId, string uuid required
Response
Reopen preview
object required
success, true required
data, object required
Changes
- info
endpoint added
- info