def trial_balance(self): return serialize_real_account(self.root_account)['children']
def closing_balances(self, account_name): closing_entries = summarize.cap_opt(self.entries, self.options) return [serialize_real_account(self._real_account(account_name, closing_entries))]
def balances(self, account_name, begin_date=None, end_date=None): real_account = self._real_account(account_name, self.entries, begin_date, end_date) return [serialize_real_account(real_account)]