Sync Infusionsoft orders to Xero invoices
CRMMarketingAccountingUtilities
What it does
When an invoice is created in Infusionsoft with the transfer to Xero flag, this automation searches Xero for that invoice. If found and authorised, payments are added. If not found, the contact, line items, and invoice are created in Xero.
Who it's for
Accounting teams who need invoices and payments synced from Infusionsoft to Xero without manual entry.
Apps used
How teams use this
Create invoices without manual data entry
Mark an Infusionsoft order for transfer and the invoice, contact, and line items are created in Xero automatically with the order ID stored as the external reference.
Add payments to existing invoices
When an invoice already exists in Xero with authorised status, payments from Infusionsoft are added to it instead of creating a duplicate.
Apply tax rates based on customer location
Extend this automation to check the customer's shipping address and apply the correct sales tax rate and payment account based on their country of residence.
Prevent duplicate payments from being applied
Add a check to see if a payment has already been applied to the Xero invoice before adding it, so duplicate payments are not created.
How it works
- Order created in Infusionsoft. An order is created in Infusionsoft and marked with the transfer to Xero flag so this automation knows to process it.
- Search for the invoice in Xero. Search Xero for an invoice matching the Infusionsoft order. If found and authorised, add payments. If not found, proceed to create it.
- Create or update the contact. Search Xero for the customer contact. If it does not exist, fetch the contact details from Infusionsoft and create it in Xero.
- Process and add line items. For each item on the order, search Xero for it. If not found, verify it exists in Infusionsoft as a product, then create it in Xero and add it to the invoice.
- Store the Xero invoice number. Update the Infusionsoft order with the Xero invoice ID in the Xero Invoice Number field so the records stay linked.