Which system owns customers, products and prices, and what to test before sales and finance share data
A HubSpot ERP integration connects the system where sales works with the system where finance and operations work. Without it, someone retypes every won deal as a sales order, and sales hears about unpaid invoices or credit holds by email. The hard part is rarely the connection itself. It is agreeing which system owns customers, products and prices.
This guide follows one deal from a quote in HubSpot to an order, an invoice and a payment in the ERP. It covers what to sync, the usual ways to connect, the details that cause duplicates and wrong prices, and nine tests to run before launch. The deal is illustrative. HubSpot’s behaviour comes from its own documentation, linked at the end.
HubSpot is usually the record for prospects, deals and the sales conversation. The ERP is usually the record for customer accounts, products, prices, orders, invoices and payments. Customers live in both, which is why they cause most of the trouble.
Scroll sideways to see all columns.
| Record and direction | What moves | What to agree |
|---|---|---|
| Companies and contacts: both ways | New customers from won deals; account numbers, addresses and payment terms from the ERP. | Which system creates the customer, and the ID both systems use to match it. |
| Products and prices: ERP to HubSpot | Items, list prices and price lists for the product library. | Whether sales may change a price on a quote, and within what discount. |
| Deals and quotes: HubSpot to ERP | Won deals with their line items, discounts and terms. | Which pipeline stage creates the ERP order, usually Closed won. |
| Sales orders: ERP to HubSpot | The order number and status in the ERP. | Writing the ERP order number back to the deal so both sides can find it. |
| Invoices and payments: ERP to HubSpot | Invoice numbers, amounts due and payment status. | Which status sales sees, and how often it updates. |
| Credit holds: ERP to HubSpot | Credit limits and accounts on hold. | Whether a deal can close for a customer on hold. |
A sales rep builds a quote in HubSpot with three products from the product library and a 5% discount. The customer signs and the deal moves to Closed won. The integration looks up the company in the ERP by its VAT or registration number, not by name: ACME SRL and Acme S.R.L. are the same company to a person, but not to a database. It creates the sales order with the three lines and the agreed discount, and writes the ERP order number back to the deal.
The ERP will not release the order, because the customer is over its credit limit. That status goes back to HubSpot, so the rep sees the hold on the deal instead of hearing about it a week later. When the invoice is paid, the payment status reaches the company record in HubSpot, which the account manager can see before the next renewal call.
HubSpot data sync. HubSpot can run a one-way or two-way sync of contacts, companies, deals and other supported objects with supported apps, Microsoft Dynamics among them, and checks for changes every five minutes. Check whether your ERP is supported, which objects and fields the sync covers and how it resolves conflicts, then run your own deals through it.
Integration platform. An integration platform (iPaaS) helps when HubSpot, the ERP, an online store and a billing system all exchange data. Your team still owns the mappings and the failed runs.
Custom API integration. Worth it when you can name a rule the sync cannot express: create orders only from one pipeline, check credit before releasing an order, apply customer-specific price lists, or split one deal into orders for several ERP companies. HubSpot’s CRM API covers deals, line items, products and quotes; most of the work is in the rules around them. Our guide to native connectors versus custom APIs works through that decision step by step.
Matching customers by name. Store a stable identifier on both sides: the ERP customer number on the HubSpot company, and the VAT or registration number where you have it.
Editing a deal after it closes. Decide what happens if a rep changes a line item or reopens the deal after the ERP order exists: update the order, raise a change request, or block the edit.
Prices owned twice. If reps can edit prices in HubSpot that the ERP owns, quotes and invoices will disagree. Sync the price list from the ERP and limit discounts to an agreed range.
Rate limits. HubSpot limits API calls per 10 seconds and per day, depending on the account and the type of app, and reports the remaining allowance in response headers. Bulk work, such as a nightly price sync for thousands of products, needs batching, back-off and a way to resume.
Personal data. Sync only the contact fields each side needs. An ERP rarely needs a contact’s marketing history.
Run these against a HubSpot test account or sandbox and an ERP test environment, with sales operations and finance. Agree the expected result first.
Scroll sideways to see all columns.
| Test case | Try this | What a safe result looks like |
|---|---|---|
| Won deal | Close a deal with three line items and a discount. | One ERP sales order with matching lines and discount, and its number on the deal. |
| New customer | Close a deal for a company the ERP does not know. | One new ERP customer, linked to the HubSpot company by a stable ID. |
| Name variation | Close a deal for an existing customer spelled differently. | The existing ERP customer is matched and no duplicate is created. |
| Credit hold | Close a deal for a customer over its credit limit. | The order is held and the hold is visible on the deal. |
| Other pipeline | Close a deal in a pipeline that should not create orders. | Nothing is created in the ERP. |
| Edit after close | Change a line item after the ERP order exists. | The agreed rule applies: the order updates, a change request appears, or the edit is blocked. |
| Price change | Change a list price in the ERP. | The HubSpot product library shows the new price after the next sync. |
| Invoice paid | Mark the invoice as paid in the ERP. | The payment status appears on the HubSpot company. |
| Bulk update | Update prices for a few thousand products. | The update finishes in batches, with throttled requests retried and reported. |
Note what actually happened in each test, any manual step, and the deal and order numbers that let someone find the record in both systems. Mark anything you have not tested as unverified.
- 01Which system owns customers?Decide where new customers are created and which ID both systems use to match them.
- 02What creates an order?A pipeline stage, a signed quote or a manual step. Each choice changes when operations sees the order.
- 03Who may change prices?If the ERP owns prices, agree the discount range sales can apply in HubSpot.
- 04What does sales need back from the ERP?Order number, invoice and payment status, credit holds. Sync only what someone will use.
If some orders also arrive by email or PDF, our sales order processing automation guide covers the review steps for those. For help connecting HubSpot with your ERP, our ERP integration services and API integration services pages explain what we check before proposing a build.
HubSpot documents data sync, the deals API and its API usage limits.