Catalog/acct-depreciation-recapture

Finance

Depreciation recapture on sale API

Splits the gain on a depreciated asset sale into §1245/§1250 ordinary-income recapture, unrecaptured §1250 gain, and §1231 capital gain. Answers 'How much depreciation recapture do I owe?', 'What part of my gain is ordinary income?'.

Price$0.06per request
MethodPOST
Route/v1/finance/depreciation-recapture
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
depreciationrecapturesection-1245section-1250capital-gaintaxasset-saleaccounting
API URLhttps://x402.hexl.dev/v1/finance/depreciation-recapture
Integration docs
Example request
{
  "cost": 50000,
  "accumulatedDepreciation": 30000,
  "salePrice": 35000,
  "assetType": "1245"
}
Example response
{
  "assetType": "§1245",
  "cost": 50000,
  "accumulatedDepreciation": 30000,
  "adjustedBasis": 20000,
  "salePrice": 35000,
  "totalGainOrLoss": 15000,
  "ordinaryIncomeRecapture": 15000,
  "capitalGain": 0,
  "isLoss": false,
  "interpretation": "Of the $15000 gain, $15000 is ordinary-income recapture and $0 is §1231 capital gain."
}
Input schema
{
  "type": "object",
  "required": [
    "cost",
    "accumulatedDepreciation",
    "salePrice"
  ],
  "properties": {
    "cost": {
      "type": "number",
      "examples": [
        50000
      ]
    },
    "accumulatedDepreciation": {
      "type": "number",
      "examples": [
        30000
      ]
    },
    "salePrice": {
      "type": "number",
      "examples": [
        35000
      ]
    },
    "assetType": {
      "type": "string",
      "enum": [
        "1245",
        "1250"
      ],
      "examples": [
        "1245"
      ]
    },
    "straightLineDepreciation": {
      "type": "number",
      "examples": [
        120000
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}