An invoice is automatically created in Xero when:
A Sales Order is created or approved in Zoho CRM
A workflow automation pushes the Sales Order to Xero as an Invoice