201Successful Response
Schema: SuccessEnvelope_FixedAssetResponse_
successbooleanmessagestringcodestringdataFixedAssetResponse
/api/v1/fixed-assetsCreate a new fixed asset.
Request Body:
name: Asset name, 1-255 chars (required)purchase_date: Purchase date in YYYY-MM-DD format (required)original_cost: Original cost in cents, must be >= 0 (required)description: Asset description (optional)asset_number: Asset number, max 50 chars (optional)serial_number: Serial number, max 100 chars (optional)salvage_value: Salvage value in cents, must be >= 0 and < original_cost (optional, defaults to 0)useful_life_months: Useful life in months, 1-600 (optional, defaults to 60)depreciation_method: Depreciation method - straight_line, declining_balance, double_declining, units_of_production (optional, defaults to 'straight_line')location: Asset location, max 255 chars (optional)notes: Additional notes (optional)category_id: Asset category UUID (optional)vendor_id: Vendor UUID (optional)in_service_date: Date asset was placed in service, YYYY-MM-DD format (optional)total_expected_units: Total expected units for units_of_production method, must be >= 1 (optional)Note: The asset starts in 'draft' status. Use POST /fixed-assets/{id}/place-in-service to begin depreciation.
Returns: Created fixed asset.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: FixedAssetCreate
namestringrequiredAsset name
descriptionstringAsset description
asset_numberstringUser-defined asset tracking number
serial_numberstringManufacturer serial number
purchase_datestring · daterequiredDate the asset was purchased
original_costintegerrequiredPurchase cost in cents
salvage_valueintegerEstimated salvage value in cents
useful_life_monthsintegerExpected useful life in months
depreciation_methodDepreciationMethodDepreciationMethodDepreciation calculation method
locationstringPhysical location of the asset
notesstringAdditional notes
category_idstringAsset category ID
vendor_idstringVendor the asset was purchased from
in_service_datestring · dateDate the asset was placed in service (starts depreciation)
total_expected_unitsintegerTotal expected units for units-of-production depreciation
opening_accumulated_depreciationintegerDepreciation/amortization already recognised before go-live, in cents. Counts toward accumulated depreciation but never posts a journal entry (it is already on the books).
go_live_datestring · dateFirst month DayZero posts depreciation for this asset. Required with an opening accumulated balance; earlier months are never queued.
depreciation_expense_ledger_idstringPer-asset expense account override (falls back to the category, then the system Depreciation Expense ledger)
Schema: SuccessEnvelope_FixedAssetResponse_
successbooleanmessagestringcodestringdataFixedAssetResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.