Accounting equation with journals and ledger