Double-entry accounting system