From e54e05dba426a17d53e01771ef7453913df7974d Mon Sep 17 00:00:00 2001 From: Mia Miu Date: Sat, 22 Aug 2026 20:50:54 +1200 Subject: [PATCH] fix(assets)!: allow decimal effective life years BREAKING CHANGE: generated SDKs will represent effectiveLifeYears with a floating-point numeric type instead of an integer type. --- xero_assets.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xero_assets.yaml b/xero_assets.yaml index 37cfa437f..3291178d0 100644 --- a/xero_assets.yaml +++ b/xero_assets.yaml @@ -791,7 +791,8 @@ components: example: 0.05 description: The rate of depreciation (e.g. 0.05) effectiveLifeYears: - type: integer + type: number + format: double example: 5 description: Effective life of the asset in years (e.g. 5) depreciationCalculationMethod: