Create QBO invoice when Salesforce opportunity closes

CRMMarketingSalesAccounting

What it does

When an opportunity stage changes to Closed Won in Salesforce, this automation creates an invoice in QuickBooks Online. The customer is created in QuickBooks if it does not already exist, and the invoice number is linked back to the opportunity.

Who it's for

Accounting teams who need to generate QuickBooks invoices automatically when deals close in Salesforce.

How teams use this

Close deals and invoice automatically

Mark an opportunity Closed Won in Salesforce and the invoice appears in QuickBooks with all line items. No manual data entry between systems.

Route invoices by sales region

Redirect this automation to only create invoices for opportunities owned by a specific sales team or region. The flow stays the same and only the condition changes.

Check customer exists before invoicing

Add a condition to verify the customer record exists in QuickBooks before creating the invoice, and stop or create the customer if missing. This prevents invoice errors.

How it works

  1. Opportunity updated to Closed Won. When an opportunity is updated and its stage changes to Closed Won in Salesforce, this automation begins and retrieves the associated account and line item details.
  2. Create invoice in QuickBooks with line items. Create an invoice in QuickBooks Online using the opportunity details and line items, then update the Salesforce opportunity with the invoice number so both systems stay in sync.