reports.financial_statement
Represents an abstraction of a financial statement according to IFRS/GAAP.
Module Contents
Classes
This class is an abstract representation of a Financial Statement as defined by IFRS and GAAP. |
- class reports.financial_statement.FinancialStatement(session: sqlalchemy.orm.session.Session)
This class is an abstract representation of a Financial Statement as defined by IFRS and GAAP.
- config: dict
The configuration section for the report.
- Type:
(str)
- end_date: datetime.datetime
The latest transaction date for Transaction amounts to be included in the report.
- Type:
(datetime)
- printout: tuple
The sections to be printed out.
- Type:
(tuple)
- width: int
The width of the report printout.
- Type:
(int)
- indent: str
The indent between report sections.
- Type:
(str)
- subtotal: str
The underline for report subtotals.
- Type:
(str)
- grandtotal: str
The underline for report grand totals.
- Type:
(str)
- sections
The sections of the report.
- Type:
(StrEnum)
- results
The results of the report.
- Type:
(StrEnum)
- accounts
The Accounts in the sections of the report, by Account category.
- Type:
(dict)
- balances
The total balances of the Accounts in the sections of the report, by Account category.
- Type:
(dict)
- totals
The Total balances of Accounts in the sections of the report.
- Type:
(dict)
- result_amounts
The amounts results of the report.
- Type:
(dict)
- __str__() str
Return str(self).
- _get_sections(start_date: datetime.datetime = None, end_date: datetime.datetime = None, full_balance: bool = True) None
- _print_title() str
- _print_section(section, factor=1) str
- _print_result(result, grandtotal=False) str
- _print_total(section, factor=1, grandtotal=False) str