XeroAPI/XeroAPI.Net

Payroll Branch - PayTemplate Earning Line EarningsRateCalculation

Opened this issue · 1 comments

gopd commented

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

gopd commented

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