Fixed Assets
Fixed assets represent long-term tangible property (equipment, vehicles, furniture, etc.) that depreciates over time. This feature requires the Fixed Assets add-on.
Asset Categories
Organize assets by category with default depreciation settings:
bash
curl -X POST "https://api.ondayzero.com/api/v1/fixed-assets/categories" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{
"name": "Computer Equipment",
"useful_life_months": 36,
"depreciation_method": "straight_line"
}'Seed standard categories (furniture, vehicles, equipment, etc.):
bash
curl -X POST "https://api.ondayzero.com/api/v1/fixed-assets/categories/seed-defaults" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"Create a Fixed Asset
bash
curl -X POST "https://api.ondayzero.com/api/v1/fixed-assets" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{
"name": "MacBook Pro M4",
"category_id": "CATEGORY_UUID",
"cost_cents": 349900,
"purchase_date": "2026-03-01"
}'
cost_centsis in cents.349900= $3,499.00.
List Fixed Assets
bash
curl "https://api.ondayzero.com/api/v1/fixed-assets?status=active" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"| Parameter | Type | Description |
|---|---|---|
status |
string | active, disposed, fully_depreciated |
category_id |
UUID | Filter by asset category |
Place in Service
Start depreciation on an asset:
bash
curl -X POST "https://api.ondayzero.com/api/v1/fixed-assets/{asset_id}/place-in-service" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{"service_date": "2026-03-15"}'Depreciation
View Schedule
bash
curl "https://api.ondayzero.com/api/v1/fixed-assets/{asset_id}/depreciation-schedule" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"Preview Period Depreciation
See what depreciation entries would be generated for a specific period:
bash
curl "https://api.ondayzero.com/api/v1/fixed-assets/depreciation-preview?period_date=2026-03-31" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"Run Depreciation
Post depreciation journal entries for a period:
bash
curl -X POST "https://api.ondayzero.com/api/v1/fixed-assets/run-depreciation" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{"period_date": "2026-03-31"}'Dispose an Asset
Record the disposal (sale, write-off, etc.) of an asset:
bash
curl -X POST "https://api.ondayzero.com/api/v1/fixed-assets/{asset_id}/dispose" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{
"disposal_date": "2026-06-15",
"proceeds_cents": 100000,
"reason": "Sold to employee"
}'Disposal automatically calculates gain/loss and creates the corresponding journal entries.