Ledger Account Categories Overview
This guide explains how account categories can be used to nest ledger accounts.
Ledger account categories are free-form account groups that can be used to create account hierarchies. Categories can contain other accounts or as well as other categories. The balance of a ledger category is equal to the sum of the balances of all contained accounts. Ledgers supports an unlimited amount of ledger categories.
A best practice is to set up ledger accounts as the lowest level aggregations for your business and use categories to 'rollup' balances as needed. If you are using the ledger to track accounts payable, for instance, you can have each individual vendor you owe represented as an account and use categories to group accounts by state, country, or any other grouping of your choice.
Ledger account category balances can be used to lock ledger transactions creates and updates. Read more about this here.
In this guide, we will walk through the following examples: creating a category, adding existing ledger accounts to a new category, adding existing ledger categories to a new category, and querying balances. You can find the API reference for ledger account categories here.
Updated 9 months ago