Xero Error Messages/Troubleshooting

Modified on Mon, 14 Nov, 2022 at 12:58 AM

In this article, you will learn how to troubleshoot error messages in Xero. 

 

Overview: Unlinking Transactions

When trying to make adjustments to transactions that have already been posted to Xero through Actionstep, you will first need to remove any links created through the integration. To do this, navigate to:

Admin -> Integrations -> Xero -> Manage

mceclip1.png

From here you can access a number of different lists, such as the 'Sales Invoices' or 'Payments'.  -

mceclip2.png

Simply access the list of items you want to address, apply a filter to find the transactions, tick the checkbox next to it and click 'Unlink from Xero'.

mceclip3.png

 

NOTE: If you are trying to unlink an invoice that already has payments or credit notes applied against it, you will have to unlink the payments/credit notes first. Doing this, will sever the connection between Actionstep and Xero for that particular transaction, allowing you to make adjustments to it.

 

Error Messages

In this section, we'll review some of the more common error messages that users see while trying to process transactions linked through to Xero.

 

Error: Failed Posting to Xero: XERO API Exception detected: #1: Invoice not of valid status for modification. #2: This document cannot be edited as it has a payment or credit note allocated to it. 

Explanation: Typically this error message is a result of trying to create a (supplier) invoice with a reference number that is already being used by an existing (supplier) invoice in Xero.

Solution: Change the reference number of the (supplier) invoice in Actionstep, which will then trigger Xero to create an entirely new record.

 

Error: Failed Posting Payment Xero: XERO API Exception Detected: #1: Payments can only be made against Authorised documents. #2: Payment amount exceeds the amount outstanding on this document.

Explanation: This is usually caused by changes being made to the corresponding invoice in Xero. Since changes in Xero are not fed through to Actionstep, you'll see this error message when trying to post a payment against an invoice in Actionstep when it has already been marked as paid in Xero (and the two invoices in the two systems are linked) or voided.

Solution: Investigate the invoice in Xero to see whether any payments or credits have been applied to it, or whether it has been voided. If such is the case, revert those changes, then try to process the changes from within Actionstep. 

NOTE: In relation to the error message above, if the invoice has been voided, you will have to generate a new invoice (within Xero) to replace the voided one. The easiest way to do this is to break the connection between Actionstep and Xero for the invoice in question (see the 'Unlinking Transactions' section above), and then reverting the Actionstep invoice to draft status. Now you can change the reference number of the invoice (simply add an A at the end if you want a fast solution) and approve it again, which will create a new corresponding invoice in Xero.

 

Error: Failed posting manual journal Xero: Not connected to the Xero API. Please log in first.

Explanation: This indicates that the Xero access token has been manually revoked.

Solution: click on the Xero icon in the alert bar to re-connect the integration. If the system thinks you are already connected, please contact support@actionstep.com and request for the connection to be reset manually.

 

 

Error: Failed Exporting Receipt to Xero Bank Transaction: This transaction cannot be completed. Add a Code to the Xero account, refresh your data in the Xero plugin then try again.

Explanation: This indicates that you haven't set a code for your bank account in Xero.

Solution: You would need to add a 3-digit GL code in Xero to your bank account.

  1. Open Xero 
  2. Click on the Accounting menu tab and then Advanced
  3. In the Advanced accounting menu, click on Chart of accounts
  4. Enter a 3-digit General Ledger ('GL') code on the account that is missing (see below)
  5. Go back into Actionstep and click on Admin > Accounting > Refresh data

mceclip5.png

 

 

Error: There was a problem sending this transaction to Xero. The reported error was: 'Failed posting Payment Xero: XERO API Exception Detected: #1: Account could not be found. '. Please check your Xero configuration and try again.

Explanation: This indicates there is an "account code" missing from Xero.

Solution: You would need to add a 3-digit GL code in Xero to the account you use for payment.

  1. Open Xero
  2. Click on the Accounting menu tab and then Advanced
  3. In the Advanced accounting menu, click on Chart of accounts
  4. Enter a 3-digit General Ledger ('GL') code on the account that is missing (see below)
  5. Go back into Actionstep and click on Admin > Accounting > Refresh data

mceclip6.png

 

Error: Failed posting invoice to Xero - could not retrieve a valid Token Response URL.

Explanation: This indicates there is a connection issue with Xero as the Xero token has been revoked.

Solution: Please contact support@actionstep.com and request for your Xero token to be refreshed and you can reconnect to Xero once the token has been refreshed.

 

Error: XERO API Exception Detected: #1: The invoice you are trying to allocate to has already been paid off. #2: Credit Note cannot be allocated as amount is greater than amount outstanding.

Explanation: This usually means that the credit note in Xero has already been posted or the invoice itself has been paid in Xero.

Solution: You would need to select "Remove & redo" Xero for the invoice payment or Credit note and then you can repost the Credit note from Actionstep.

 

Error: Xero V2: Failed to renew token.

Explanation: The Xero integration in Actionstep was unable to establish a connection

Solution: Reconnect Xero in Actionstep by selecting "Xero" at the bottom of the screen and select "Reconnect."

Reconnect_Xero_screenshot.png

 

Error: Access Denied to the requested resource.

blobid0.png

Explanation:  Access is denied for the integration between Actionstep and Xero. 

Solution: The Accounting function needs to be set-up first.  With Practice Pro + Accounting systems, the Actionstep built-in Accounting function must be selected. Once this has been selected, you can integrate with Xero and map the accounts.

 

mceclip3.png

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article