Create QuickBooks invoice from Salesforce order line items

CRMMarketingSalesAccounting

What it does

When someone checks the Send to Quickbooks box on a Salesforce Invoice, this automation creates a matching invoice in QuickBooks. It then retrieves all associated Order Products and adds each one as a line item, combining duplicates at the same price into a single line.

Who it's for

Accounting teams who need to sync Salesforce invoices to QuickBooks without manual entry.

How teams use this

Sync invoices without manual data entry

Check the Send to Quickbooks box and the invoice appears in QuickBooks with all line items from the associated orders already attached. No re-entry needed.

Exclude pre-pay orders from invoices

Add a filter so Order Products marked as Pre-Pay in Salesforce are not included as line items on the QuickBooks invoice.

Route invoices by customer segment

Extend this automation to check the customer type in Salesforce and only sync invoices for specific account segments to QuickBooks.

Adapt for subscription billing

Retarget this flow to sync recurring invoices from a subscription management app instead of one-time Salesforce invoices.

How it works

  1. Check the Send to Quickbooks box. Mark the Send to Quickbooks checkbox on a Salesforce Invoice record to start the sync.
  2. Fetch all associated Order Products. Search Salesforce for all Orders tied to this Invoice, then retrieve every Order Product from each one so they can be added as line items.
  3. Create the invoice in QuickBooks. Create a new invoice in QuickBooks with the same fields as the Salesforce Invoice, then search for the associated customer to link it.
  4. Add line items to the invoice. Add each Order Product as a line item on the QuickBooks invoice. If two products have the same price, combine them into one line.