curl --request GET \
--url https://api.example.com/api/v1/tax-home-analysis{
"year": 2025,
"available": true,
"netBenefit": 1250000,
"roi": 4.2,
"taxSavings": 1550000,
"costOfMaintaining": 300000,
"scenarioA": {
"label": "With Tax Home",
"taxableIncome": 2340000,
"stipends": 2955000,
"deductionMethod": "standard",
"appliedDeduction": 1500000,
"federalTax": 280000,
"stateTax": 0,
"seTax": 0,
"totalTax": 280000,
"takeHome": 5015000
},
"scenarioB": {
"label": "Itinerant (No Tax Home)",
"taxableIncome": 5295000,
"stipends": 0,
"deductionMethod": "standard",
"appliedDeduction": 1500000,
"federalTax": 980000,
"stateTax": 0,
"seTax": 0,
"totalTax": 980000,
"takeHome": 4315000
},
"costBreakdown": {
"rent": 144000,
"utilities": 60000,
"insurance": 36000,
"return_trips": 30000,
"visit_mileage": 30000
},
"visitMileage": {
"miles": 420,
"costCents": 30000,
"ratePerMile": 70
}
}
Cost-benefit analysis comparing keeping your tax home vs. going itinerant.
curl --request GET \
--url https://api.example.com/api/v1/tax-home-analysis{
"year": 2025,
"available": true,
"netBenefit": 1250000,
"roi": 4.2,
"taxSavings": 1550000,
"costOfMaintaining": 300000,
"scenarioA": {
"label": "With Tax Home",
"taxableIncome": 2340000,
"stipends": 2955000,
"deductionMethod": "standard",
"appliedDeduction": 1500000,
"federalTax": 280000,
"stateTax": 0,
"seTax": 0,
"totalTax": 280000,
"takeHome": 5015000
},
"scenarioB": {
"label": "Itinerant (No Tax Home)",
"taxableIncome": 5295000,
"stipends": 0,
"deductionMethod": "standard",
"appliedDeduction": 1500000,
"federalTax": 980000,
"stateTax": 0,
"seTax": 0,
"totalTax": 980000,
"takeHome": 4315000
},
"costBreakdown": {
"rent": 144000,
"utilities": 60000,
"insurance": 36000,
"return_trips": 30000,
"visit_mileage": 30000
},
"visitMileage": {
"miles": 420,
"costCents": 30000,
"ratePerMile": 70
}
}
{
"year": 2025,
"available": true,
"netBenefit": 1250000,
"roi": 4.2,
"taxSavings": 1550000,
"costOfMaintaining": 300000,
"scenarioA": {
"label": "With Tax Home",
"taxableIncome": 2340000,
"stipends": 2955000,
"deductionMethod": "standard",
"appliedDeduction": 1500000,
"federalTax": 280000,
"stateTax": 0,
"seTax": 0,
"totalTax": 280000,
"takeHome": 5015000
},
"scenarioB": {
"label": "Itinerant (No Tax Home)",
"taxableIncome": 5295000,
"stipends": 0,
"deductionMethod": "standard",
"appliedDeduction": 1500000,
"federalTax": 980000,
"stateTax": 0,
"seTax": 0,
"totalTax": 980000,
"takeHome": 4315000
},
"costBreakdown": {
"rent": 144000,
"utilities": 60000,
"insurance": 36000,
"return_trips": 30000,
"visit_mileage": 30000
},
"visitMileage": {
"miles": 420,
"costCents": 30000,
"ratePerMile": 70
}
}
{
"available": false,
"reason": "No tax home set up"
}
taxSavings - costOfMaintaining in cents. Positive means keeping the tax home saves money.(taxSavings / costOfMaintaining) * 100. Shows “Free benefit” when cost is $0.