Implement the spousal tax credit in TaxCanadaJurisdiction and canada.constants. See this CRA explainer for spousal tax credit rules and amounts.
Calculating this credit requires first applying all deductions (separately for each jurisdiction) and determining the credit based on income net of deductions. This is a typical scenario for Canadian taxes, where credits are applied to post-deduction (pre-credit) net income. This is not the same as Person.net_income, which does not include deductions or taxable income from Accounts.
Since this is how tax credits are ordinarily calculated in Canada, it may be necessary to redesign TaxCanadaJurisdiction.tax_credit method to receive net_income (as a {Person: Money} dict). Implementing the spousal tax credit will be relatively easy once that's done.
Implement the spousal tax credit in
TaxCanadaJurisdiction
andcanada.constants
. See this CRA explainer for spousal tax credit rules and amounts.Calculating this credit requires first applying all deductions (separately for each jurisdiction) and determining the credit based on income net of deductions. This is a typical scenario for Canadian taxes, where credits are applied to post-deduction (pre-credit) net income. This is not the same as
Person.net_income
, which does not include deductions or taxable income fromAccount
s.Since this is how tax credits are ordinarily calculated in Canada, it may be necessary to redesign
TaxCanadaJurisdiction.tax_credit
method to receivenet_income
(as a{Person: Money}
dict). Implementing the spousal tax credit will be relatively easy once that's done.