Docschargebeedocs

HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Developer Resources
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Agents
  • Chargebee Copilot
  • Chargebee MCP Server (Model context protocol)

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Invoices, Credit Notes and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Managing payments with ChargebeeJS
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Order Management
  • Mobile Subscriptions (Legacy)
  • Other Integrations
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Integrations
  3. Articles and FAQ
  4. Xero
  1. Billing
  2. Integrations
  3. Articles and FAQ
  4. Xero

Configuration errors and their resolution for Xero

Problem Statement

What do I do when I see configuration errors in Chargebee while syncing to Xero, such as "Account not found for supplied sales account code," "The tracking category XXX - Sales entered for this credit note plan/addon is invalid," or "Tax rate applied to this invoice does not match the tax rate selected as part of settings"?

Solution

Account not found for supplied sales account code

This error appears when a plan has an accounting code that does not exist in Xero. Only valid accounts from the Chart of Accounts in Xero should be used.

Fix: Go to the plan in Chargebee, edit its price point, add a valid account code (e.g., 200) from Xero's Chart of Accounts, and save. The sync will then succeed.

The tracking category XXX - Sales entered for this credit note plan/addon is invalid

The tracking category value format in the custom field is incorrect. The format must match: Custom Field Name - Tracking Category Name: Value.

Example: If the tracking category in Xero is State with value NSW, and the custom field name is CF 1, enter: CF1 - State: NSW.

Fix: Go to the customer record, click Edit Customer, and enter the correct value in the Tracking Category custom field.

Tax rate <X%> applied to this invoice does not match the tax rate <Y%> selected as part of Settings

Chargebee selects tax rates based on jurisdiction (line item taxes, shipping address, or billing address). If the jurisdiction on the invoice does not match the default sales tax mapping, this error occurs.

Tax precedence:

  1. Line Item Taxes (country/state code)
  2. Shipping Address (if line item taxes lack jurisdiction)
  3. Billing Address (if shipping address is missing)

Example: If the invoice jurisdiction is Canada (CA) but the default sales tax is mapped to a different country, change the default sales tax to Canada in Chargebee settings and try again.

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.
'Xero Error : Account code ''0000'' is not a valid code for this document.'
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
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

Show more

Was this article helpful?