---
title: "Merge two draft assets · Fixed Assets · COUNT Partner API"
description: "Combines two drafts into one, such as a laptop bought across two bills. POST /partners/fixed-assets/merge-drafts"
canonical: "https://developers.getcount.com/reference/fixed-assets/merge-fixed-asset-drafts"
source: "https://developers.getcount.com/reference/fixed-assets/merge-fixed-asset-drafts"
---
[Fixed Assets](https://developers.getcount.com/reference/fixed-assets) / Merge two draft assets

# Merge two draft assets

POST `/partners/fixed-assets/merge-drafts`

Combines two drafts into one, such as a laptop bought across two bills.

The journal lines of `fromFixedAssetUuid` move to `intoFixedAssetUuid`, which takes the combined cost, and the from-draft is removed. Both must be drafts, and imported assets cannot be merged. Unlinking a moved line later gives it back to the draft it came from.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=POST&path=%2Fpartners%2Ffixed-assets%2Fmerge-drafts&body=%7B%0A++%22fromFixedAssetUuid%22%3A+%220194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a02%22%2C%0A++%22intoFixedAssetUuid%22%3A+%220194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a01%22%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

`fromFixedAssetUuid` uuid required

The draft whose lines move. It is removed.

`intoFixedAssetUuid` uuid required

The draft that keeps the combined lines.

#### Responses

`200` The merged asset and what moved.

`400` Either asset is not a draft, is imported, or both UUIDs name the same asset.

`404` Either asset is not in this workspace.

`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 DELETE Delete a fixed asset](https://developers.getcount.com/reference/fixed-assets/delete-fixed-asset) [Next GET Get projected depreciation](https://developers.getcount.com/reference/fixed-assets/get-fixed-asset-projected-depreciation-schedule)

POST `https://api.getcount.com/partners/fixed-assets/merge-drafts`

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-assets/merge-drafts';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "fromFixedAssetUuid": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a02",
  "intoFixedAssetUuid": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a01"
};
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-assets/merge-drafts`, {
  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 · 200

```json
{
  "status": "success",
  "message": "Success on merging fixed asset drafts",
  "data": {
    "intoAssetId": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a01",
    "mergedFromAssetId": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a02",
    "linksConsidered": 1,
    "linksReparented": 1,
    "linksDedupedAgainstTarget": 0,
    "asset": {
      "id": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1a01",
      "assetNumber": "FA-0007",
      "name": "MacBook Pro 16\"",
      "description": "Design team laptop",
      "serialNumber": "C02XK1ABCD12",
      "location": "Head office",
      "status": "draft",
      "statusLabel": "draft",
      "origin": "derived",
      "costSource": "linked_journals",
      "fixedAssetTypeId": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1d01",
      "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"
      },
      "purchaseDate": "2026-07-14",
      "purchasePrice": "3200.0000",
      "depreciationStartDate": "2026-07-14",
      "depreciationMethod": "diminishing_value",
      "averagingMethod": "full_month",
      "depreciationFrequency": "monthly",
      "calculateBasis": "rate",
      "rate": "50.0000",
      "effectiveLife": null,
      "insuranceValue": null,
      "replacementValue": null,
      "claimInvestmentBoost": false,
      "registeredAt": null,
      "disposalDate": null,
      "disposalMethod": null,
      "disposalPrice": null,
      "journalLinks": [
        {
          "id": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1e01",
          "sourceType": "bill",
          "billId": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a01",
          "transactionId": null,
          "jeHeaderId": "0194c1d2-3e4f-7a5b-8c6d-7e8f9a0b1f01",
          "amount": "3200.0000",
          "grossAmount": "3680.0000",
          "gstAmount": "480.0000",
          "description": "MacBook Pro 16\"",
          "isPrimaryJournalLink": true,
          "canUnlinkJournalEntry": false
        }
      ],
      "createdByUser": {
        "firstName": "Ana",
        "lastName": "Reyes"
      },
      "createdAt": "2026-01-15T10:30:00.000Z",
      "updatedAt": "2026-01-28T14:22:30.000Z"
    }
  }
}
```
