pub enum AccountingFramework {
UsGaap,
Ifrs,
DualReporting,
FrenchGaap,
GermanGaap,
}Expand description
Primary accounting framework selection.
Determines which set of accounting standards governs the generation of financial data, affecting everything from revenue recognition timing to lease classification.
Variants§
UsGaap
United States Generally Accepted Accounting Principles.
Key characteristics:
- Rules-based approach
- LIFO inventory permitted
- No revaluation of PPE above cost
- No reversal of impairment losses (except for certain assets)
- Bright-line tests for lease classification
Ifrs
International Financial Reporting Standards.
Key characteristics:
- Principles-based approach
- LIFO inventory prohibited
- Revaluation model permitted for PPE
- Reversal of impairment losses permitted (except goodwill)
- Principles-based lease classification
DualReporting
Dual Reporting under both US GAAP and IFRS.
Generates reconciliation data showing differences between the two frameworks for the same underlying transactions.
FrenchGaap
French GAAP (Plan Comptable Général – PCG).
French statutory accounting framework:
- PCG chart of accounts (classes 1–9)
- LIFO prohibited (like IFRS)
- Impairment reversal permitted under French rules
- Principles-based lease classification (convergent with IFRS 16 for many entities)
GermanGaap
German GAAP (Handelsgesetzbuch – HGB, §238-263).
German statutory accounting framework:
- SKR04 chart of accounts (classes 0–9, Abschlussgliederungsprinzip)
- LIFO prohibited since BilMoG 2009
- Mandatory impairment reversal (§253(5) HGB)
- Operating leases remain off-balance (BMF-Leasingerlasse)
- Pending loss provisions mandatory (§249(1) HGB)
- Low-value assets (GWG) immediate expensing ≤800 EUR
Implementations§
Source§impl AccountingFramework
impl AccountingFramework
Sourcepub fn revenue_standard(&self) -> &'static str
pub fn revenue_standard(&self) -> &'static str
Returns the standard name for revenue recognition.
Sourcepub fn lease_standard(&self) -> &'static str
pub fn lease_standard(&self) -> &'static str
Returns the standard name for lease accounting.
Sourcepub fn fair_value_standard(&self) -> &'static str
pub fn fair_value_standard(&self) -> &'static str
Returns the standard name for fair value measurement.
Sourcepub fn impairment_standard(&self) -> &'static str
pub fn impairment_standard(&self) -> &'static str
Returns the standard name for impairment.
Sourcepub fn allows_lifo(&self) -> bool
pub fn allows_lifo(&self) -> bool
Returns whether LIFO inventory costing is permitted.
Sourcepub fn requires_development_capitalization(&self) -> bool
pub fn requires_development_capitalization(&self) -> bool
Returns whether development cost capitalization is required.
Sourcepub fn allows_ppe_revaluation(&self) -> bool
pub fn allows_ppe_revaluation(&self) -> bool
Returns whether PPE revaluation above cost is permitted.
Sourcepub fn allows_impairment_reversal(&self) -> bool
pub fn allows_impairment_reversal(&self) -> bool
Returns whether impairment loss reversal is permitted.
Sourcepub fn uses_brightline_lease_tests(&self) -> bool
pub fn uses_brightline_lease_tests(&self) -> bool
Returns whether this framework uses bright-line lease tests.
Sourcepub fn requires_pending_loss_provisions(&self) -> bool
pub fn requires_pending_loss_provisions(&self) -> bool
Returns whether pending loss provisions are mandatory.
Under HGB §249(1), provisions for pending losses (drohende Verluste aus schwebenden Geschäften) are mandatory.
Sourcepub fn allows_low_value_asset_expensing(&self) -> bool
pub fn allows_low_value_asset_expensing(&self) -> bool
Returns whether low-value assets can be immediately expensed.
Under HGB / EStG §6(2), assets with acquisition cost ≤ 800 EUR (GWG — geringwertige Wirtschaftsgüter) can be fully expensed.
Sourcepub fn operating_leases_off_balance(&self) -> bool
pub fn operating_leases_off_balance(&self) -> bool
Returns whether operating leases remain off-balance sheet.
Under HGB with BMF-Leasingerlasse, the economic owner (usually lessor) keeps the asset on their balance sheet for operating leases.
Trait Implementations§
Source§impl Clone for AccountingFramework
impl Clone for AccountingFramework
Source§fn clone(&self) -> AccountingFramework
fn clone(&self) -> AccountingFramework
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more