Earnings Rate not defined for Employee or must have a Unit of 'Hours'
Earnings Rate not defined
This error is returned when an employee does not have an earnings rate defined in Xero.
To resolve this, set the Ordinary Earnings Rate field on the Employment tab for the Employee in Xero.
Employee Default Earnings Rate must have a Unit of 'Hours'
This error is given when the Employment tab of the Employee contains an Ordinary Earnings Rate that is set to a unit other than Hours (e.g. Days, Per Shift etc).
To resolve this, you must either change the Ordinary Earnings Rate for the emplyee to a valid one, or update the Earings Rate in Xero to use Hours (Xero: Settings> Payroll Settings> Pay Items> Earnings)