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
Schema: SuccessEnvelope_FixedAssetResponse_
successbooleanmessagestringcodestringdataFixedAssetResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject