Description:
On the xero_error property of an order or invoice the following error is displayed and the invoice is not synced to Xero.
A validation exception occurred, <product name> - No items available to sell.
Reason:
If you are using tracked inventory in Xero and do not have enough stock on hand to meet the order you will receive this error.
Resolution:
Either make sure there is enough stock in Xero or disable tracked inventory.