XeroAPI.Net icon indicating copy to clipboard operation
XeroAPI.Net copied to clipboard

Payroll Branch - PayTemplate Earning Line EarningsRateCalculation

Open gopd opened this issue 11 years ago • 1 comments

EarningsRateCalculation is always de-serialized as USEEARNINGSRATE regardless of value returned via the API

gopd avatar Sep 11 '13 02:09 gopd

Figured this out, it's because the EarningsLine class has a property named 'EarningsRateCalculation'. This should be renamed to 'CalculationType' to match the XML from the API

gopd avatar Sep 11 '13 03:09 gopd