Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
karenlilr committed Aug 8, 2024
1 parent 949d624 commit 5005fb2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- bump: minor
changes:
added: New Brunswick Spouse or Common-law Partner base amount.
added:
- New Brunswick Spouse or Common-law Partner base amount.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ values:
metadata:
unit: currency-CAD
period: year
label: New Brunswick Spouse or Common-law Partner base Amount
label: New Brunswick Spouse or Common-law Partner base amount
reference:
- title: Worksheet for the 2022 New Brunswick Personal Tax Credits Return
href: https://www.cchwebsites.com/content/pdf/tax_forms/ca/en/td1nbws_en.pdf#page=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ values:
metadata:
unit: currency-CAD
period: year
label: New Brunswick Spouse or Common-law Partner max Credit
label: New Brunswick Spouse or Common-law Partner max credit
reference:
- title: Worksheet for the 2022 New Brunswick Personal Tax Credits Return
href: https://www.cchwebsites.com/content/pdf/tax_forms/ca/en/td1nbws_en.pdf#page=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def formula(household, period, parameters):

spouse_income = add(household, period, ["spouse_income"])
reduced_amount = max_(p.base_amount - spouse_income, 0)
return min(p.max_credit, reduced_amount)
return min_(p.max_credit, reduced_amount)

0 comments on commit 5005fb2

Please sign in to comment.