Fixed AssetsUpdate a fixed asset type

Update a fixed asset type

PATCH/firm-partners/workspace/fixed-asset-types/{uuid}

Changes a type's name, accounts or defaults. Send only the fields to change.

Same fields and account rules as create. Only the accounts you change are checked, so a type that keeps an account that has since been made inactive can still be renamed. Changing defaults does not change the assets that already have the type.

HMAC signature only

Headers

count-workspace-iduuidrequired

UUID of the client workspace to act on. It must be one of your firm's client workspaces (or the firm's own workspace) and within the API key's client workspaces.

Path parameters

uuiduuidrequired

The fixed asset type UUID (`id` from List fixed asset types).

Request body

namestring

Type name, 1–255 characters, unique in the workspace.

assetAccountUuiduuid

The cost account: an account with the Fixed Assets sub-type, from Chart of Accounts.

accumulatedDepreciationAccountUuiduuid

An Accumulated Depreciation account, or a Fixed Assets account kept as a contra line.

depreciationExpenseAccountUuiduuid

An expense account.

defaultDepreciationMethodenum

Method a draft asset takes when it is given this type. Nullable.

One of: no_depreciation, full_depreciation, straight_line, diminishing_value

defaultAveragingMethodenum

How the first period is prorated. Nullable.

One of: full_month, actual_days, half_year

defaultDepreciationFrequencyenum

How often depreciation posts. Nullable.

One of: monthly, annually

defaultCalculateBasisenum

`rate` uses `defaultRate`; `effective_life` needs `defaultEffectiveLife`. Nullable.

One of: rate, effective_life

defaultRatenumber

Annual depreciation rate in percent, 0–100. Nullable.

defaultEffectiveLifenumber

Effective life in years, above 0. Nullable.

Responses

200The updated type.
400Same rules as create.
401Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. Troubleshoot
403The key is inactive or its scope does not allow this request, the workspace is not managed by your firm or is outside the key's client workspaces, the workspace has no active subscription, or it is portal-only and the route needs bookkeeping. Troubleshoot
404No type with that UUID in this workspace.
429Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). Troubleshoot
PATCHhttps://api.getcount.com/firm-partners/workspace/fixed-asset-types/{uuid}
Request
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;

const method = 'PATCH';
const signingPath = '/workspace/fixed-asset-types/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "defaultRate": 40
};
const bodyString = JSON.stringify(body);

const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/firm-partners/workspace/fixed-asset-types/3fa85f64-5717-4562-b3fc-2c963f66afa6`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    'count-workspace-id': '5e4d3c2b-1a09-4f8e-8d7c-6b5a49382716',
  },
  body: bodyString,
});

console.log(await response.json());
Response · 200
{
  "status": "success",
  "message": "Success on updating fixed asset type",
  "data": {
    "fixedAssetType": {
      "id": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1d01",
      "name": "Computer Equipment",
      "assetAccount": {
        "id": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c01",
        "name": "Computer Equipment"
      },
      "accumulatedDepreciationAccount": {
        "id": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c02",
        "name": "Accumulated Depreciation - Computer Equipment"
      },
      "depreciationExpenseAccount": {
        "id": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c03",
        "name": "Depreciation"
      },
      "defaultDepreciationMethod": "diminishing_value",
      "defaultAveragingMethod": "full_month",
      "defaultDepreciationFrequency": "monthly",
      "defaultCalculateBasis": "rate",
      "defaultRate": "50.0000",
      "defaultEffectiveLife": null,
      "createdAt": "2026-01-15T10:30:00.000Z",
      "updatedAt": "2026-01-28T14:22:30.000Z"
    }
  }
}