Apply MT 2021 income tax rebate once per return, not per spouse (#9012)#9019
Open
PavelMakarchuk wants to merge 1 commit into
Open
Apply MT 2021 income tax rebate once per return, not per spouse (#9012)#9019PavelMakarchuk wants to merge 1 commit into
PavelMakarchuk wants to merge 1 commit into
Conversation
mt_non_refundable_credits is a Person-entity variable whose adds list included mt_income_tax_rebate, a TaxUnit-entity variable ($2,500 joint). The tax-unit value was projected onto every member, so a joint couple received 2 x $2,500 = $5,000 of credit, wiping liabilities up to $5,000 instead of $2,500 and even distorting the mt_files_separately election. Made mt_income_tax_rebate a Person-entity variable that splits the joint per-return cap into $1,250 per spouse's column, so the pooled person-level credits sum to the $2,500 cap once. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9019 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 18 16 -2
=========================================
- Hits 18 16 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9012.
Problem
mt_non_refundable_creditsis a Person-entity variable withadds = gov.states.mt.tax.income.credits.non_refundable; the 2021 list includesmt_income_tax_rebate, a TaxUnit-entity variable ($2,500 joint). The tax-unit value was projected onto every member, so a joint couple received 2 × $2,500 = $5,000 of credit — wiping liabilities up to $5,000 instead of $2,500, and even flipping themt_files_separatelyelection (the doubled credit zeroed the joint path first).Per MCA 15-30-2191(1), the rebate is the lesser of the taxpayer's 2021 line-20 liability or, for a joint return, $2,500 — applied once per return.
Fix
Made
mt_income_tax_rebatea Person-entity variable that splits the per-return cap across each spouse's column: joint filers get $1,250 per spouse (using the existingSEPARATErebate amount), so the pooled person-level non-refundable credits sum to the $2,500 cap once. Single/HoH/surviving-spouse filers are unchanged. This also gives the separate-on-same-form path the correct $1,250 per-column rebate.Tests
mt_income_tax_rebate.yamlnow verifies the joint per-return cap splits to[1_250, 1_250](sums to $2,500, not $5,000).mt_income_taxby exactly $2,500 (not $5,000). Moved the three 2021 taxsim tests'mt_income_tax_rebate: 0overrides from the tax-unit to the person level to match the variable's new entity.Independent of #9011 (MT taxable Social Security); filed separately so the two can land independently.
🤖 Generated with Claude Code