Sync Salesforce payment terms to QuickBooks invoices

CRMMarketingAccounting

What it does

When a payment term is created in Salesforce with stage Waiting for payment and a QuickBooks customer ID, this automation creates an invoice in QuickBooks. It then updates the Salesforce record with the invoice number so both systems stay in sync.

Who it's for

Accounting teams who need to invoice customers in QuickBooks when a deal reaches payment stage in Salesforce.

How teams use this

Invoice closed deals automatically

When a deal moves to Waiting for payment in Salesforce, the invoice is created in QuickBooks and linked back to the opportunity. The team no longer needs to manually create invoices in QuickBooks.

Retarget the stage condition

Change the stage from Waiting for payment to a different stage that matches your business practice, such as Closed Won or Ready to invoice. The flow runs the same way with the new trigger condition.

Add email notifications to the flow

Include email steps after the invoice is created so the customer receives the invoice and the sales team gets a notification. Set up email templates for each outcome.

Check for missing customers before invoicing

Add a condition to verify the customer exists in QuickBooks before creating the invoice, or create the customer on the fly if not found. This prevents invoice creation errors.

How it works

  1. Monitor payment terms in Salesforce. Watch for new or updated opportunities where the stage is Waiting for payment, the due date is in the future, no QuickBooks invoice exists yet, and a QuickBooks customer ID is present.
  2. Search QuickBooks for items and terms. Search QuickBooks for line items and payment terms that match the Salesforce opportunity so the invoice is built with the right details from both systems.
  3. Verify the customer in QuickBooks. Search QuickBooks for the customer using the stored customer ID to confirm the account exists before the invoice is created.
  4. Create the invoice. Create a multi-line invoice in QuickBooks with the items, terms, and customer details from Salesforce.
  5. Update the opportunity record. Write the QuickBooks invoice number back to the Salesforce opportunity so both systems stay in sync.