#Integration capabilities
The HubSpot integration enables:
- Deal sync: Closed deals automatically create AR invoices in Light
- Contact sync: HubSpot contacts synchronize to Light customer master
- Company sync: HubSpot companies synchronize to Light customers
- Deal value tracking: Monitor deal progression and associated revenue
- Custom property mapping: Map HubSpot custom properties to Light fields
This creates a unified sales-to-accounting workflow.
#Setting up HubSpot integration
To connect HubSpot:
- Navigate to Settings (gear icon) > Integrations > HubSpot
- Click Connect
- You're redirected to HubSpot to authorize
- Enter your HubSpot login credentials
- Review the permissions Light is requesting
- Click Authorize
- Light confirms the connection is active
Next, configure what data to sync.
#Configuring deal sync
Define how HubSpot deals become Light invoices:
- Navigate to Settings > Integrations > HubSpot > Deal Mapping
- Select Sync Deals: Toggle on
- Configure deal stage filters:
- Select which deal stages trigger invoice creation (typically "Closed Won")
- Only deals in these stages will sync
- Configure field mappings:
- HubSpot Deal Name → Light Invoice Description
- HubSpot Deal Amount → Light Invoice Total
- HubSpot Deal Close Date → Light Invoice Document Date
- HubSpot Associated Company → Light Customer
- HubSpot Deal Owner → Light Sales Rep (for reporting)
- Save mappings
Light validates mappings for consistency.
Sync HubSpot companies and contacts to Light customer data:
- Navigate to Settings > Integrations > HubSpot > Company Mapping
- Select Sync Companies: Toggle on
- Configure field mappings:
- HubSpot Company Name → Light Customer Name
- HubSpot Company Domain → Light Website
- HubSpot Company Industry → Light Industry
- HubSpot Company Phone → Light Phone
- Save
For contacts:
- Navigate to Contact Mapping
- Select Sync Contacts: Toggle on
- Configure mappings for contact information
#Deal pipeline and revenue stages
Configure which deal stages generate revenue recognition:
- Navigate to Deal Mapping > Stage Configuration
- Define stages and their revenue impact:
- Proposal: No invoice yet (deal not won)
- Negotiation: No invoice yet
- Closed Won: Create invoice (recognized revenue)
- Closed Lost: No invoice
- Light syncs only deals in stages you've configured to generate revenue
This ensures you don't record revenue prematurely.
#Handling multiple deal lines
If a HubSpot deal includes multiple line items:
- Create line items in HubSpot (via Products or custom configuration)
- In Light mapping, configure line-item syncing:
- HubSpot Product Name → Light Product
- HubSpot Quantity → Light Quantity
- HubSpot Unit Price → Light Unit Price
- Light creates Light invoices with matching line structure
This preserves product detail from HubSpot.
#Sync frequency
Configure how often Light checks HubSpot for new deals:
- Navigate to Settings > Integrations > HubSpot > Sync Settings
- Select frequency:
- Real-time: Check continuously (as deals move to closed won)
- Hourly: Check hourly
- Daily: Check daily at specified time
- Manual: Only sync when you click "Sync Now"
- Save
Real-time is ideal for tracking closed deals immediately. Daily is sufficient for most organizations.
#Monitoring sync activity
Track HubSpot sync history:
- Navigate to Settings > Integrations > HubSpot > Sync History
- View all past syncs:
- Date/time
- Number of deals processed
- Number created, updated, skipped
- Errors (if any)
- Click any sync to see detail:
- Which specific deals were processed
- Which successfully synced
- Which failed and why
This helps identify issues and track data flow.
#Manual sync trigger
Trigger a sync immediately (don't wait for scheduled sync):
- Navigate to Settings (gear icon) > Integrations > HubSpot
- Click Sync Now
- Light immediately checks HubSpot and syncs new deals
- You see summary of results
Useful when you close a large deal and need the invoice immediately.
#Handling sync errors
If deals fail to sync:
- Check the error message in sync history
- Common errors:
- Missing required field: Deal missing a mapped field
- Invalid amount: Deal amount not a valid number
- Company not found: HubSpot company doesn't match a Light customer
- Duplicate deal: Deal already synced (filtered out to prevent duplicates)
- Fix the issue in HubSpot
- Manually retry the sync
Tip: Create HubSpot validation rules to require fields before closing a deal. This prevents sync failures.
#Custom property mapping
Map HubSpot custom properties to Light:
- Create custom properties in HubSpot (e.g., "Project Code", "Customer Segment")
- In Light mapping, add custom property mappings:
- HubSpot Project Code → Light Cost Center
- HubSpot Customer Segment → Light Customer Segment Custom Property
- Light syncs these properties for reporting and cost allocation
#Deal renewal and re-sync
If you renew a HubSpot deal (e.g., annual contract renewed):
- HubSpot creates a new deal record for the renewal
- Light syncs the new deal as a new invoice
- Or, if you modify the existing deal amount, Light updates the Light invoice
Configure whether Light should create new or update existing invoices on deal changes.
#Forecasting and revenue tracking
Use synced deals for revenue forecasting:
- HubSpot deals represent future revenue (pipeline)
- Light invoices represent recognized revenue (booked)
- Compare HubSpot pipeline (forecast) to Light AR (actual bookings)
- Track deal progression: Pipeline → Closed → Invoiced → Paid
This provides full visibility from opportunity to cash.
#Reporting on synced data
Create reports analyzing synced deals:
- Navigate to Planning & Reports → Reports
- View revenue by:
- Customer (HubSpot company)
- Sales rep (HubSpot deal owner)
- Deal stage progression
- Close date trends
- Compare HubSpot forecast to Light recognized revenue
Light's custom reporting integrates HubSpot data for full analysis.
#Troubleshooting sync issues
Deals not syncing: Check that deals are in the correct stage, verify required fields are populated, check filter criteria.
Wrong customer assigned: Verify company mapping, check for duplicate customer names in Light.
Incorrect amounts: Check field mapping, ensure HubSpot deal amount is being read correctly.
Duplicate invoices: Check sync history to see if deal was already synced, adjust sync filters if needed.
Connection failed: Re-authorize HubSpot integration, verify your HubSpot account has API access.
#Exporting synced deals
Export synced deals and associated invoices:
- Navigate to Planning & Reports → Reports
- Filter by date range, customer, or rep
- Export to Excel or PDF
- Analyze deal activity and revenue impact
#Deal attribution and reporting
Track which deals drive revenue:
- Light invoices created from HubSpot deals include the source deal ID
- Use custom reporting to analyze:
- Revenue by deal size
- Revenue by deal source/channel
- Revenue by sales rep
- Understand which types of deals drive profitability
#Related articles