POST /AssetTypes

Adds an fixed asset type to the system

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

xero-tenant-id String Yes

Xero identifier for Tenant

Idempotency-Key String No

This allows you to safely retry requests without the risk of duplicate processing. 128 character max.

Request body fields

Name Type Required Description
fixedAssetAccountId String No

The asset account for fixed assets of this type

bookDepreciationSetting Yes
depreciationExpenseAccountId String No

The expense account for the depreciation of fixed assets of this type

assetTypeName String Yes

The name of the asset type

locks Integer No

All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.

accumulatedDepreciationAccountId String No

The account for accumulated depreciation of fixed assets of this type

assetTypeId String No

Xero generated unique identifier for asset types

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.