2 x Xero Intergrations Into 1 x TG Account



I’ve been trying to find a solution to a inventory problem we’ve had for a while. I think I have it but it means having 2 x Xero accounts linked to 1 x TradeGecko account. We have 2 x business and am currently running 2 x TG and 2 x Xero accounts. We have both companies stock available to buy on the others sales channels but TG reports are in-accurate and don’t match up, therefore we cannot rely on these.

I feel if we create 2 warehouses and run sales orders/invoices depending to stock location we should be able to push those invoices to a specific Xero account?

i.e Stock Location A link to Xero account A, Stock location B link to Xero account B

Any help?