3 ms·
This highlights the stumbling block that programmers have when trying to understand debits and credits. You should not at all be trying to classify your account
by darcys22 5y ago
This highlights the stumbling block that programmers have when trying to understand debits and credits. You should not at all be trying to classify your accounts as Liab/Eq/Inc, its simply an account with a debit or credit balance.
Its why i dislike the accounting equation. Its leads people to really overvalue how important account types are.
On the database level you dont care at all about it. The accounts are simply another text column and the bare minimum has no further information.
Only when trying to present the accounts in a P&L or something do you try to ascertain what the type is. Even then the only essential information is whether the account is debit or credit positive, and maybe whether it is a P&L or balance sheet account.
Its at this point here that you could optionally classify the account as Liab/Eq/Inc to give you some nice headers for the financial reports but to be honest you could just throw that back on the user and let them classify their own headers. Accountants are normally better at knowing what their financials should look like and forcing them to comply with your account types is probably a limiting and frustrating anti feature.