Xero error: Leave type has not been assigned to an employee


Type. Feature. Error Description.
Sync error. Leave. A validation exception occurred, unable to create leave request. This leave type has to be assigned to this employee to create and process a leave request.


This error occurs when an employee within your Xero platform does not have an assigned leave type. When the Employment Hero platform encounters this issue, it will not synchronise leave requests for the affected employees over to your Xero platform.


You will need to add a leave type to the affected employee files on your Xero platform and then re-sync your Employment Hero and Xero platforms to resolve this issue.

Resolve this error
  1. Log in to your Xero platform.
  2. Click the Payroll menu.
  3. Click the Employees submenu.
  4. Click on employee that needs a leave type assigned.
  5. Click the Leave tab.
  6. Click the Assign Leave Type button.
  7. Complete the following fields:
    • Leave.
    • Schedule of accrual.
    • Hours accrued annually.
    • Maximum to accrue.
    • Opening balance.
  8. Click the Save button.
  9. Log in to your Employment Hero platform.
  10. Click the   Payroll Settings menu.
  11. Click the Leave Categories submenu.
  12. Click the   Update From Payroll button.

    Helpful Hint

    The Leave Categories page will now show a greyed out   Updated button. This means Employment Hero has successfully imported your leave categories from your Xero platform.

Was this article helpful?



Article is closed for comments.