Sync Infusionsoft orders to Xero invoices with line items
CRMMarketingAccountingUtilities
What it does
When an order is updated in Infusionsoft, this automation searches Xero for the customer contact and creates an invoice with line items if one does not exist. It links the records by storing the Xero invoice ID back in Infusionsoft.
Who it's for
Accounting teams who need Infusionsoft orders to become Xero invoices without manual entry.
Apps used
How teams use this
Sync new orders to invoices automatically
When an order is created in Infusionsoft, the contact and invoice appear in Xero with all line items. The team no longer re-enters order data in Xero.
Route invoices by account or tax type
Set a default account name and tax type name so line items post to the correct general ledger accounts in Xero. Only the parameters change, not the flow.
Set invoice status on creation
Add an invoice status parameter so new Xero invoices are created as draft, submitted, or approved based on the order type. Include a condition to check the order status before syncing.
How it works
- Order is updated in Infusionsoft. An order record changes in Infusionsoft, which starts this automation to check if it needs to sync to Xero.
- Search Xero for customer contact. Search Xero for a contact matching the customer email from Infusionsoft. If no contact exists, create one so the invoice has a customer.
- Create invoice with line items. Create an invoice in Xero with the order total and line items from Infusionsoft. Store the Xero invoice ID back in the Infusionsoft order so both records link.
- Update order with Xero ID. Write the Xero invoice ID to the Infusionsoft order so future updates know the invoice already exists in Xero and do not create a duplicate.