---
title: "POST close accounting period"
method: POST
path: "/v3/administrations/{administration_id}/period_closures"
tags: ["Accounting Period Closure"]
---

# POST close accounting period

`POST /v3/administrations/{administration_id}/period_closures`

## Request

- Base URL: `https://api.bookingexperts.com`
- URL: `https://api.bookingexperts.com/v3/administrations/{administration_id}/period_closures`
- Auth: one of:
  - API key in header `X-API-KEY`
  - OAuth 2
    - Authorization code: `/oauth/authorize`
    - Token URL: `/oauth/token`
- TypeScript: <https://skmtc.dev/bookingexperts/apis/booking-experts-api-v3/docs/v3/administrations/:administration_id/period_closures/post.ts> (a function with typed inputs; its response is checked against the schema)

Closes an accounting period of the administration

## Path parameters

- `administration_id` string, required

## Query parameters

- `fields[period_closure]` string

## Headers

- `Accept-Language` string

## Request body

- object
  - `data` object: A period closure closes a specific accounting period of the administration, meaning no more transactions are allowed for the specified period.
    - `type` string: Type
    - `attributes` object: Attributes
      - `closed_upto` string, date: Period up to which books will be closed for the administration
    - `meta` object: Metadata
      - `temp_id` string: UUID for internal resource linking. Should be omitted when the relationship ID is known.

## Response `204`

Success

## Other responses

- `429`: Error
- `default`: Error

---

[API](https://skmtc.dev/bookingexperts/apis/booking-experts-api-v3.md) - [All operations](https://skmtc.dev/bookingexperts/apis/booking-experts-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/bookingexperts/apis/booking-experts-api-v3/revisions/ff81bc4fefa9?raw)
