Create Salesforce invoice from Xero authorized invoice

AccountingUtilitiesCRMMarketingSales

What it does

When an invoice in Xero is updated to Authorised, this automation checks the invoice type. It creates a linked Salesforce invoice with the account from Xero so the record ties to the right customer.

Who it's for

Accounting teams who need Salesforce invoices synced from Xero without manual entry.

How teams use this

Sync authorized invoices to Salesforce

When an invoice reaches Authorised status in Xero, a matching invoice is created in Salesforce with the same account link. The team sees both systems stay in sync without manual work.

Route invoices by customer type

Extend this automation to filter invoices by account type or region in Salesforce so different teams receive only the invoices they need. Add a condition to check the account field before creating the record.

Notify teams of new invoices

Send a message to a Slack channel when the Salesforce invoice is created so the revenue team knows an authorized invoice has been synced. Only the notification step is added to the existing flow.

How it works

  1. Monitor for authorized invoices. When an invoice in Xero is updated to Authorised status, this automation runs and checks the invoice type.
  2. Verify the invoice type. Check that the invoice type contains the code ACCREC so only customer invoices are synced to Salesforce, not other transaction types.
  3. Find the linked account. Search Salesforce for the account that matches the Xero invoice so the new invoice record is tied to the right customer.
  4. Create the Salesforce invoice. Create a new invoice in Salesforce linked to the account and populated with the Xero invoice details.