Create Xero invoice from Salesforce opportunity

CRMMarketingSalesAccounting

What it does

When a new opportunity is created in Salesforce with type Event Donor and stage Closed Won, this automation creates an invoice in Xero. The invoice number syncs back to the Salesforce opportunity so finance has a complete record.

Who it's for

Finance teams who need to automatically invoice donors in Xero when opportunities close in Salesforce.

How teams use this

Invoice donors when deals close

Create a Xero invoice automatically when an Event Donor opportunity reaches Closed Won in Salesforce. The invoice number syncs back to the opportunity record so finance has a complete audit trail.

Filter invoices by opportunity owner

Add a condition to only create invoices for opportunities owned by specific team members. This ensures the right people are notified and invoices go to the correct cost center.

Sync contact details to Xero

Include contact information from Salesforce when creating the Xero invoice so the donor record is complete. If the contact does not exist in Xero, the automation creates it first.

How it works

  1. Monitor for closed won opportunities. Watch Salesforce for new opportunities with type Event Donor and stage Closed Won so invoices are created only for qualified deals.
  2. Create invoice and update opportunity. Retrieve the account details from Salesforce, create an invoice in Xero with the line items, and update the Salesforce opportunity record with the Xero invoice number.