Create QuickBooks PO and Invoice from Salesforce Opportunity

CRMMarketingProductivitySales EnablementAccounting

What it does

When an opportunity in Salesforce is changed to Converted to Order, this automation creates a purchase order in QuickBooks to send to the supplier and an invoice to send to the customer.

Who it's for

Finance teams who need to generate QuickBooks documents from closed Salesforce deals without manual data entry.

How teams use this

Automate order-to-cash from Salesforce

When a deal closes in Salesforce, both the supplier PO and customer invoice are created in QuickBooks and sent automatically. The finance team no longer needs to manually create these documents.

Route documents to different email recipients

Send the purchase order to a procurement email and the invoice to the customer's billing contact instead of a single address. Only the email recipients change in the Gmail step.

Add approval before sending to supplier

Include a condition to check if the PO amount exceeds a threshold, and route high-value orders to a manager for approval before the supplier email is sent. This requires adding an approval step and a conditional check on the PO total.

Map custom fields to QuickBooks documents

Set custom fields from the Salesforce opportunity such as project code or cost center on the QuickBooks PO and invoice so accounting records match the deal details. This requires field mapping in both the PO and invoice creation steps.

How it works

  1. Opportunity stage changes to Converted to Order. When someone updates an opportunity stage to Converted to Order in Salesforce, this automation retrieves the opportunity details including the customer PO number and quote line items.
  2. Search for the customer in QuickBooks. Search QuickBooks to see if the customer from the opportunity already exists so the PO and invoice are linked to the correct account.
  3. Create purchase order for supplier. Create a purchase order in QuickBooks with all quote details and costs from the Salesforce opportunity to send to the supplier for fulfillment.
  4. Create invoice for customer. Create an invoice in QuickBooks with all quote details and the customer's purchase price from the opportunity to send for payment.
  5. Send documents via email. Send the purchase order to the supplier and the invoice to the customer via Gmail so both parties have the documents they need.