Every ledger uses an account code hierarchy to determine how expenses are posted. This hierarchy defines which account code is assigned to an expense based on one or more criteria.
Simple Hierarchy
The simplest form of an account code hierarchy is based only on the ledger and expense type.
Example: The same account code is assigned to every Entertainment expense created by any Expense user associated with a specific ledger.
Complex Hierarchy
A more complex hierarchy is based on the ledger, expense type, and additional attributes.
Example: The same account code is assigned to every Entertainment expense created by an Expense user who:
- Is associated with a specific ledger, and
- Belongs to a specific division, department, and cost center
By using additional criteria, you can assign account codes more precisely to reflect organizational and reporting requirements.










