---
title: "Retrieves last book closed period"
method: GET
path: "/books/periods/last-closed"
tags: ["Books periods"]
---

# Retrieves last book closed period

`GET /books/periods/last-closed`

## Request

- Base URL: `https://api.rillet.com`
- URL: `https://api.rillet.com/books/periods/last-closed`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/rillet/apis/rillet-accounting-api/docs/books/periods/last-closed/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the most recently closed accounting period for book-close workflows, including closed-on timestamps your automation can cache.
When no period has ever been closed the API responds with HTTP 404, so treat a missing resource as "not yet closed" rather than an outage.

## Response `200`

OK

- Book
  - `id` string, uuid, required
  - `start` string, date, required: Book period start date (inclusive)
  - `end` string, date, required: Book period end date (inclusive)
  - `status` 'OPEN' | 'CLOSED', required
  - `closed_on` string, date, required: Date on which book was closed

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/rillet/apis/rillet-accounting-api.md) - [All operations](https://skmtc.dev/rillet/apis/rillet-accounting-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rillet/apis/rillet-accounting-api/revisions/c393d0102005?raw)
