one option would be to use some kind of micro service that would capture Xero webhook anytime invoice is paid (https://developer.xero.com/documentation/webhooks/overview). Next this micro service would adjust inventory in Shopify. To create it you could use app like: https://apps.shopify.com/datajet.
This would require bit of custom logic to be implemented. Send me a dm if you need to know more.