---
title: Create an Advanced Billing Customer Linked to a HubSpot Company
url: https://docs.maxio.com/selling/hubspot/using/create-an-advanced-billing-customer-linked-to-a-hubspot-company
applies_to: Advanced Billing
updated: 2026-10-26
---

# Create an Advanced Billing Customer Linked to a HubSpot Company

Create a new Advanced Billing customer so it links to the matching HubSpot Contact and Company, using their shared IDs.

> This requires <a href="https://docs.maxio.com/selling/hubspot/configuration/configure-hubspot-integration-sync-options" target="_blank" rel="noopener noreferrer">Use Contact and Company IDs</a> to be enabled for your site. Without it, a new Advanced Billing customer still matches or creates a HubSpot Contact by email, but its Contact ID is never written back to the customer record.

## Create a customer linked to a HubSpot Contact

This links the new customer to a HubSpot Contact automatically, based on the email address you enter.

**To create a customer linked to a HubSpot Contact**

1. In Advanced Billing, create the new customer as you normally would, entering the customer's email address.
2. The integration looks up an existing HubSpot Contact by that email address.
   - If a matching Contact exists, its ID populates the new customer's **Contact ID** field automatically.
   - If no matching Contact exists, the integration creates one in HubSpot, then populates the **Contact ID** field with the new Contact's ID.

### What to expect

The **Contact ID** field appears on the customer record once the integration finds or creates the matching HubSpot Contact — you don't set it manually.

![a customer record with the HubSpot Contact ID and Company ID fields outlined](https://docs.maxio.com/content-images/selling/hubspot/using/create-an-advanced-billing-customer-linked-to-a-hubspot-company/31418169072397_unnamed_2.png)

*Contact ID and Company ID fields on a customer record*

> If a matching HubSpot Contact already existed and your site's match behavior is set to **Overwrite all fields**, creating the Advanced Billing customer also overwrites that existing Contact's fields in HubSpot.

## Link the customer to a HubSpot Company

The **Contact ID** populates automatically, but you add the **Company ID** yourself.

**To link the customer to a HubSpot Company**

1. Open the customer record and select **Edit Customer**.
2. Find the **HubSpot Company** field and select the dropdown.
3. Search for the related company. Matching companies found in HubSpot appear in the list, alongside an option to **Create new Company**.
4. Select the matching company, or select **Create new Company** to create one in HubSpot at the same time.
5. Save the customer record.

To understand how the Contact ID stays in sync after a HubSpot contact merge, see <a href="https://docs.maxio.com/selling/hubspot/sync/sync-hubspot-and-advanced-billing-fields#hubspot-contact-id-updates-after-contact-merges" target="_blank" rel="noopener noreferrer">HubSpot Contact ID updates after contact merges</a>.
