Expose Linked Opportunity ID in Invoice Workflow Triggers
D
Dylan Cadiz
Current Limitation
HighLevel allows invoices to be created directly from and linked to Opportunities. However, when an invoice triggers a workflow (Invoice Sent, Invoice Paid, Partial Payment, etc.), the linked Opportunity ID is not exposed as an available workflow field or API value.
This prevents automations from identifying and updating the specific Opportunity associated with that invoice.
Use Case
A single contact may have multiple active Opportunities, each with its own invoice.
For example:
Opportunity A – Invoice #1001
Opportunity B – Invoice #1002
Opportunity C – Invoice #1003
When Invoice #1002 is paid, the workflow should automatically identify and update Opportunity B, without affecting Opportunities A or C.
Currently, using Find Opportunity based on the Contact ID cannot reliably identify the correct Opportunity.
Proposed Solution
Expose the linked opportunityId in all invoice-related workflow triggers and webhook payloads.
Allow the Find Opportunity action to use this ID directly.
Automatically retain the linked Opportunity context when an invoice triggers a workflow.
Make the linked Opportunity ID accessible through the Get Invoice API endpoint.
Business Impact
This would allow businesses to automate:
Deposit and final payment tracking
Opportunity payment status updates
Pipeline stage changes based on payments
Production and scheduling workflows
Multiple projects and invoices under the same contact
Expected Result: When an invoice is paid, HighLevel should automatically recognize which Opportunity the invoice is linked to and allow workflow actions to update that exact Opportunity.
This would eliminate manual invoice tracking, prevent incorrect Opportunity updates, and enable reliable payment-driven automation.
Log In