201Successful Response
Schema: SuccessEnvelope_FixedAssetResponse_
successbooleanmessagestringcodestringdataFixedAssetResponse
/api/v1/fixed-assets/{asset_id}/place-in-servicePlace an asset in service to begin depreciation.
This changes the asset status from 'draft' to 'active' and sets the in-service date from which depreciation will be calculated.
capitalization: "purchase" (default) posts DR asset / CR Accounts Payable.capitalization: "opening_balance" is for an asset already on the books
at go-live: it posts DR asset / CR accumulated (opening amount) / CR
offset_ledger_id, or no journal entry when no offset is given. Only
months from go_live_date on are scheduled, so the opening balance is
never posted twice.Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
asset_idstringrequiredSchema: PlaceInServiceRequest
in_service_datestring · daterequiredDate asset starts depreciating
capitalizationstring'purchase' (default) posts DR asset / CR Accounts Payable for the full cost. 'opening_balance' is for an asset already on the books at go-live: it posts against offset_ledger_id, or nothing at all when no offset is given.
One of: purchase, opening_balance
offset_ledger_idstringOpening-balance mode only: the account the opening entry credits (e.g. Opening Balance Equity). Omit to post no journal entry.
opening_accumulated_depreciationintegerOpening-balance mode only: depreciation/amortization recognised before go-live, in cents (overrides the asset's stored value)
go_live_datestring · dateOpening-balance mode only: first month DayZero posts (overrides the asset's stored value)
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.