How does the process work between SF & Xero when the invoices are generated?

How does the process work between SF & Xero when the invoices are generated?

Invoices created in Salesforce are synced on real-time to Xero. Xero to Salesforce sync is at an interval of 15 minutes