Xero - How to connect two Chargebee sites to one Xero account (Internal)?
Problem Statement
You need to connect more than one Chargebee site to a single Xero organisation. The reverse—connecting two Xero accounts to one Chargebee site—is not supported.
Solution
Two Chargebee sites can use one Xero account. Setup is done via the integrations DB: clear config for the new site, copy authentication from the existing site, then add the multi_sites setting so auth changes apply to both sites.
Steps to Set It Up
In the integrations DB, open tp_integ_conf for the new Chargebee site that will use the same Xero account. Ensure the configJson (JSON) is empty. If it is not, use the update tp_integ_conf action and set configJson to .
Run the Copy authentication admin action (Integrations DB > Invoke action > Copy Authentication) to copy the Xero auth from the existing site to the new site.
So that auth changes are reflected on both sites, add "multi_sites":["siteA-test", "siteB-test"] to the tp_integ_conf config JSON for each site connected to the same Xero organisation (replace with your actual site identifiers).