Sync Salesforce Closed Won opportunities to QuickBooks invoices

CRMMarketingSalesAccounting

What it does

When an opportunity is updated to Closed Won in Salesforce, this automation creates a sales invoice in QuickBooks. The Salesforce account details populate the invoice so the customer and amount are already filled in.

Who it's for

Accounting teams who bill closed deals without switching between Salesforce and QuickBooks.

How teams use this

Bill closed deals automatically

When a deal moves to Closed Won in Salesforce, the invoice is created in QuickBooks right away with the customer and amount already filled in. No manual entry needed.

Route invoices by sales region

Adjust the condition to check the opportunity owner or account region so invoices route to the correct QuickBooks customer or location. The rest of the flow stays the same.

Add line items from products

Include opportunity line items in the QuickBooks invoice instead of a single line, and set the invoice status to draft or sent based on a field in Salesforce.

Verify the customer exists first

Check if the customer is already in QuickBooks before creating the invoice. If not found, either stop with an error or create the customer on the fly.

How it works

  1. Monitor for Closed Won opportunities. Watch for opportunities updated in Salesforce. The automation checks how far back to look based on the Since parameter you set.
  2. Fetch the account details. Retrieve the associated Salesforce account information so the customer data is ready to build the QuickBooks invoice.
  3. Create the sales invoice. Create a sales invoice in QuickBooks with a single line item using the account details and opportunity amount from Salesforce.
  4. Log the invoice number. Update the Salesforce opportunity to store the QuickBooks invoice number so the deal and the invoice stay linked.