calculate_total_tax
Calculate combined federal and state tax liability with a single call, returning federal breakdown, state tax, and combined totals for complete tax planning.
Instructions
Calculate combined federal + state tax for a complete picture of total tax liability. Returns federal breakdown, state tax, and combined totals in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxYear | Yes | Tax year (2024, 2025, or 2026) | |
| w2Income | No | W-2 wage income | |
| stateCode | Yes | Two-letter state code (e.g., 'CA', 'TX', 'NY') | |
| dependents | No | Legacy dependent count for nonrefundable CTC only | |
| grossIncome | Yes | Total gross income including supplied capital gains, qualified dividends, Social Security benefits, and gross retirement distributions | |
| hasForm2555 | No | ||
| capitalGains | No | Long-term capital gains | |
| earnedIncome | No | Schedule 8812 earned income for ACTC | |
| filingStatus | Yes | Filing status | |
| taxExemptInterest | No | ||
| earnedIncomeCredit | No | EITC used by 3-or-more-child ACTC method | |
| itemizedDeductions | No | Total itemized deductions | |
| qualifiedDividends | No | Qualified dividends included in gross income | |
| netInvestmentIncome | No | Total net investment income used for NIIT | |
| capitalGainsLongTerm | No | Whether capital gains are long-term (default: true) | |
| selfEmploymentIncome | No | Self-employment income | |
| aotcRefundableAllowed | No | ||
| otherDependentsForOdc | No | Verified dependents for ODC | |
| shortTermCapitalGains | No | Short-term capital gain or loss | |
| aboveTheLineDeductions | No | Above-the-line deductions | |
| socialSecurityBenefits | No | ||
| qualifiedBusinessIncome | No | QBI for Section 199A deduction | |
| qualifiedBusinessIsSstb | No | ||
| retirementDistributions | No | ||
| socialSecurityTaxesPaid | No | Payroll-tax amount for 3-or-more-child ACTC method | |
| qualifiedBusinessW2Wages | No | ||
| qualifyingChildrenForCtc | No | Verified CTC/ACTC qualifying children | |
| aotcStudentQualifiedExpenses | No | ||
| longTermCapitalLossCarryover | No | Prior-year long-term capital loss carryover | |
| shortTermCapitalLossCarryover | No | Prior-year short-term capital loss carryover | |
| qualifiedBusinessPropertyBasis | No | ||
| taxableRetirementDistributions | No | ||
| lifetimeLearningQualifiedExpenses | No | ||
| marriedFilingSeparatelyLivedWithSpouse | No | ||
| earlyRetirementDistributionSubjectToPenalty | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| error | No | ||
| isError | Yes |