Sync new Replicon invoices to Xero
Human ResourcesFinanceTime and ExpenseAccounting
What it does
When an invoice in Replicon is marked Queued for Sync, this automation searches Xero for the customer. If the customer does not exist in Xero, it creates one from Replicon client data, then syncs all invoice line items to Xero and updates the invoice status in Replicon.
Who it's for
Accounting teams who use Replicon for projects and Xero for accounting, and need invoices to sync automatically.
How teams use this
Sync invoices when Replicon owns client data
Create customers in Xero on the fly from Replicon client records so invoices sync without manual setup. This works when Replicon is the source of truth for who the clients are.
Sync only invoices that are not yet billed
Filter out invoices already marked billed or paid in Replicon before syncing to Xero so duplicate billing does not happen. The automation checks the status and only processes ready invoices.
Map line items to Xero inventory codes
Customize how time, fixed bid, and expense line items are named and coded when they sync to Xero. Set the Item name or Item code to match your Xero inventory so line items post to the right accounts.
Stop sync if customer not in Xero
Halt the automation if the client is not found in Xero and run a separate flow to sync customers from Xero to Replicon instead. This applies when Xero is the master system for client data.
How it works
- Pick up invoices ready to sync. Monitor Replicon for invoices with Sync Status set to Queued for Sync, excluding any already billed or paid.
- Search Xero for the customer. Search Xero for a contact matching the Replicon client name. If no match is found, retrieve the client details from Replicon and create the contact in Xero.
- Create invoice with line items. Create the invoice header in Xero with the first line item, then loop through time, fixed bid, and expense line items from Replicon to add each one to the Xero invoice.
- Mark the invoice as synced. Update the invoice in Replicon by setting the External ID to the Xero invoice number and changing Sync Status to Synced.