---
title: "Reverse Gl Reserve Allocation"
method: POST
path: "/companies/{company_id}/gl/reserve-allocations/{allocation_id}/reverse"
tags: ["gl-year-end"]
---

# Reverse Gl Reserve Allocation

`POST /companies/{company_id}/gl/reserve-allocations/{allocation_id}/reverse`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/gl/reserve-allocations/{allocation_id}/reverse`
- Auth: none declared

Release the allocation back to retained earnings — accountant (or admin).

Books through the journal reversal path (Dr reserve / Cr retained
earnings — the appropriation negated); re-allocation for the (fiscal year,
kind) becomes possible. 409 when already reversed; 422 on a closed posting
period; 404 on an unknown allocation.

## Path parameters

- `company_id` string, required
- `allocation_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- ReserveReversalRequest: ``POST .../gl/reserve-allocations/{id}/reverse`` body (accountant).
  - `gl_period_id` string, required
  - `posting_date` string, date, required

## Response `200`

Successful Response

- ReserveAllocationOut: One GV reserve allocation (one *active* per fiscal year and kind). ``reversal_entry_id``/``reversed_at`` are set when the allocation was released back to retained earnings — the (FY, kind) key is then free for a re-allocation.
  - `id` string, required
  - `fiscal_year_id` string, required
  - `kind` 'statutory' | 'voluntary', required: Which profit reserve a GV allocation credits (K11).
  - `amount` string, required
  - `resolution_date` string, date, required
  - `posting_date` string, date, required
  - `journal_entry_id` string, required
  - `reversal_entry_id` string, nullable
  - `reversed_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `created_by` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
