Account groups
Account groups group accounts and categories for management reporting. They are defined organisation-wide and are the basis for account assignment, categories, and reports. Tool and field names still call themreporting_section.
Available tools
list_reporting_sectionsbulk_create_reporting_sections(one or many account groups per call)change_reporting_sectionchange_reporting_section_orderdelete_reporting_section
Typical use cases
- read existing P&L or balance-sheet account groups
- create new account groups
- change the order
- change names or properties of existing account groups
- delete account groups you no longer need
Scope
Account groups are organisation-wide. You do not need acompanyUuid.
Important notes
list_reporting_sectionscan filter byaccountTypeprofit_lossis the P&L in the appbalance_sheetis the balance sheet in the appbalanceSwitchis optional and applies only to balance-sheet account groups. Omit it to leave the switch off. It takes effect only when the report places that account group on both an asset source and a liability source.
Where account groups are used
Account groups are needed, among other things, for:list_accountswith an account group filterbulk_create_categoriesorchange_category- report rows that sum account groups