This guide will help you understand and resolve an error that can occur when pushing an invoice from Payaca to your Xero account.
Here, you can learn what to do when you see the notification: 'Invoice could not be pushed to Xero: The contact with the specified contact details has been archived'. This error means the customer's record in Xero has been archived, and Xero will not allow any new invoices to be created for them until their record is made active again.
How to Restore an Archived Contact in Xero
To fix this, you will need to log in to your Xero account and restore the contact.
Log in to your Xero account.
In the main navigation, go to Contacts and then select All Contacts.
Click on the Archived tab to view all of your archived contacts.
Use the search box to find the contact mentioned in the Payaca error message.
Select the contact by ticking the checkbox next to their name.
A Restore button will appear. Click this button.
A confirmation pop-up will appear. Click Restore again to confirm.
The contact is now active in Xero again and is ready to have new invoices assigned to them.
Pushing the Invoice Again in Payaca
Once you have restored the contact in Xero, you can return to Payaca to sync the invoice.
In your Payaca account, navigate to your notifications (the bell icon in the top right).
Find the original failed notification for the invoice push.
You should now see an option to Retry the action. Click this to push the invoice to Xero again.
The sync should now complete successfully.