How do I integrate with e-conomic?
The Hubhus ↔ e-conomic integration allows you to synchronize customers, invoices, orders, and product updates in real time.
On this page
Jump to any section using the links below
Syncing Hubhus with e-conomic
The Hubhus ↔ e-conomic integration allows you to synchronize customers, invoices, orders, and product updates in real time.
To enable live synchronization, e-conomic must send webhook events to Hubhus whenever key accounting objects are updated.
This article explains how to set up the integration, how webhook data flows, and what to do if updates are not syncing correctly.
1. Setting up the e-conomic integration
Table of Contents
- 1. Setting up the e-conomic integration
- 2. Required webhooks and their configuration
- A. Cashbook posted (Kassekladde bogført)
- B. Invoice posted (Faktura bogført)
- C. Order updated (Ordre opdateret)
- D. Quotation updated (Tilbud opdateret)
- E. Product updated (Vare opdateret)
- 3. How synchronization works
- 4. Troubleshooting sync issues
- ✔ Check webhook configuration
- ✔ Confirm permissions in e-conomic
- ✔ Verify that the correct objects were updated
- ✔ Check Hubhus logs
- ✔ If objects are deleted in e-conomic
- 5. Field mapping considerations
- Summary
Go to Account -> Integrations -> "E-conomic - Sync campaigns with E-conomic quotations, orders and invoices"
To enable real-time sync, you must configure webhooks inside your e-conomic account. These webhooks notify Hubhus whenever something important happens — such as an invoice being posted.
Where to configure webhooks
Go to:
https://secure.e-conomic.com/settings/extensions/web-hooks
You must create five webhooks:
2. Required webhooks and their configuration
Below are the exact webhook configurations required for Hubhus.
A. Cashbook posted (Kassekladde bogført)
Name: Kasseklade hook
Type: Kassekladde bogført
URL:https://leadvalidator.dk/economic/webhook/hubhus/cashbook-booked
Data:book=[DAYBOOKNO]&from=[FROMSERIALNO]&to=[TOSERIALNO]
Content-Type: application/x-www-form-urlencoded
B. Invoice posted (Faktura bogført)
Name: Faktura hook
Type: Faktura bogført
URL:https://leadvalidator.dk/economic/webhook/hubhus/invoice-booked
Data:number=[INVOICENO]
Content-Type: application/x-www-form-urlencoded
C. Order updated (Ordre opdateret)
Name: Ordre hook
Type: Ordre opdateret
URL:https://leadvalidator.dk/economic/webhook/hubhus/order-updated
Data:old=[OLDNUMBER]&new=[NEWNUMBER]
Content-Type: application/x-www-form-urlencoded
D. Quotation updated (Tilbud opdateret)
Name: Tilbud hook
Type: Tilbud opdateret
URL:https://leadvalidator.dk/economic/webhook/hubhus/quotation-updated
Data:old=[OLDNUMBER]&new=[NEWNUMBER]
Content-Type: application/x-www-form-urlencoded
E. Product updated (Vare opdateret)
Name: Vare hook
Type: Vare opdateret
URL:https://leadvalidator.dk/economic/webhook/hubhus/product-updated
Data:old=[OLDNUMBER]&new=[NEWNUMBER]
Content-Type: application/x-www-form-urlencoded
3. How synchronization works
Once the webhooks are configured:
e-conomic notifies Hubhus instantly when invoices, cashbook entries, orders, quotes, or products are updated.
Hubhus fetches the related e-conomic data.
The corresponding lead or campaign workflow is updated accordingly.
This enables:
Automatic invoice status updates
Synchronizing customer financial activity
Updating offer/order numbers
Keeping product prices or descriptions aligned
4. Troubleshooting sync issues
If events are not syncing:
✔ Check webhook configuration
Even small typos in URL, Data fields, or Content-Type will break the sync.
✔ Confirm permissions in e-conomic
The user setting up the webhooks must have full access to the relevant modules.
✔ Verify that the correct objects were updated
Some events (e.g., editing an invoice draft) do not trigger webhooks — only posted items.
✔ Check Hubhus logs
Campaign or system logs may show:
Missing fields
Invalid numbers
Incorrect mapping
API errors returned from e-conomic
✔ If objects are deleted in e-conomic
Deleted items do not trigger webhooks. You may need manual sync.
5. Field mapping considerations
The integration relies on:
Matching customer identifiers
Correctly mapped lead fields
Consistent product numbers and pricing
Unique lead or order identifiers used across systems
If the mapping does not match your accounting structure, sync results may be unpredictable.
Always ensure:
Customer numbers are unique
Orders and quotations use correct numbers
Products have consistent IDs
If required, Hubhus support can help align field mappings.
Summary
To integrate Hubhus with e-conomic:
Configure five required webhooks in e-conomic
Enter the exact URLs and data templates
Hubhus receives real-time financial updates
Sync ensures orders, invoices, quotes, and products stay aligned
Use logs and permissions checks to resolve issues
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article