Finance
Units-of-production depreciation API
Returns a units-of-production (activity-based) depreciation schedule from a per-unit rate and units used each period, capping at salvage. Answers 'What is the units-of-production depreciation?', 'How much depreciation per unit?'.
Price$0.04per request
MethodPOST
Route/v1/finance/depreciation-units
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
depreciationunits-of-productionactivityaccountingscheduleassetusagetax
API URL
Integration docshttps://x402.hexl.dev/v1/finance/depreciation-unitsExample request
{
"cost": 50000,
"salvage": 5000,
"totalUnits": 100000,
"unitsPerPeriod": [
20000,
30000,
25000,
25000
]
}Example response
{
"method": "units-of-production",
"cost": 50000,
"salvage": 5000,
"totalUnits": 100000,
"depreciableBase": 45000,
"ratePerUnit": 0.45,
"totalUnitsUsed": 100000,
"totalDepreciation": 45000,
"schedule": [
{
"year": 1,
"unitsUsed": 20000,
"cumulativeUnits": 20000,
"depreciationExpense": 9000,
"accumulatedDepreciation": 9000,
"bookValue": 41000
},
{
"year": 2,
"unitsUsed": 30000,
"cumulativeUnits": 50000,
"depreciationExpense": 13500,
"accumulatedDepreciation": 22500,
"bookValue": 27500
},
{
"year": 3,
"unitsUsed": 25000,
"cumulativeUnits": 75000,
"depreciationExpense": 11250,
"accumulatedDepreciation": 33750,
"bookValue": 16250
},
{
"year": 4,
"unitsUsed": 25000,
"cumulativeUnits": 100000,
"depreciationExpense": 11250,
"accumulatedDepreciation": 45000,
"bookValue": 5000
}
],
"interpretation": "Depreciation tracks usage at 0.45 per unit; fully depreciated to salvage."
}Input schema
{
"type": "object",
"required": [
"cost",
"totalUnits",
"unitsPerPeriod"
],
"properties": {
"cost": {
"type": "number",
"examples": [
50000
]
},
"salvage": {
"type": "number",
"examples": [
5000
]
},
"totalUnits": {
"type": "number",
"examples": [
100000
]
},
"unitsPerPeriod": {
"type": "array",
"items": {
"type": "number"
},
"examples": [
[
20000,
30000,
25000,
25000
]
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}