Create Bill.com Invoice from Salesforce Opportunity

CRMMarketingSalesAccounting

What it does

When a new or updated invoice appears in Salesforce, this automation searches for the related opportunity and contact. It then creates or links the Bill.com invoice so both systems stay in sync.

Who it's for

Accounting teams who need invoices created in Bill.com when opportunities close in Salesforce.

How teams use this

Sync closed opportunities to Bill.com

When an opportunity closes in Salesforce, the automation finds the customer and contact, then creates the matching invoice in Bill.com. No manual entry is needed in either system.

Route invoices by customer type

The automation checks the opportunity record type and routes individual customers differently than business accounts. Only the routing logic changes based on customer classification.

Link existing Bill.com customers

Add a step to check if the customer already exists in Bill.com by ID before creating a new one. This prevents duplicate records and only links the invoice to the existing customer.

How it works

  1. Monitor for new or updated invoices. Detect when an invoice record is created or updated in Salesforce so the automation can begin.
  2. Find the related opportunity. Search Salesforce for the opportunity linked to the invoice so the correct customer and details are used.
  3. Locate the primary contact. Search Salesforce for the contact associated with the opportunity to gather billing information.
  4. Create the Bill.com invoice. Create the invoice in Bill.com with the opportunity and contact details so both systems have the same record.