Skip to content

Account Hierarchy

You can organise related accounts into groups by creating header accounts (parents) with sub-accounts (children). This is especially useful on the Profit & Loss report, where grouped accounts collapse into a single line.

A header account does not accept journal entries directly — its balance is the sum of its children. When you add a sub-account to a regular account, that account automatically converts into a header.

▶ 4050 Leah's Revenue KES 300 ← collapsed header (click to expand)
▼ 4050 Leah's Revenue ← expanded
4051 Manicure KES 100
4052 Pedicure KES 120
4053 Facial KES 80
Total Leah's Revenue KES 300
  1. Create the parent account

    Add a new account (e.g. 4050 Leah's Revenue) as you normally would.

  2. Add sub-accounts

    Create child accounts (e.g. 4051 Manicure) and set the Parent Account field to the parent you just created. The parent automatically becomes a header.

  3. Post entries to children only

    Record journal entries against the sub-accounts. The parent’s balance updates automatically.

Navigate to Reports → Profit & Loss. Grouped accounts appear collapsed by default. Click the chevron to expand and see individual children plus a Total footer row.

On the Chart of Accounts page, parent accounts show a chevron and a computed balance (sum of children). You can:

  • Click the chevron to expand children inline in the table
  • Click the row or use the action menu → View Sub Accounts to open the full sub-accounts modal
RuleWhat happens
Header accounts can’t receive entriesJournal entries and opening balances are rejected for header accounts
Max 4 levels deepRoot → Level 1 → Level 2 → Level 3
Same account type requiredParent and child must both be the same type (e.g. both Revenue)
Deactivate bottom-upDeactivate all children before deactivating the parent
Delete bottom-upRemove or re-parent all children before deleting the parent
GL code locked on parentYou can’t change a parent’s GL code while children reference it

Can I move a sub-account to a different parent? Yes — edit the account and change the Parent Account field. If the new parent is a regular account with no entries, it will auto-convert to a header.

What happens to orphaned children if a parent is deleted? They appear as normal top-level accounts in reports. No data is lost.

Does hierarchy affect the Balance Sheet or Trial Balance? Not yet — hierarchical grouping is currently available on the Profit & Loss report only.