Skip to content

Fix Missouri property tax credit household income - #11175

Open
DTrim99 wants to merge 3 commits into
mainfrom
mo-property-tax-credit-income
Open

DTrim99 wants to merge 3 commits into
mainfrom
mo-property-tax-credit-income

Conversation

@DTrim99

@DTrim99 DTrim99 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #10812 (state credit income audit).

Fixes #10922.

What was wrong

mo_ptc_gross_income is household income for the Missouri property tax credit (Form MO-PTS, line 8). RSMo 135.010(5) defines it as Missouri AGI "increased, where necessary," by items (a) to (e). The model left out several of those items, added back too much of a capital loss when federal AGI fell below zero, and still counted a spouse's veterans benefits when the other spouse was a 100 percent service-connected disabled veteran.

What changes

Each rule below is checked against RSMo 135.010(5), Form MO-PTS 2025 (lines 1-5 on PDF page 1, lines 6-8 on page 2), and the 2025 MO-1040 instructions for Form MO-PTS, page 18.

Rule Source Change
Military retirement benefits 135.010(5)(b), "the total amount of all other public and private pensions and annuities"; MO-PTS line 3 takes pensions "not included in Line 1"; Missouri AGI subtracts them on Form MO-A, Part 1, line 10 Add back military_retirement_pay, the input the model subtracts from Missouri AGI (agi_subtractions.yaml).
Interest on U.S. obligations 135.010(5)(e); MO-PTS line 3, "Include tax exempt interest from MO-A, Part 1, Line 8" (MO-A page 1) Add us_govt_interest_person, the amount Missouri AGI subtracts.
Tax-exempt retirement account distributions 135.010(5)(b); instructions page 18, line 3: "Form(s) 1099-R - Total amount before deduction not included on Form MO-1040, Line 6" Add tax_exempt_retirement_distributions (Roth IRA, 401(k), 403(b) and SEP).
Public assistance 135.010(5)(c), "public relief, public assistance ... received in cash"; instructions page 18, line 6: "This includes any payments received from the government" Add general_assistance and mo_ssp (replacing the commented-out mo_state_supplement) to public_assistance_types.yaml.
Nonbusiness losses 135.010(5)(d), "No deduction being allowed for losses not incurred in a trade or business"; instructions page 18, line 7: "Losses from Federal Form 1040 or 1040-SR, Schedule F and Schedule C are considered business losses and should not be included here"; MO-PTS line 7 includes capital losses Besides the net capital loss deduction, add back the deducted part of rental, farm rental and estate or trust losses, listed in a new parameter nonbusiness_loss_sources.yaml. When section 461(l) disallows part of these losses, only the deducted share is added back. Schedule C and F losses stay deducted, and so do partnership and S corporation losses: a partner's or shareholder's share keeps the entity's trade-or-business character (IRC 702(b), 1366(b)).
Losses below zero federal AGI (#10922) Instructions page 18, line 7: "The portion of a nonbusiness loss that was effectively ignored by the disallowance of FAGI below zero ($0) should not be added back ... Only the portion of the nonbusiness loss that actually reduced FAGI down to $0 ... must be added back", with a five-row table; 2024 instructions, page 19: "Complete Line 7 only if nonbusiness losses reduced the amount reported on Form MO-PTS, Line 1" In the years federal_agi.negative_floor_applies is true (2024 on), line 7 is min(losses, max(0, federal AGI + losses)). This gives the department's line 7 amount in all five table rows. Through 2023, Missouri AGI can be negative and the whole loss is added back.
Line 3 items of a dependent 135.010(1) and (5): "income" is the claimant's, and the spouse's on a combined return; MO-PTS line 3 takes amounts "not included on Form MO-1040, Line 6", the claimant's own return military_retirement_pay, us_govt_interest_person, tax_exempt_retirement_distributions, tax_exempt_pension_income and tax_exempt_interest_income count only for the head and spouse, with the same not_dependent mask line 7 uses.
Veterans benefits of a 100 percent disabled veteran's household 135.010(5)(a): veterans payments and benefits count "unless the claimant is a one hundred percent service-connected, disabled veteran or a spouse of a one hundred percent service-connected, disabled veteran"; instructions page 18, line 5: "do not include veteran payments and benefits as household income on Form MO-PTS" When the head or spouse is is_fully_disabled_service_connected_veteran, no member's veterans_benefits count. Otherwise a 100 percent veteran's own benefits still don't count, as before.

The variable's references now include the 2025 form, instructions and Form MO-A with page anchors. The existing 2021 references stay.

Source-conflict candidates

RSMo 135.010 doesn't define "trade or business". A rental activity can be a trade or business in federal usage, while the department treats only Schedule C and F losses as business losses. For rental, farm rental and estate losses the code follows the department's line, so this PR records us-mo:property-tax-credit-nonbusiness-loss in source_conflicts/candidates.yaml as a gap-fill (state unreviewed). Partnership and S corporation losses are not part of it: they keep the entity's trade-or-business character, and no Missouri source treats them as nonbusiness. If the ruling goes the other way, removing entries from nonbusiness_loss_sources.yaml is enough.

Three more readings are recorded the same way (all unreviewed, from 2021):

  • us-mo:property-tax-credit-child-support: the form counts child support on line 6, but it is not among the statute's items (a) to (e). The model follows the form.
  • us-mo:property-tax-credit-veteran-exception-scope: how far the 135.010(5)(a) "unless" clause reaches (see the open questions below).
  • us-mo:property-tax-credit-pension-excludable-cost: the statute's "total amount" of pensions against the line 3 instruction that excludes their cost. The model follows the statute, for tax_exempt_retirement_distributions too.

Who is affected

Missouri property tax credit claimants (65 or older, 100 percent disabled, or 60 or older receiving surviving spouse Social Security). The credit is refundable.

  • Household income rises and the credit falls or ends for claimants with military retired pay, Treasury or savings bond interest, Roth or other tax-exempt retirement account distributions, general assistance or Missouri state supplementary payments, or rental, farm rental or estate losses.
  • Household income falls and the credit rises, from 2024, for claimants whose capital or other nonbusiness losses push federal AGI below zero.
  • Household income falls and the credit rises for claimants whose dependent has military retired pay, U.S. obligation interest, or tax-exempt pensions, retirement distributions or interest. Before, a dependent's amounts counted.
  • Household income falls and the credit rises for couples where one spouse is a 100 percent service-connected disabled veteran and the other receives veterans benefits.

Tests

Moved from #10812 (mo_ptc_gross_income_audit.yaml) into mo_ptc_gross_income.yaml, without the audit framing: military retirement benefits (15,000 to 35,000), U.S. obligation interest (20,000 to 23,000), general assistance (20,000 to 22,400), rental loss (14,000 to 20,000), tax-exempt 401(k) distribution (20,000 to 24,000), and the spouse of a 100 percent disabled veteran (26,000 to 20,000).

Added to mo_ptc_gross_income.yaml:

  • Missouri state supplementary payments (21,200).
  • Estate and farm rental losses added back while a partnership loss stays deducted (18,000), and Schedule C and F losses left deducted (16,000).
  • The model adds the whole capital loss deduction to Missouri property tax credit income when federal AGI falls below zero #10922 cases in 2025: a capital loss taking federal AGI to -2,000 adds back 1,000 (15,000); a loss that takes federal AGI to exactly zero adds back in full (15,000); rental and capital losses together below zero add back only 1,000 (15,000).
  • The same capital loss in 2023, when Missouri AGI keeps the negative amount, gives the same 15,000 through line 1 of -2,000 and a full 3,000 add-back.
  • A 400,000 partnership loss in 2023 is a business loss, so nothing is added back (-269,000).
  • A 400,000 rental loss in 2023, where section 461(l) allows 289,000: only the deducted 289,000 is added back (20,000). The claimant holds 10,000 in the bank, so SSI is zero on their own facts.
  • A dependent grandchild's 600 of savings bond interest does not count (20,000).
  • The spouse as the 100 percent disabled veteran (20,000), and a couple with no such veteran whose benefits both count (36,000).

Added to mo_property_tax_credit.yaml: the #10922 renter end to end, household income 15,000 and a 709 credit, the department's 2025 chart cell for 14,901-15,200 and 726-750.

No existing expected value changed. The existing 2021 case (head is a 100 percent disabled veteran, child has Social Security, SSI and TANF) still gives 29,000.

Open questions from the review (registered as candidates, behavior not changed here)

  • The "unless" clause and Social Security. Read literally, the clause in 135.010(5)(a) follows "Social Security, railroad retirement, and veterans payments and benefits", so it could exempt all three for a 100 percent disabled veteran or spouse. The next sentence says only that such a veteran "shall not be required to list veterans payments and benefits", and the department's form has no exception on line 2 (Social Security) or line 4 (railroad retirement); line 5 alone says to leave the benefits out. The model keeps counting Social Security.
  • Excludable cost of pensions. Line 3 instructions say "(Do not include amount of excludable costs of pensions or annuities.)", while 135.010(5)(b) counts "the total amount" of pensions and annuities. The model adds tax_exempt_pension_income in full, following the statute, and now adds tax_exempt_retirement_distributions in full too. Under the department's reading the contribution basis of a Roth distribution, or the nondeductible basis of a traditional IRA distribution, would be left out. No input separates basis from earnings.

Not in this PR

The other Missouri items in the #10812 audit:

After the review fixes, tested locally: mo_ptc_gross_income.yaml (19), the Missouri property tax credit directory (76), test_source_conflicts.py (251) and the military retirement readers and parameter YAML key checks (38) all pass. Before them, tested on Modal: run w1-mo-b, 253/253 passed (the Missouri test folder, every partner test, and five code-health checks: source conflicts, parameter YAML keys, reference URLs, concatenated reference URLs and military retirement readers).

🤖 Generated with Claude Code

@DTrim99
DTrim99 requested a review from hua7450 November 20, 2026 00:13

@hua7450 hua7450 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, David. The line 7 floor reproduces all five rows of the department's table (2025 MO-1040 instructions), which also settles that nonbusiness losses are stacked last. Military retired pay and U.S. obligation interest are each added back once against Missouri AGI, mo_ssp and general_assistance add no cycle, and the new expected values check by hand. Three fixes before I approve.

Before merge

  1. Partnership and S corporation losses are business losses. nonbusiness_loss_sources.yaml lists partnership_s_corp_income, so a K-1 ordinary business loss is added back on line 7. RSMo 135.010(5)(d) adds back only "losses not incurred in a trade or business", and the instructions define a nonbusiness loss as one that "did not result from a trade or business" (same page). A partner's or shareholder's share keeps the entity's trade-or-business character (IRC 702(b), 1366(b)), and no Missouri source treats Schedule E business losses as nonbusiness. Please drop that entry, update the two cases that use it (mo_ptc_gross_income.yaml lines 119 and 215), and narrow the candidate entry to rental, farm rent and estate losses, which are a reasonable fill.
  2. A dependent's line 3 items now count. military_retirement_pay, us_govt_interest_person and tax_exempt_retirement_distributions are summed over every tax-unit member, while a dependent's Missouri AGI is zeroed. "Income" is the claimant's, and the spouse's on a combined return (135.010(1), (5)). MO-PTS brings in minor children only on lines 2 and 6; line 3 measures amounts "not included on Form MO-1040, Line 6", which is the claimant's own return. So a grandchild's 600 of savings bond interest counts while the same child's 600 of bank interest does not. Please apply the not_dependent mask you already use on line 7 to these three sources. tax_exempt_pension_income and tax_exempt_interest_income have the same problem on main, so masking them too keeps line 3 consistent.
  3. Register the conflicts the PR body names. CONTRIBUTING ("Source conflicts", step 1) asks for a source_conflicts/candidates.yaml entry when a PR takes a reading. Three are missing: child support (counted per form line 6, but not listed in 135.010(5)); the excludable cost of pensions (5(b) counts "the total amount", while the line 3 instruction excludes it), which now also covers tax_exempt_retirement_distributions; and how far the 5(a) "unless" clause reaches. The new entry also needs prs:.

Optional

  • Line 7 tests. Add one case where a Schedule C loss and a capital loss push federal AGI below zero, and one with a dependent's rental loss. A one-line comment that nonbusiness losses are stacked last would also help.
  • public_assistance_types.yaml still says unit: currency-USD. Since the file is already open, it could change to unit: list.

@DTrim99
DTrim99 force-pushed the mo-property-tax-credit-income branch from c15af23 to a2ac762 Compare November 20, 2026 21:59
@DTrim99

DTrim99 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks, Ziming. Fixed in a2ac762, rebased on main. I updated the PR body to match.

Fixed (your "Before merge" items)

  1. Partnership and S corporation losses stay deducted.

    • partnership_s_corp_income is out of nonbusiness_loss_sources.yaml, with a comment citing IRC 702(b) and 1366(b).
    • The two cases that used it keep their inputs:
      • The estate, farm rental and partnership case is now 18,000: AGI 16,500 + 1,000 + 500, with the partnership loss left deducted.
      • The 2023 section 461(l) partnership case is now −269,000, with nothing added back.
    • A new 2023 rental-loss case keeps the 461(l) deducted-share code tested: −269,000 + 289,000 = 20,000. The claimant holds 10,000 in the bank, so SSI is zero on their own facts rather than forced.
    • The us-mo:property-tax-credit-nonbusiness-loss entry now covers rental, farm rental and estate losses only, and has prs:.
  2. A dependent's line 3 items no longer count. The not_dependent mask from line 7 now covers all five line 3 sources:

    • military_retirement_pay
    • us_govt_interest_person
    • tax_exempt_retirement_distributions
    • tax_exempt_pension_income
    • tax_exempt_interest_income

    A new case gives a dependent grandchild 600 of savings bond interest and gets 20,000, against 20,600 before. No existing case moved, because no Missouri test gives a dependent one of these sources.

  3. Three more readings are registered in source_conflicts/candidates.yaml, all unreviewed from 2021 and with prs:. Each has a # Candidate: comment at the deciding line.

    • us-mo:property-tax-credit-child-support: the form's line 6 counts child support, which is not in 135.010(5). Marked conflicting-source, since the model follows the form.
    • us-mo:property-tax-credit-veteran-exception-scope: the reach of the 5(a) "unless" clause. Marked gap-fill.
    • us-mo:property-tax-credit-pension-excludable-cost: 5(b) "the total amount" against the line 3 instruction that excludes the cost. Marked follows: statute, and it also covers tax_exempt_retirement_distributions.

    The changelog fragment now matches.

Skipped (optional, not in this round):

  • the extra line 7 tests and the stacking comment;
  • unit: list on public_assistance_types.yaml.

Verification:

  • After the rebase, the Missouri property tax credit directory (76) and the source-conflict tests (251) pass locally. Before it, the military retirement readers and parameter YAML key checks passed too.
  • An independent check confirmed:
    • the new 461(l) case fails if that code is removed;
    • each masked source moves a dependent's amount out;
    • every quote matches RSMo 135.010(5), the 2025 MO-PTS and the 2025 MO-1040 instructions, p. 18.

@DTrim99
DTrim99 requested a review from hua7450 November 20, 2026 22:00

@hua7450 hua7450 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, David. All three items are fixed. Partnership and S corporation losses stay deducted, and the two reworked cases check by hand at 18,000 and −269,000. The not_dependent mask covers all five line 3 sources, and the savings-bond grandchild case gives 20,000. The three new entries quote RSMo 135.010(5), the 2025 MO-PTS and the instructions accurately, and every entry has prs:. One register fix before I approve.

Before merge

  1. us-mo:property-tax-credit-veteran-exception-scope is labelled gap-fill, but its reading says the code departs from the statute. The legend at the top of candidates.yaml uses gap-fill for a statute that is silent. This entry's statute reading says "Read literally, the clause follows all three kinds of benefits", and the code counts Social Security, which is conflicting-source by that legend. Please either:

    • set follows: conflicting-source, or
    • give both statutory readings and say the department breaks the tie, as us-la:dependent-exemption-of-a-claimable-filer-with-filing-exception does for its gap-fill. Under the last-antecedent rule, the "unless" clause modifies only "veterans payments and benefits", and the next sentence ("shall not be required to list veterans payments and benefits") supports that reading.

    The entry stays unreviewed either way; the project lead rules on the substance.

Optional

  • The new 2023 rental-loss case. Section 461(l) limits only trade or business losses, which the PR now keeps deducted, so a 461(l)-limited rental loss is something the model can produce but federal law can't. A comment saying the case exercises the model's 461(l) share code would help. Also, its SSI is zero because of the $10,000 bank balance, not the pension the file header credits.
  • From the first round, still open: the extra line 7 tests and the stacking comment, and unit: list on public_assistance_types.yaml.
  • Open PR 10722 edits both of this PR's Missouri files, so whichever merges second will need to reconcile them.

DTrim99 and others added 3 commits November 20, 2026 20:56
Household income for the Missouri property tax credit (Form MO-PTS) now
adds back military retirement benefits, interest on U.S. obligations and
tax-exempt retirement account distributions that Missouri AGI leaves out,
counts general assistance and Missouri state supplementary payments as
public assistance, and adds back rental, farm rental, estate and
partnership losses with the net capital loss deduction (RSMo 135.010(5)).

From 2024, when a negative federal AGI enters Missouri AGI as zero, only
the part of a nonbusiness loss that brought federal AGI down to zero is
added back (#10922). When the claimant or spouse is a 100 percent
service-connected disabled veteran, no member's veterans benefits count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ependents' line 3 items, register three Missouri readings

Drop partnership and S corporation losses from the nonbusiness loss
add-back list, since they keep the entity's business character and
stay deducted. Count Form MO-PTS line 3 pensions, retirement
distributions and exempt interest only for the claimant and spouse,
not dependents. Register the child support, pension excludable cost
and veteran exception scope readings in the source conflicts file.
Tests and the changelog fragment are updated to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h readings

Record the literal and last-antecedent readings of the RSMo 135.010
veteran exception in source_conflicts/candidates.yaml, note that the
department's form breaks the tie, and clarify the rental-loss test
comments on section 461(l) and the 2023 SSI case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DTrim99
DTrim99 force-pushed the mo-property-tax-credit-income branch from a2ac762 to ac797d3 Compare November 21, 2026 01:58
@DTrim99

DTrim99 commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks, Ziming. Fixed in ac797d3, rebased on main.

Fixed (your "Before merge" item)

  1. us-mo:property-tax-credit-veteran-exception-scope now gives both statutory readings. I took your second option. It follows us-la:dependent-exemption-of-a-claimable-filer-with-filing-exception, stays gap-fill and unreviewed, and leaves the substance to the project lead.
    • Reading one: taken literally, the 135.010(5)(a) "unless" clause covers all three kinds of benefits (Social Security, railroad retirement, and veterans payments and benefits).
    • Reading two: under the last-antecedent rule it modifies only "veterans payments and benefits", and the next sentence ("shall not be required to list veterans payments and benefits") supports that.
    • The tie: the department applies the exception only on MO-PTS line 5, which is reading two and what the code does.
    • Both quotes match revisor.mo.gov word for word.

Also done (your optional item): the 2023 rental-loss case now says that section 461(l) limits only trade or business losses, so the case exercises the model's 461(l) share code. Its header credits the $10,000 bank balance, not the pension, for zero SSI. Without that balance, SSI would be $10,968. No inputs or expected values changed.

Skipped (optional, not in this round): the extra line 7 tests and stacking comment, and unit: list. On #10722: whichever PR merges second will reconcile the two Missouri files.

Verification: after the rebase, the Missouri property tax credit directory (76) and the source-conflict tests (251) pass locally. An independent check confirmed the entry against the Louisiana pattern and the legend.

@DTrim99
DTrim99 requested a review from hua7450 November 21, 2026 02:24

@hua7450 hua7450 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, David. The veteran-exception entry now gives both readings of 135.010(5)(a), the literal one and the last-antecedent one the next sentence supports, and it says the department breaks the tie, so gap-fill now fits. It stays unreviewed with no ruling recorded. The rental-loss case comments now explain the 461(l) scenario and the SSI result. Nothing else changed. Approving.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The model adds the whole capital loss deduction to Missouri property tax credit income when federal AGI falls below zero

2 participants