Definition
A folder represents a single legal entity within an accounting system. It is the top-level container for all accounting data of a specific business: its chart of accounts, journals, book years, and transactions.Purpose
- Provides the highest level of data segregation: each folder is fully isolated.
- Lets you manage several companies or business units through a single connection, with multi-folder support.
Structure
Each folder has:- An identifier (
id) and a name (name) - A selected flag (
selected):trueif the folder was selected during activation. Requests to a folder that was not selected are rejected - An active flag (
active):falseif the folder is inactive in the accounting software. Requests to an inactive folder fail - The VAT number (
vat) and the company number (company_number) of the entity - The main currency (
main_currency) - The addresses of the entity (
addresses)
Relationships
- A folder contains one or more book years.
- All accounting data belongs to a folder: ledger accounts, journals, partners, invoices, journal entries and the other objects.
- Requests take an optional
folder_idquery parameter. It is required in multi-folder mode. If only one folder is selected, it is used by default. See Multi-folder support. - Map each
folder_idto the matching legal entity in your system. When an end-user selects a company in your product, use itsfolder_idin your requests. - Each folder is fully isolated. Do not merge data between folders or assume they share a context.
API endpoints
- Get folders: list the folders of the connection. Each one is a legal entity.
- Get one folder: retrieve a specific folder.