---
title: "Create Gl Fiscal Year"
method: POST
path: "/companies/{company_id}/gl/fiscal-years"
tags: ["gl"]
---

# Create Gl Fiscal Year

`POST /companies/{company_id}/gl/fiscal-years`

## 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/fiscal-years`
- Auth: none declared

Open a fiscal year (accountant). 409 on a duplicate label or an overlapping range.

The year is created **with its monthly periods** — one per calendar month of the
range, the first and last clipped to it (ZET-441) — so there is no period to create
by hand afterwards. A range wider than 24 months is refused (422).

The year owns its own chart of accounts, and a new one starts **empty** — set
``carry_forward_chart`` to copy the most recent earlier year's chart into it as part
of the create (ZCT-261). Left off, the chart is materialised lazily, the first time
something codes into the year; ``POST …/{fiscal_year_id}/carry-forward-chart`` is the
same copy on demand for a year that already exists.

## Path parameters

- `company_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- GlFiscalYearCreate
  - `year_label` integer, required
  - `date_from` string, date, required
  - `date_to` string, date, required
  - `carry_forward_chart` boolean

## Response `201`

Successful Response

- GlFiscalYearOut
  - `id` string, required
  - `company_id` string, required
  - `year_label` integer, required
  - `date_from` string, date, required
  - `date_to` string, date, required
  - `status` string, required
  - `closed_at` string, date-time, nullable
  - `closed_by` string, nullable
  - `unsealed_at` string, date-time, nullable
  - `unsealed_by` string, nullable
  - `unseal_reason` string, nullable
  - `created_at` string, date-time, required

## 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)
