Create QuickBooks invoice when opportunity is ready
CRMMarketingSalesAccounting
What it does
When an opportunity stage in Salesforce is set to Ready to Invoice, this automation searches QuickBooks for the customer and creates one if needed. It then builds a QuickBooks invoice with line items from the opportunity.
Who it's for
Accounting teams who need to invoice opportunities from Salesforce without manually creating QuickBooks invoices.
Apps used
How teams use this
Invoice opportunities without manual entry
When an opportunity reaches Ready to Invoice in Salesforce, the QuickBooks invoice is created automatically with all line items and details. The team saves time and reduces errors from re-entering data.
Route invoices to accounting for review
After the invoice is created in QuickBooks, the Salesforce opportunity stage moves to Send to Accounting so the accounting team knows it is ready for final review and approval.
Create missing customers on the fly
If a customer does not exist in QuickBooks, this automation creates one from the Salesforce account and invoice department data before building the invoice. No manual customer setup is needed.
Filter line items by product type
Only include line items without the word cost in the description so internal cost lines stay out of customer-facing invoices. Set a condition to exclude cost-related products from the QuickBooks invoice.
How it works
- Opportunity stage changes to Ready to Invoice. An opportunity in Salesforce is created or updated with the Project Status set to Ready to Invoice and no QB Invoice No present.
- Search for customer in QuickBooks. Search QuickBooks for a customer matching the Salesforce account name so the invoice links to the right customer record.
- Create customer if missing. If the customer does not exist in QuickBooks, create one using the account and invoice department information from Salesforce.
- Build invoice with line items. Create a QuickBooks invoice with line items from the opportunity, formatted with line description, country, project number, and client PO number.
- Update opportunity with invoice number. Write the QuickBooks invoice number back to the Salesforce opportunity and change the stage to Send to Accounting.