Sync Salesforce Closed Won donations to QuickBooks receipts
CRMMarketingAccounting
What it does
When a Closed Won Donation opportunity is marked for sync in Salesforce, this automation creates a QuickBooks cash receipt. It creates missing customers and items in QuickBooks so the receipt posts with complete data.
Who it's for
Accounting teams who need donation opportunities from Salesforce recorded as QuickBooks cash receipts without manual entry.
Apps used
How teams use this
Record donation receipts without manual QuickBooks entry
Mark a Closed Won Donation opportunity for sync in Salesforce and the cash receipt appears in QuickBooks with customer and product data already filled in. The team stops copying donation details between systems.
Sync only flagged opportunities to QuickBooks
Use the Sync to QuickBooks checkbox to control which Closed Won donations flow to QuickBooks. Opportunities without the flag stay in Salesforce only and do not create receipts.
Extend sync to other opportunity types
Add conditions to include other Opp Donation Type values beyond Donation so grants, pledges, or other revenue types also create QuickBooks receipts when marked for sync.
Prevent duplicate receipts with invoice number tracking
The automation checks that QuickBooks Invoice# is blank before creating a receipt. Populate this field after sync so the same opportunity never creates two receipts.
How it works
- Monitor Closed Won donations for sync. Watch for Salesforce opportunities where Sync to QuickBooks is true, Opp Donation Type equals Donation, and QuickBooks Invoice# is blank.
- Fetch the opportunity and account details. Retrieve the full opportunity record and its associated Salesforce account so customer and product information is available for QuickBooks.
- Create the customer if missing. Search QuickBooks for the customer by account name. If not found, create a new customer record so the receipt has a valid customer link.
- Create the product item if missing. Search QuickBooks for an item matching the opportunity product. If not found, create a new item so the receipt line item can post.
- Create the cash receipt in QuickBooks. Create a QuickBooks cash receipt linked to the customer with one line item for the opportunity product and amount so the donation posts.