Sync Salesforce Closed-Won opportunities to QuickBooks invoices

CRMMarketingSalesAccountingUtilities

What it does

When a Salesforce opportunity moves to Closed-Won, this automation creates a QuickBooks invoice. It also creates any missing customers, contacts, and items in QuickBooks so the invoice has all required data.

Who it's for

Accounting teams who need Closed-Won deals to flow into QuickBooks as invoices without manual entry.

How teams use this

Invoice customers automatically on close

When a deal closes in Salesforce, the invoice is ready in QuickBooks with all line items and the correct customer. The team no longer re-enters the data by hand.

Sync invoices to a different Salesforce org

Point this automation at another Salesforce instance so closed deals from that org flow into the same QuickBooks account. The steps and logic stay the same.

Include primary contact as invoice recipient

Enable the sync preference to pull both accounts and primary contact roles from Salesforce, then set the invoice recipient to the primary contact. This requires the contact sync setting to be active.

Handle multicurrency invoices with exchange rates

Enable the multicurrency company setting so each invoice is created in the customer's home currency using QuickBooks real-time exchange rates. Only the setting needs to change.

How it works

  1. Monitor for Closed-Won opportunities. Watch Salesforce for opportunities that move to the Closed-Won stage so this automation can process them.
  2. Search for the customer in QuickBooks. Look up the opportunity account in QuickBooks by display name to avoid creating a duplicate customer record.
  3. Create missing customers and items. If the account or primary contact does not exist in QuickBooks, create them as customers. Also create any opportunity products as items if they are not already present.
  4. Create the invoice. Create a QuickBooks invoice directed to the account or primary contact, add the opportunity products as line items, and apply tax based on your settings.
  5. Store the invoice ID. Append the QuickBooks invoice ID or invoice number to the Salesforce opportunity description so both records stay linked.