Docs

Integrations Articles & FAQ

xero, error, 0000, valid, code, not

Xero Error : Account code '0000' is not a valid code for this document.

40739337

2022-09-30T18:24:13Z

2023-05-24T10:55:03Z

672

0

0

256157

Xero Error : Account code '0000' is not a valid code for this document.

Xero Error : Account code '0000' is not a valid code for this document. 

This article covers 

How to resolve Xero Error: Account code '0000' is not a valid code for this document?

Summary

This error message is thrown by Xero when the components of an account (account type code) in your chart of accounts are provided incorrectly to the item/plan used in the invoice.

Solution

In order to fix the same, you need to map the desired accounting code at the plan and addon level associated with the invoices in Chargebee.

Please check your chart of accounts in Xero for the accounting codes https://central.xero.com/s/article/Components-of-an-account-in-your-chart-of-accounts-GL and make the changes.

If the error is thrown for a one-time invoices, please verify the Chart of accounts selected for
“One time charges” under Apps > Xero > Manage Mapping is a valid Chart of Account code in your Xero account.

A sample screenshot for your reference.

After making the changes please run the sync and the error will be resolved.

Related Articles 

How to install the Google Chrome Extension for Xero/Quickbooks Reconciliation?
Xero sync error - Payments can only be made against Authorised documents & Payment amount exceeds the amount outstanding on this document.
Where can I see the details for bad debt?
Xero sync error - Price List Item Code must not be more than 30 characters long.
Configuration errors and their resolution for Xero
How to match invoices report to a line item report?
Xero sync errors - A currency rate must be specified
Xero - How to connect two Chargebee sites to one Xero account (Internal)?
Xero - Why is the round off amount so large?
The contact number XXX is already assigned to another contact. The contact number must be unique across all contacts.
The TaxType code 'X' cannot be used with account code 'Y'
How to map existing customers in Chargebee to existing customers in Xero/Quickbooks/NetSuite?
Xero app show error: The chart of account mapping for the plan/addon is not configured‌
Xero Sync Error - Invoice number must be unique
What is Default Sales Tax in Xero integrations?
"[Xero] 1) You have reached the limit of invoices you can approve" while syncing invoices
How to check the lock date in Xero?
Authentication for this Chargebee to Xero connection has expired. Click 'reconnect' to resume data sync
Plan level tracking categories in Xero
Error - Xero 1) Account must be valid. 2) Tax rate must be valid
Why is the round-off amount so large in Xero?
Adding additional email addresses to the customer card in Xero
Save option greyed out while trying to change account mapping on Xero.
Base Currency difference for Chargebee and Xero
Was this article helpful?
Loading…