{# DrCr: Web-based double-entry bookkeeping framework
Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see
| $ | |
|---|---|
| Salary and wages (1) | |
| Government allowances (5) | |
| Total assessable income | {{ fmtbal(running_total, 1, -1) }} |
| Work-related self-education expenses (D4) | |
| Other work-related expenses (D5) | |
| Total deductions | {{ fmtbal(running_total) }} |
| Taxable income | {% set _ = running_total.__setattr__('quantity', taxable_income) %}{{ fmtbal(running_total, 1, -1) }} |
| Income tax | {{ fmtbal(base_income_tax(running_total)) }} |
| Medicare levy | {% set _ = running_total.__setattr__('quantity', taxable_income * 0.02) %}{{ fmtbal(running_total, 1, -1) }} |