This claims 1 and -1 is confusing, then proceeds to use the confusion. Why not use the language of the problem domain?<p>The rules are unambiguous. An increase in assets are a DR, increase in liabilities a CR, in income a CR, in expenses a DR, in owners equity a CR.<p>Decreases the opposite.<p>Using 1 and -1 is nonsensical because their meaning in mathematics is fixed, while as shown by the rules above, in accounting DR/CR meanings change.<p>So a couple of example journal entries…<p><pre><code> Product sale for cash
Sales CR 100
Bank DR 100
Payment of rent
Rent DR 50
Bank CR 50
Sale for cash where tax collected and owed
Income CR 70
Tax Payable CR 30
Bank DR 100
Monthly petty cash tin entry
Postage DR 5
Accounts receivable DR 20 (loan to John)
Transport DR 15 (taxi Paul)
Bank CR 40
</code></pre>
Note that your bank statement is from the banks perspective. When you put money into the bank it is a CR because it is increase in the banks liability.<p>Is this too hard to model? I suggest not?