Error occurred while checking for duplicate invoice. Error :The access token has not been authorized, or has been revoked by the user
This error is typically caused by a setting being changed within Xero before or while your invoices are trying to publish.
To resolve this issue, you will need to disconnect from and re-integrate with Xero, then re-publish your invoices. You can do this by following these steps:
Go to the company home page
Click the 'Integrate' button on the left hand side of the page
Click on disconnect
4. Reconnect to Xero and republish any affected invoices
Please note: After clicking publish again, the error will remain on the invoice until it has successfully transferred to Xero.