A common error we see with IRD payday filing is where PayHero accounts are connected to the wrong myIR accounts, or to an account that doesn't have access to do payday filing. When we try to file your pay we get an 'Unauthorised Delegation' error returned from the IRD, essentially saying that the myIR account isn't allowed to file the return.
When IRD return this error to us, we'll notify you of the issue on your dashboard:
You'll need to follow the troubleshooting steps below to resolve the issue, then resend the pays to IRD under the Tax area of PayHero, as shown at the bottom of this Payday Filing article.
There are a few things that can cause the Unauthorised Delegation error:
Eight Digit IRD Numbers
If you have an 8 digit IRD number, ensure this has been entered into PayHero with a zero at the beginning. You can check this under Manage > Settings > Company and viewing the Employer IRD number.
If you're a new company, ensure that you are registered as an employer with the IRD.
Connected to a Different myIR Account
Another common way this comes about is if your PayHero account is connected to a myIR account for a different person or company. This can often occur if you're automatically logged in by IRD to the latest myIR account you used. You may have been logged into your personal myIR account or a myIR account for another company. Then when you do the authorisation step in PayHero, instead of going to the login page for IRD, you're automatically logged in to the previous company and so the link is going to the wrong place.
To correct you should go to Manage > Integrations and Disconnect from payday filing, then authorise again. If you're still automatically logged in (so aren't prompted for a myIR username and password) then you should open a new window, go directly to myIR, then explicitly log out. Now repeat the authorisation from PayHero, and this time you'll have to log in to myIR.
Just because you were previously able to file monthly returns on the IRD website doesn't mean you have the correct permissions for payday filing - there is a bit of a disconnect between the old system and the new system in this regard. Sometimes the unauthorised delegation issue is fixed by giving the user more permissions.
On March 1 2018, IRD made a change that further restricted who was able to do payday filing. If your myIR login does not have the 'owner' role then you will need to get the owner to grant you new access. This article explains how to go about this. Alternatively, use the myIR login with the owner role when you connect FlexiTime to IRD.
If you're a tax agent, ensure that the myIR user you are using has filing access for the company.