From d7289bd2d06f6b96a4e5a5ddb9df7ed1d8bbb010 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Thu, 5 Jan 2023 23:47:26 +1100 Subject: [PATCH] austax: Include gross interest in assessable income --- austax/__init__.py | 1 + austax/reports.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/austax/__init__.py b/austax/__init__.py index 56f422b..a8b6d8d 100644 --- a/austax/__init__.py +++ b/austax/__init__.py @@ -28,6 +28,7 @@ def plugin_init(): drcr.plugins.account_kinds.append(('austax.income1', 'Salary or wages (1)')) drcr.plugins.account_kinds.append(('austax.income5', 'Australian Government allowances and payments (5)')) + drcr.plugins.account_kinds.append(('austax.income10', 'Gross interest (10)')) drcr.plugins.account_kinds.append(('austax.d4', 'Work-related self-education expenses (D4)')) drcr.plugins.account_kinds.append(('austax.d5', 'Other work-related expenses (D5)')) drcr.plugins.account_kinds.append(('austax.paygw', 'PAYG withheld amounts')) diff --git a/austax/reports.py b/austax/reports.py index d0e1b5d..99b728e 100644 --- a/austax/reports.py +++ b/austax/reports.py @@ -80,6 +80,11 @@ def tax_summary_report(): entries=entries_for_kind(account_configurations, accounts, 'austax.income5', neg=True) + [Subtotal('Total item 5', id='income5', floor=100)] ), Spacer(), + Section( + title='Gross income (10)', + entries=entries_for_kind(account_configurations, accounts, 'austax.income10', neg=True) + [Subtotal('Total item 10', id='income10', floor=100)] + ), + Spacer(), Calculated( 'Total assessable income', lambda r: r.by_id('income1').amount + r.by_id('income5').amount,