Skip to content

updateAssetTaxDepreciationSettings

WRITE

Update asset tax depreciation settings.

POST /api/v1/settings/updateAssetTaxDepreciationSettings
curl -X POST '<your-host>/api/v1/settings/updateAssetTaxDepreciationSettings' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "assetTaxDepreciationEnabled": true,
    "assetTaxRate": 0
  }'

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "assetTaxDepreciationEnabled": {
      "type": "boolean"
    },
    "assetTaxRate": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "assetTaxDepreciationEnabled",
    "assetTaxRate"
  ]
}