v1

latestOpenAPI 3.1.02026-07-24111224223.3 KB
Books periods

Retrieves last book closed period

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.

get/books/periods/last-closed

Response

OK

idstring uuid required
startstring date required

Book period start date (inclusive)

endstring date required

Book period end date (inclusive)

status'OPEN' | 'CLOSED' required
closed_onstring date required

Date on which book was closed

Example response

{
  "start": "2025-06-01",
  "end": "2025-06-30",
  "status": "CLOSED",
  "closed_on": "2025-07-05"
}