---
title: "Create a fixed asset type · Fixed Assets · COUNT Partner API"
description: "Creates an asset class with its three accounts and default depreciation settings. POST /partners/fixed-asset-types"
canonical: "https://developers.getcount.com/reference/fixed-assets/create-fixed-asset-type"
source: "https://developers.getcount.com/reference/fixed-assets/create-fixed-asset-type"
---
[Fixed Assets](https://developers.getcount.com/reference/fixed-assets) / Create a fixed asset type

# Create a fixed asset type

POST `/partners/fixed-asset-types`

Creates an asset class with its three accounts and default depreciation settings.

The three accounts must be different, active accounts in their roles: a Fixed Assets cost account, an Accumulated Depreciation (or Fixed Assets) account and an expense account. Draft assets with no type whose cost posted to the new type's cost account are given the type.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=POST&path=%2Fpartners%2Ffixed-asset-types&body=%7B%0A++%22name%22%3A+%22Computer+Equipment%22%2C%0A++%22assetAccountUuid%22%3A+%220194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c01%22%2C%0A++%22accumulatedDepreciationAccountUuid%22%3A+%220194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c02%22%2C%0A++%22depreciationExpenseAccountUuid%22%3A+%220194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c03%22%2C%0A++%22defaultDepreciationMethod%22%3A+%22diminishing_value%22%2C%0A++%22defaultAveragingMethod%22%3A+%22full_month%22%2C%0A++%22defaultDepreciationFrequency%22%3A+%22monthly%22%2C%0A++%22defaultCalculateBasis%22%3A+%22rate%22%2C%0A++%22defaultRate%22%3A+50%0A%7D)

[Reports API](https://developers.getcount.com/reference/reports) [Bills API](https://developers.getcount.com/reference/bills) [Transactions API](https://developers.getcount.com/reference/transactions) [Chart of Accounts API](https://developers.getcount.com/reference/chart-of-accounts)

#### Headers

`Idempotency-Key` string optional

Client-generated key that makes the call safely retryable. Repeating a key replays the original response; reusing one with a different body is refused.

#### Request body

`name` string required

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

`assetAccountUuid` uuid required

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

`accumulatedDepreciationAccountUuid` uuid required

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

`depreciationExpenseAccountUuid` uuid required

An expense account.

`defaultDepreciationMethod` enum

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

One of: `no_depreciation`, `full_depreciation`, `straight_line`, `diminishing_value`

`defaultAveragingMethod` enum

How the first period is prorated. Nullable.

One of: `full_month`, `actual_days`, `half_year`

`defaultDepreciationFrequency` enum

How often depreciation posts. Nullable.

One of: `monthly`, `annually`

`defaultCalculateBasis` enum

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

One of: `rate`, `effective_life`

`defaultRate` number

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

`defaultEffectiveLife` number

Effective life in years, above 0. Nullable.

#### Responses

`201` The new type.

`400` A name already used, an account that is inactive or not right for its role, the same account in two roles, or `effective_life` without `defaultEffectiveLife`.

`401` Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-401)

`403` The credential does not have access to this workspace or resource. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-403)

`429` Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-429)

[Previous GET Get a fixed asset type](https://developers.getcount.com/reference/fixed-assets/get-fixed-asset-type) [Next PATCH Update a fixed asset type](https://developers.getcount.com/reference/fixed-assets/update-fixed-asset-type)

POST `https://api.getcount.com/partners/fixed-asset-types`

Request

```javascript
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 ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'POST';
const signingPath = '/fixed-asset-types';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "name": "Computer Equipment",
  "assetAccountUuid": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c01",
  "accumulatedDepreciationAccountUuid": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c02",
  "depreciationExpenseAccountUuid": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1c03",
  "defaultDepreciationMethod": "diminishing_value",
  "defaultAveragingMethod": "full_month",
  "defaultDepreciationFrequency": "monthly",
  "defaultCalculateBasis": "rate",
  "defaultRate": 50
};
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}/partners/fixed-asset-types`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    Authorization: `Bearer ${ACCESS_TOKEN}`,
    'Idempotency-Key': '3fa85f64-5717-4562-b3fc-2c963f66afa6',
  },
  body: bodyString,
});

console.log(await response.json());
```

Response · 201

```json
{
  "status": "success",
  "message": "Success on creating 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"
    }
  }
}
```
