Some errors require the user's assistance. This troubleshooting article will help you identify possible problems and find their solutions.
First, make sure that the integration is properly working. This article will guide you step-by-step to make the settings correctly.
The text of the errors you can find inside the document in the Integration logs:
Consider the table below to find ways for possible error fixes.
|Type of document||Log text||How to fix the error|
|Purchase Order ||Account code has been archived or has been deleted. Each line item must reference a valid account.||Choose a valid account by revising the document in Precoro or activate the account in Xero.|
|Purchase Order ||The contact with the specified contact details has been archived. The contact must be un-archived before creating new invoices, credit notes, or purchase orders.||The contact must be un-archived before sending documents to Xero. Or revise the document to change the supplier before sending it to Xero.|
|Purchase Order||The Contact must contain at least 1 of the following elements to identify the contact: ContactID, ContactNumber.||The supplier has not been integrated. The supplier should be integrated before creating new documents.|
|Purchase Order||The Purchase Order status change is invalid.||One or more transactions are linked to Purchase Order in Xero. Delete the linked transactions in Xero before sending the document from Precoro.|
|Purchase Order||The Tax Type code cannot be used with the account code.||Chosen tax type cannot be used with a given account. Change the tax type to create new documents, or revise the document to change the applied tax.|
|Purchase Order||The organization is not subscribed to currency.||An integrated company should have a currency to create new documents with it. Integrate the currency used in this document or revise it to change the currency before sending it to Xero|
|Invoice not of valid status for modification.||The supplier has not been integrated. The supplier must be integrated before creating new documents.|
If you have encountered an error not covered in the table above, do not hesitate to contact your Customer Success Manager or write in chat to receive help.