During the setup of a Chart of Accounts in OFBiz, it is important to assign the proper account class to each of the accounts; in fact the account class determines:
1) if the account carries a debit or credit balance
2) the financial report in which the account is included.
The complete list of classes that you can assign to an account is described by the account class tree in OFBiz:
| |_________> LONGTERM_ASSET
| |_________> CURRENT_ASSET
| |____> CASH_EQUIVALENT
| |____> INVENTORY_ASSET
| |___> RETURN_OF_CAPITAL
| |___> DIVIDEND
| |____> INTEREST_EXPENSE
| |____> COGS_EXPENSE
| |____> SGA_EXPENSE
| |___> ACCUM_DEPRECIATION
| |___> ACCUM_AMORTIZATION
| |_________> CURRENT_LIABILITY
| |_________> LONGTERM_LIABILITY
| |_________> OWNERS_EQUITY
| |_________> RETAINED_EARNINGS
Asset (longterm, current, cash, inventory), expense (cash, interest, cost of goods sold, sales general administrative, non cash, depreciation, amortization, inventory adjustment) and distribution (dividend, return of capital) accounts each follow the same set of debit/credit rules. Debits increase these accounts and credits decrease these accounts. All these accounts carry a debit balance except contra revenue.
Liability (current, longterm), revenue and equity (retained earnings, owners equity) accounts follow opposite rules: credits increase liabilities, revenues, and equity, while debits decrease these accounts. All these accounts carry a credit balance except contra asset.
All the accounts belonging to the following classes are included in the Balance Sheet:
* all asset and contra asset classes
* all liability classes
* all equity classes
All the accounts belonging to the following classes are included in the Income Statement:
* all revenue and contra revenue classes
* all expense classes
* all income classes
All the accounts belonging to the cash equivalent class are included in the Cash Flow Statement.