Skip to main content
GET
Get last closed period

Authorizations

x-api-key
string
header
default:<your-api-key>
required
organisation
string
header
default:<your-organisation-id>
required

Response

AccountingPeriodResponseSchema · object | null

Successful Response

Response schema for an accounting period.

Includes the closing user's information so the caller doesn't have to fetch it separately.

id
string<uuid>
required

Unique identifier

organisation_id
string<uuid>
required

Organization ID

period_start
string<date>
required

Period start date

period_end
string<date>
required

Period end date

status
string
required

Period status

closed_at
string<date-time>
required

When the period was closed

closed_by_user_id
string<uuid>
required

User who closed the period

created_at
string<date-time>
required

Record creation timestamp

updated_at
string<date-time>
required

Record update timestamp

period_name
string | null

Descriptive name

closed_by_user
UserResponseSchema · object | null

User who closed the period