Compliance Evaluate State Residency
compliance_evaluate_state_residencyEvaluates an individual’s statutory residency, domicile nexus, and state tax liability across all US states and DC, with Canada federal residency and departure-tax checks.
Instructions
Evaluate individual statutory residency, domicile nexus, and state tax liability across all 50 US states and District of Columbia. jurisdiction 'CAN' or 'Canada' ('CA' is California) evaluates Canada federal residency instead (factual, deemed sojourner at 183 days, part-year emigrant or non-resident) and estimates federal Part I tax in CAD (federal_agi is taxable income, days_in_state days in Canada, tax years 2019-2026); event='emigration' adds the departure tax estimate (ITA s. 128.1).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jurisdiction": "<jurisdiction>",
"days_in_state": "<days_in_state>"
},
"name": "compliance_evaluate_state_residency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | ||
| event | No | Canada (CAN) only: 'emigration' for the year an individual leaves Canada. Adds the deemed disposition on departure (ITA s. 128.1(4)(b)), the estimated departure tax and the T1161 reporting test (s. 128.1(9)). | |
| tax_year | No | ||
| dependents | No | Number of dependents claimed. Applies per-dependent exemptions for KS, MS, OH, GA and UT where a sourced amount exists. Years without one raise when greater than 0. | |
| spouse_agi | No | The spouse's part of federal_agi on a married-filing-jointly return. Used only for Mississippi combined returns, where the filing-status exemption and standard deduction are split evenly between the spouses. Ignored for other states. | |
| federal_agi | No | ||
| is_domiciled | No | ||
| jurisdiction | Yes | ||
| capital_gains | No | Net capital gain. Maryland applies a 2% surtax on this amount when federal AGI exceeds $350,000 in tax years 2025-2028 (Act exclusions not modeled). Washington uses this amount for its capital gains excise tax (after the year's deduction, and from 2025 the additional tier on gains over $1,000,000). Ignored for other states. | |
| days_in_state | Yes | ||
| filing_status | No | single | |
| spouse_itemizes | No | Married filing separately only. True when the spouse itemizes on their separate return. Oregon's standard deduction is then zero (ORS 316.695(1)(c)(F)(i)). A state whose married-filing-separately deduction is the federal standard deduction is also zero (IRC 63(c)(6)(A)), including Utah's credit base. South Carolina tax years 2026 and later do not adopt the federal deduction and ignore this input. | |
| retirement_income | No | ||
| itemized_deductions | No | Utah only. Federal itemized deductions excluding state income tax, which Utah adds back; that add-back is not computed. | |
| emigration_properties | No | Canada emigration only: the property owned immediately before leaving, each with category, fair_market_value and adjusted_cost_base in CAD. | |
| has_active_driver_license | No | ||
| maintains_permanent_abode | No | ||
| spouse_has_no_gross_income | No | Married filing separately only. True when the spouse has no gross income and is not anyone's dependent. Michigan then allows one additional personal exemption (MCL 206.30(2)(a)). | |
| months_resident_in_last_120 | No | Canada emigration only: months resident in Canada in the 120 months before leaving. 60 or fewer applies the short-term resident exclusion (ITA s. 128.1(4)(b)(iv)) to property owned on arrival or inherited since. | |
| has_active_voter_registration | No | ||
| has_active_homestead_exemption | No | ||
| telecommuting_days_out_of_state | No | ||
| spouse_wa_capital_gains_deduction | No | Married filing separately, Washington only. The part of that year's standard deduction the spouse claims on their separate return. This return's deduction is the year's amount minus this input (RCW 82.87.060(1)). Must be at least 0 and at most that year's amount. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||