I found it quite amusing when I realised that double-entry isn’t widely understood around the world, a realisation I came to after I first encountered one of many confusing “accounting for developers” posts on HN.
It was quite easy for us 13 year olds to grasp:
Assets=owners equity +liabilities (accounting equation) A=O+L
Rules: Left side of equation: Increase in an asset: debit. Decrease in an asset: credit.
Right side of equation: Increase in liabilities: credit Decrease in liabilities: debit
Increase in owners equity: credit Decrease in owners equity:debit
Expenses decrease equity, income increases equity. Capital increases equity. Drawings decrease equity.
For every debit, there must be a credit. Every transaction fits into this framework, and every transaction must balance the accounting equation.
Your bank statement appears to be reversed, because it’s written from the perspective of the bank: for them, a deposit by you increases their liability to you (a credit). Similarly when you owe them money, it’s an debit, since from the bank’s perspective, your debt is an asset to them. (Bank reconciliation is another thing we did in school.)
This really isn’t rocket science.