Payroll Calendar not defined for Employee in Xero

If you see this error, it is because the setup of your employee in Xero is not complete. This is often the case with the default data provided when using a Xero Demo organisation.

To resolve it, simply navigate Payroll> Employees in Xero. Select the employee, assign a Pay Calendar on the Employment tab and save.

When you revalidate the file the error will be resolved.