XeroAPI.Net
XeroAPI.Net copied to clipboard
Payroll Branch - PayTemplate Earning Line EarningsRateCalculation
EarningsRateCalculation is always de-serialized as USEEARNINGSRATE regardless of value returned via the API
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