API for managing fixed assets in the accounting system
Method | Endpoint | Description |
---|---|---|
POST | /fixed-assets | Create a new fixed asset |
GET | /fixed-assets | Retrieve a list of fixed assets with filtering |
GET | /fixed-assets/:fixed_asset_id | Retrieve a specific fixed asset by ID |
PATCH | /fixed-assets/:fixed_asset_id | Update an existing fixed asset |
DELETE | /fixed-assets/:fixed_asset_id | Delete a fixed asset |
Property | Type | Description |
---|---|---|
title | string | Title/name of the fixed asset |
placed_in_service | integer | Timestamp when the asset was placed in service |
cost | number | Original cost of the fixed asset |
salvage_value | number | Estimated salvage value of the asset |
business_use | number | Percentage of business use (0-100) |
company_id | string | Company ID that owns the asset |
Code | Description |
---|---|
API_KEY_REQUIRED | API key is missing from request |
INVALID_API_KEY | Provided API key is invalid |
ACCESS_DENIED | API key does not have access to this resource |
RATE_LIMIT_EXCEEDED | Rate limit exceeded |
INVALID_REQUEST | Request data is invalid |
VALIDATION_FAILED | Request validation failed |
COMPANY_NOT_FOUND | Specified company not found |
INTERNAL_ERROR | Internal server error |