Xero Posting Errors

Xero Posting Errors

This article is for customers who use Xero Accounting and automatically post your General Ledger to Xero when you confirm a pay. The transfer of information between CloudPayroll and Xero can take a few minutes and a message will display on your Payroll > 4. Confirm screen when the job has successfully completed.
If there is an error in the process, a message will display on the confirm screen and a system generated email will be sent to paymasters.  You can fix the error and repost the entries to Xero before your payroll is Closed.


"Account code 'Missing' is not valid for this document."

      1. Log on to CloudPayroll
      2. Go to Reports > Financial > General Ledger Postings
      3. Click on the transaction highlighted as 'Missing'
      4. By clicking on Missing it will show the transactions in the payroll that need updating.
      5. Go to Payroll > 4. Confirm > Unconfirm the payroll
      6. Go to Employee(s) that do not have a cost centre added - per the Missing 
      7. Update Personal Details or Timesheet Entry
      8. Go to Reports > Financial > General Ledger Postings > review until no further 'Missing' entries
      9. Go to Payroll > 4. Confirm  and confirm the payroll

"Account code 'code' is not valid for this document."

      1. Log on to CloudPayroll
      2. Go to Reports > Financial > General Ledger Postings > review codes
      3. Go to Step 4. and Unconfirm > Unconfirm the payroll (Check your confirm times before)
      4. Update Personal Details or Timesheet Entry with the correct code OR
            Log on to Xero
            Update Xero with the code you are trying to post to 
      5. Go to Reports > Financial > General Ledger Postings > review 
      6. Go to Payroll > 4. Confirm  and confirm the payroll

"Account code 'code' has been archived, or has been deleted". 

      1. Log on to CloudPayroll
      2. Go to Reports > Financial > General Ledger Postings > review code in error message
      3. Go to Pay. Unconfirm > Unconfirm the payroll (Check your confirm times before)
      4. Update Personal Details or Timesheet Entry with the correct code OR
            Log on to Xero
            Update Xero with the code you are trying to post to 
      5. Go to Reports > Financial > General Ledger Postings > review 
      6. Go to Payroll > 4. Confirm  and confirm the payroll

"Invoice not of valid state for modification" 

Log on to Xero and review the invoice. Reason could be that the invoice has been set to void or there is a payment associated with the invoice already.

"Unexpected error when posting invoices to Xero".

      1. Log on to CloudPayroll
      2. Go to Setup > Interfaces
      3. Select Disable next to Xero
      4. Once disabled, then click on Enable next to Xero
      5. You will be directed to your Xero account
      6. Log on with your Xero credentials.
      7. Choose the appropriate Xero organisation if you have more than one and Allow CloudPayroll Access.
      8. Invoice Settings > Select > Post to Xero at Confirm time
      9. Save
If successful the Enable button with display DISABLE

"The TaxType code 'taxType' cannot be used with account code 'code". 

      1. Log on to CloudPayroll
      2. Go to Reports > Financial > General Ledger Postings > review code in error message
      3. Go to Payroll > 4. Confirm and Unconfirm the payroll (Check your confirm times before)
      4. Update Personal Details or Timesheet Entry with the correct code OR
            Log on to Xero
            Correct the tax type for the code you are trying to post to 
      5. Go to Reports > Financial > General Ledger Postings > review 
      6. Go to Payroll > 4. Confirm  and confirm the payroll


"Unable to connect to Xero. Check your Xero interface is setup correctly".

      1. Log on to CloudPayroll
      2. Go to Setup > Interfaces
      3. Select Disable next to Xero
      4. Once disabled, then click on Enable next to Xero
      5. You will be directed to your Xero account
      6. Log on with your Xero credentials.
      7. Choose the appropriate Xero organisation if you have more than one and Allow CloudPayroll Access.
      8. Invoice Settings > Select > Post to Xero at Confirm time
      9. Save
If successful the Enable button with display DISABLE


"You have reached the limit of invoices you can approve".

The plan you are using in Xero is for a limited amount of invoices only. 
Please use the journal upload that is available to you to transfer your information into Xero.

"Duplicate key null (attempted merging values NONE and NONE)". 

      1. Log on to CloudPayroll
      2. Go to Reports > Financial > General Ledger Postings > review code in error message
      3. Go to Payroll > 4. Confirm and Unconfirm the payroll (Check your confirm times before)
      4. Update Personal Details or Timesheet Entry with the correct code OR
            Log on to Xero
            Correct the tax type for the code you are trying to post to 
      5. Go to Reports > Financial > General Ledger Postings > review 
      6. Go to Payroll > 4. Confirm  and confirm the payroll

"Error connecting to Xero. Unable to connect, Xero did not return requested data. Please try again" 

      1. You must be a Xero user in the company you want to connect to CloudPayroll.
      2. Check in Xero if you are connected to CloudPayroll
      3. Go to Xero,  in Organisation > Settings > Connected Apps
      4. Select three dots next to CloudPayroll > Disconnect 
      5. Log out of Xero - if you have multiple browser tabs and/or devices with Xero open, please log out and close them all completely
      6. Login into CloudPayroll
      7. Go to Setup > Interfaces
      8. Select Disable next to Xero
      9. Once disabled, then click on Enable next to Xero
      10. You will be directed to your Xero account
      11. Log on with your Xero credentials.
      12. Choose the appropriate Xero organisation if you have more than one and Allow CloudPayroll Access.
      13. Invoice Settings > Select > Post to Xero at Confirm time
      14. Save
If successful the Enable button with display DISABLE