From d128d16baaa1f37ed50dbf2d89e84f98b0f1debb Mon Sep 17 00:00:00 2001 From: marcuslensxbert <153576252+marcuslensxbert@users.noreply.github.com> Date: Mon, 3 Nov 2025 11:36:30 +1100 Subject: [PATCH] Add additional Kms enum to StandardTypeOfUnitsEnum as we have files in NZ containing "Kms" Receiving the following error; 'Error converting value "Kms" to type 'Xero.NetStandard.OAuth2.Model.PayrollNz.Reimbursement+StandardTypeOfUnitsEnum'. --- Xero.NetStandard.OAuth2/Model/PayrollNz/Reimbursement.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Xero.NetStandard.OAuth2/Model/PayrollNz/Reimbursement.cs b/Xero.NetStandard.OAuth2/Model/PayrollNz/Reimbursement.cs index da8f3ed5..127765c1 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollNz/Reimbursement.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollNz/Reimbursement.cs @@ -113,7 +113,13 @@ public enum StandardTypeOfUnitsEnum /// Enum Km for value: km /// [EnumMember(Value = "km")] - Km = 2 + Km = 2, + + /// + /// Enum Kms for value: Kms + /// + [EnumMember(Value = "kms")] + Kms = 3 }