New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingCPQPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started with RevRec


  • About Chargebee RevRec
  • Quick Start Guide
  • Site Configuration
  • Conversion
  • RevRec Essential
  • Articles and FAQ

Revenue Recognition


  • Configuring Product Catalog
  • Standalone Selling Price
  • Configuring Revenue Rules
  • Recognizing Discounts
  • Revenue Arrangement
  • Prior Period Adjustment
  • Pending Collectibility
  • Chargebee Billing Features
  • Articles and FAQ

Expense Recognition


  • Recognizing Expenses
  • Articles and FAQ

Multi Currency


  • Multi-Currency
  • Articles and FAQ

Multi Entity


  • Multi-Entity

Data Processing & Validation


  • Overview
  • Automated Data Synchronization
  • Importing Data in Bulk
  • Input via User Interface
  • Control Checks
  • Automated Import and Export
  • Understanding Errors
  • Articles and FAQ

Adjustments


  • Manual Adjustments

Reports & Analytics


  • New Reporting Solution FAQs
  • Overview of RevRec Reporting
  • RevRec Standard Reports
  • Articles and FAQ

General Ledger & Accounting Close


  • Journal Account Mapping
  • Understanding Journal Entries
  • Creating Journal Entries
  • Journal Posting & Closing Accounting Period
  • Articles and FAQ

Integrations


  • HubSpot
  • Salesforce
  • QuickBooks Online
  • Xero
  • Sage Intacct
  • NetSuite
  • Stripe
  • Mobile Stores
  • Articles and FAQ

RevRec Premium


  • Overview
  • Quick Start Guide
  • Site Configuration
  • Getting Around RevRec Premium
  • General Ledger & Accounting Close
  • Reports & Analytics
  • Integrations
  1. RevRec
  2. Integrations
  3. Articles and FAQ
  4. Integrations
  1. RevRec
  2. Integrations
  3. Articles and FAQ
  4. Integrations

How do I resolve Xero sync errors due to incorrect organization linkage?

Related Scenarios

  • What to do when a Xero sync job fails with an account number error?
  • How to re-authenticate Xero connection to select the correct organization?

Solution

If Xero sync or journal export fails with an error that an account number or account code was not found, one common cause is that the integration is authorized against the wrong Xero organization (for example, NZ instead of AU). Use this guide to reconnect and select the correct organization. If the intended account is missing in all Xero organizations, create or restore that account in the intended organization, or map to a valid existing account in Journal Account Mapping, then retry.

  1. Switch to the intended RevRec environment, then click Accounting.
  2. Open the Xero Journal Posting connection (Connect on the Accounting page, or Settings if that is the control on your site — confirm the live label before publish). Click Xero.
  3. Click Re-authenticate or Connect your data (confirm the live label) so Xero prompts you to sign in.
  4. Sign in to Xero and select the correct organization (for example, the AU organization, not the NZ organization).
  5. Return to RevRec and confirm the linked Xero organization is the intended one. Do not close an accounting period or post journals until that check passes.

The Xero connection shows the intended organization, and a later journal export no longer fails with account number or account code not found for that wrong-org case.

Important Notes

  • Re-authentication does not correct journals already posted to the wrong Xero organization. If that already happened, stop retrying this flow and contact RevRec Support. See Journal Posting and Closing for deleting incorrect accounting entries, regenerating journals in RevRec, and reposting.
  • If the error continues after the correct organization is linked, confirm the account exists in that Xero organization and that journal account mapping points at a valid account, or contact RevRec Support.

Related Articles

What is Journal Account Mapping in RevRec?
What is Journal Posting in RevRec?
RevRec - Accounting Journal Posting
How to check the environment before configuring Hubspot in RevRec?

Was this article helpful?