Skip to main content
All CollectionsAccounting & Payment ProvidersConnecting with a provider
Fixing the "Invalid - No Code" Ledger Error when connecting Xero
Fixing the "Invalid - No Code" Ledger Error when connecting Xero

This article will help you solve the no-code ledger issue you see when attempting to connect to Xero.

Updated over a year ago

This article will assume that you have authenticated your Xero account and have progressed through to the Ledger Accounts selection screen.

If you see the (Invalid - No Code) in red when selecting your ledger account as below please login to your Xero Dashboard.

Once you have logged into Xero, click "Accounting" in the navigation bar. Followed by "Chart of accounts".

You will notice the account in your Chart of accounts with no code in the code column

Select the account you wish to add a code to to bring up the editing dialogue.

Now you can enter a 3 digit "code" into the code box. Any number is fine, Xero will tell you if the number is already taken.

Now click save and head back to Mira!

Close the Accounting integration dialogue box and open it again by clicking on Accounting Integrations and then Xero.

This will re-load the ledger accounts from Xero so that you can select your account.

As you can see, the bank account is now usable.

Once you have completed selecting you ledger accounts, you can continue and complete your Xero integration.

Did this answer your question?