Double-entry bookkeeping system