Create QuickBooks invoice when Salesforce opportunity closes

CRMMarketingSalesAccounting

What it does

When an opportunity reaches Closed Won in Salesforce, this automation searches QuickBooks for the customer. If the customer does not exist, it creates one, then generates a sales invoice in QuickBooks with a single line item.

Who it's for

Accounting teams who need to invoice closed deals without manual entry into QuickBooks.

How teams use this

Invoice closed deals automatically

When a sales rep marks an opportunity Closed Won in Salesforce, the invoice appears in QuickBooks the same day with no manual work. The team stops re-entering deal data.

Sync new customers to QuickBooks

If the customer does not exist in QuickBooks yet, this automation creates the record before the invoice is generated. Set the customer name and email from the Salesforce opportunity so both systems stay in sync.

Route invoices by opportunity type

Filter opportunities by type or product so only matching deals trigger invoice creation in QuickBooks. Route each invoice to different QuickBooks accounts or classes based on the opportunity category.

How it works

  1. Monitor opportunity stage change. When an opportunity is created or updated in Salesforce and the stage equals Closed Won, this automation starts.
  2. Search for the customer. Search QuickBooks for a customer record that matches the opportunity so the invoice links to the right account.
  3. Create customer if missing. When no customer ID is found in QuickBooks, create a new customer record from the Salesforce opportunity data.
  4. Create sales invoice. Generate a sales invoice in QuickBooks with a single line item tied to the customer and the closed opportunity amount.