Skip to content

Commit

Permalink
Nova Scotia Basic Personal Amount
Browse files Browse the repository at this point in the history
  • Loading branch information
okeyiii committed Aug 16, 2023
1 parent e11e19b commit 18136a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
period: 2023
input:
province_code: NS
total_individual_pre_tax_income: 76_000
total_individual_pre_tax_income: 75_001
output:
ns_basic_personal_amount: 8_481
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def formula(person, period, parameters):
taxable_income = person("total_individual_pre_tax_income", period)

# Calculate additional amount added to base amount
exceedance = taxable_income - p.additional_amount.income_threshold
exceedance = max_(
taxable_income - p.additional_amount.income_threshold, 0
)
reduced_additional_amount = (
p.additional_amount.additional_amount
- p.additional_amount.applicable_rate * exceedance
Expand Down

0 comments on commit 18136a1

Please sign in to comment.