Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Legal companies and periods

    Books belong to one legal company and are kept by month; a month is open, closing or locked.

    On this page

    An account can hold several legal companies, such as a wholesale company and the company that runs its shops. Each legal company has its own books: its own entries, its own periods, its own numbering. A token is bound to one company, and every request is read and written in the books of that company only.

    customerOrgId is the account and legalCompanyId is the company. A body that names another company than the token is refused with a 403: see Authentication.

    Periods

    A period is a calendar month, written YYYY-MM, such as 2026-10. An entry belongs to the period of its date, so effectiveDate of a posting request decides where the entry goes. Entries are numbered inside their period: JE-2026-10-0008 is the eighth entry of October 2026.

    StatusMeaning
    open Entries are posted into it and the month has not started closing.
    closing The month-end checklist is being worked through. Entries can still be posted into it.
    locked Nothing is posted into it any more. A posting request or a reversal dated in it is refused.

    A period moves forward only: open, closing, locked. A month can start closing when every earlier month is locked. In the examples September 2026 is locked, October 2026 is closing and November is open. See Period locks.