Asset

searches fixed asset settings

By passing in the appropriate options, you can search for available fixed asset types in the system

get/Settings

Request

  • Base URL
    https://api.xero.com/assets.xro/1.0
  • URL
    https://api.xero.com/assets.xro/1.0/Settings
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: assets, assets.read

Response

search results matching criteria

assetNumberPrefixstring

The prefix used for fixed asset numbers (“FA-” by default)

assetNumberSequencestring

The next available sequence number

assetStartDatestring date

The date depreciation calculations started on registered fixed assets in Xero

lastDepreciationDatestring date

The last depreciation date

defaultGainOnDisposalAccountIdstring uuid

Default account that gains are posted to

defaultLossOnDisposalAccountIdstring uuid

Default account that losses are posted to

defaultCapitalGainOnDisposalAccountIdstring uuid

Default account that capital gains are posted to

optInForTaxboolean

opt in for tax calculation

Example response

{
  "assetNumberPrefix": "FA-",
  "assetNumberSequence": "0022",
  "assetStartDate": "2015-07-31T00:00:00",
  "lastDepreciationDate": "2015-07-01T00:00:00",
  "defaultGainOnDisposalAccountId": "346ddb97-739a-4274-b43b-66aa3218d17c",
  "defaultLossOnDisposalAccountId": "1b798541-24e2-4855-9309-c023a0b576f3",
  "defaultCapitalGainOnDisposalAccountId": "6d6a0bdb-e118-45d8-a023-2ad617ec1cb7"
}

Changes

No recorded changes to this operation across all 56 revisions of this API.