tools · POST /v1/tools/compute_form_4562
compute_form_4562
Call it
bash
curl -s https://opentax.invaro.ai/v1/tools/compute_form_4562 \
-H "Authorization: Bearer $OPENTAX_KEY" \
-H "Content-Type: application/json" \
-d '{
"asOf": "2025-12-31"
}'What it does
Form 4562 — depreciation for an individual's businesses and rentals, tax years 2025-2027 (calendar year): § 179 expensing with the dollar limit, phase-out, married-filing-separately split, business income limitation and carryover; the § 168(k) special allowance (100% for property acquired after January 19, 2025; 40% in 2025 and 20% in 2026 for property acquired earlier; the TY2025 40% election; election out by class); MACRS with the printed Publication 946 tables (half-year, mid-quarter by the 40% test, mid-month for buildings; 150% DB, straight-line and ADS elections); dispositions during the year; listed property and the § 280F passenger automobile limits (2025 and 2026); and Rev. Proc. 87-56 asset classes for cost segregation (assetClass, e.g. '57.0', '00.11', '00.3'). Give EVERY asset in service: current-year assets with cost, placedInService and acquiredOn (the binding-contract date, which sets the bonus percentage); earlier assets also with convention (HY/MQ), section179Taken and specialAllowanceTaken. section179BusinessIncome is required when § 179 is elected or carried over (taxable income from actively conducted businesses including wages, without § 179, the half-SE-tax deduction or any NOL). Returns the form's lines, each asset's schedule, and the deduction by activity (Schedule C line 13, Schedule E line 18) — subtract each activity's amount from that business's income before depreciation. Situations the sources don't settle (short years, general asset accounts, 100% bonus on a passenger car, § 280F recapture, a disposition in the last recovery year) refuse with the reason. Report the lines and notes verbatim; dollars in, whole dollars out.
This is the description the MCP server hands to a model. The imperative sentences are addressed to the model; the facts about scope apply to every caller.
Inputs
Required: taxYear, filingStatus, assets. Everything else is optional and defaults are disclosed in assumptions.
| field | type | description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| taxYearrequired | integer | 2025, 2026 or 2027 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| filingStatusrequired | "single" | "mfj" | "mfs" | "hoh" | "qss" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| assetsrequired | object[] | 22 nested fields
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section179Carryover | any | line 10: last year's line 13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section179BusinessIncome | any | dollars, e.g. 50000 or "1234.56" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section179FromK1 | any | § 179 expense allocated on Schedules K-1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| spouseSection179Cost | any | MFS: cost of § 179 property your spouse placed in service | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| mfsAllocationPercent | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| electOutOfSpecialAllowance | "3" | "5" | "7" | "10" | "15" | "20" | "25" | "39" | "27.5" | "qip"[] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| elect40PercentFor2025 | boolean |
Example
No captured example for this tool yet; the call above is a valid request. The examples page has ten end-to-end pairs including two refusals.