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.

fieldtypedescription
taxYearrequiredinteger2025, 2026 or 2027
filingStatusrequired"single" | "mfj" | "mfs" | "hoh" | "qss"
assetsrequiredobject[]
22 nested fields
fieldtypedescription
idrequiredstring
activitystringwhich business or rental it belongs to; totals are reported per activity
costrequirednumber | stringcost or other basis, excluding land
placedInServicerequiredstringYYYY-MM-DD
acquiredOnstringYYYY-MM-DD, the binding written contract date — required for the special allowance
recoveryClass"3" | "5" | "7" | "10" | "15" | "20" | "25" | "39" | "27.5" | "qip"
assetClassstringRev. Proc. 87-56 class (Pub 946 Table B-1/B-2) instead of recoveryClass
businessUsePercentnumber
section179number | string§ 179 expense elected for this asset (current year)
section1245Propertyboolean15/20-year property and asset class 57.1: is it § 1245 property (asked only when § 179 is used)
section179QualifiedRealPropertyboolean
method"default" | "150DB" | "SL" | "ADS"
adsRecoveryPeriodnumber
listedboolean
passengerAutomobileboolean
sportUtilityVehicleboolean
longProductionPeriodboolean
convention"HY" | "MQ"earlier-year assets: the convention used when placed in service
section179Takenanyearlier-year assets: § 179 taken (0 if none)
specialAllowanceTakenanyearlier-year assets: special allowance taken (0 if none)
disposedOnstring
descriptionstring
section179Carryoveranyline 10: last year's line 13
section179BusinessIncomeanydollars, e.g. 50000 or "1234.56"
section179FromK1any§ 179 expense allocated on Schedules K-1
spouseSection179CostanyMFS: cost of § 179 property your spouse placed in service
mfsAllocationPercentnumber
electOutOfSpecialAllowance"3" | "5" | "7" | "10" | "15" | "20" | "25" | "39" | "27.5" | "qip"[]
elect40PercentFor2025boolean

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.