---
title: "Close a fiscal year"
method: POST
path: "/fiscal-years/{id}/close"
tags: ["Period close"]
---

# Close a fiscal year

`POST /fiscal-years/{id}/close`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/fiscal-years/{id}/close`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Zeros posted revenue and expense for the fiscal year and moves net income or loss to the exact equity earningsDestinationAccountId. Does not close distributions, draws, capital, reserves, or loans.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `earningsDestinationAccountId` string, uuid, required: Equity chart-account UUID that receives year-end net income or loss

## Response `200`

Closed fiscal year

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
