# Companies

A **company** is an organization that you do business with. Companies can be designated as customers (who purchase from you), suppliers (who you purchase from), or both.

{% hint style="info" %}
**Understand company relationships**

A **company** can be *associated* with many **locations**, where assets can be located. A single company can have multiple locations, which helps in tracking where assets are located and where services are provided. (A single location can belong to only one company.)
{% endhint %}

Companies can have one or both of these roles:

* **Customer** - A company that purchases from you
* **Supplier** - A company that you purchase from

## Company logos

Companies display logos automatically based on their domain name. When a company has a domain configured, Hardfin fetches and displays the company's logo from public sources. Logos appear on the company list and company details pages, making it easier to quickly identify companies when working with customer lists.

### Domain field

Each company can have a **domain** field that stores the company's web domain (for example, "acme.com"). This field:

* Enables automatic logo display for the company
* Can be set manually when creating or editing a company
* Syncs automatically from CRM integrations (HubSpot, Salesforce) when available

The domain field appears in the company basic information section and can be edited by clicking on the field.

## List all companies

To see a list of all companies, navigate to the [companies page](https://assets.hardfin.com/companies). Here you will see a table with company names, logos, role indicators (customer/supplier), associated locations, how many assets a company has on location, and information about owned assets.

Use the **search** or **filter** options to refine the company list. You can filter by:

* **All companies** - View all companies regardless of role
* **Customers** - View only companies designated as customers
* **Suppliers** - View only companies designated as suppliers

<figure><img src="/files/Ia92s4H512dyxNPJPyx3" alt=""><figcaption><p>Company list view with role filters</p></figcaption></figure>

## View individual company details

To view the full details of a company, click the company's name in the company list:

<figure><img src="/files/GnzAlCRO9z8U8eKJ427o" alt=""><figcaption><p>Link to open company details</p></figcaption></figure>

A company detail page will appear showing the complete company details:

<figure><img src="/files/xtQBLM9HF7XxToLyBJkY" alt=""><figcaption><p>Company details page</p></figcaption></figure>

The company detail page is oriented to give a comprehensive overview of your business relationship with the company:

* **Company value** - the ARR[^1] and [lifetime value](#user-content-fn-2)[^2] (for customer relationships)
* **Projects summary** - a summary of active, upcoming, and past projects for the company
* **Assets** - breakdown of assets [owned by the company](#user-content-fn-3)[^3] and [on location with the company](#user-content-fn-4)[^4]
* **Sites** - breakdown of company locations by active[^5] and inactive[^6] status

The page also includes a **billing summary** for the company across all the company's projects (for customer relationships).

Finally, this page includes detailed views to access the following information related to your company record:

* **Projects** - projects that are related to this company
* **Locations** - locations that belong to this company
* **Assets on location** - a list of assets that are located at this company's locations
* **Assets owned** - a list of assets that are owned by this company

{% hint style="info" %}
Note that *assets may be at a company's location even if they are not owned by that company*. This is usually the case for hardware-as-a-service business models.

Also note that *assets may be owned by a company even if they are not at a location owned by that company*. This is usually the case for assets that have been returned for service or repair.
{% endhint %}

Company details also include a full [audit log](/monitor-the-details/audit-log.md) of the changes made to the company over time.

## Create a company

To create an individual company, click the "Add company" button and a window will appear. Enter the company's name, specify whether the company is a customer, supplier, or both, and click "Add."

<figure><img src="/files/J2NAGRLXGt6zRfgJIzDa" alt="" width="375"><figcaption><p>"Add company" window</p></figcaption></figure>

**Name** is the only field required to create a new company. The role flags (customer/supplier) can be set during creation or edited later.

### Brand suggestions

As you type a company name (after 2 or more characters), Hardfin displays brand suggestions with company logos to help you quickly identify and select the correct company. Selecting a brand suggestion automatically populates the company name and domain fields, and displays the company logo on the record. This helps ensure accurate and consistent company information across your organization.

### Company roles

When creating or editing a company, you can specify:

* **Customer?** - Turn on if the company purchases from you (for projects and fulfillment)
* **Supplier?** - Turn on if you purchase from the company (for procurement)

A company can be both a customer and a supplier. Tags appear next to the company name throughout the interface to help you quickly identify company relationships.

**Default role assignment:**

* Companies created from customer contexts (such as project creation) automatically default to customer role
* Companies created from supplier contexts (such as procurement) automatically default to supplier role
* You can adjust these roles at any time

#### Bulk creation

To import companies in bulk, you can [configure an integration with a CRM or ERP](/manage-your-account/integrations.md), or [set up API access](/advanced-options/api-access.md). For more options, please [contact support](mailto:support@hardfin.com).

## Edit a company

To edit a company, click the pencil icon ✏️ in the company details window.

<figure><img src="/files/QT8Rr9d1pX5dQUkod2Xg" alt="" width="563"><figcaption><p>Edit company details button</p></figcaption></figure>

A small window will appear to edit the company's name, role flags (customer/supplier), billing contact, and billing address:

<figure><img src="/files/gKqBh0OX87wsutNS0hcC" alt="" width="375"><figcaption><p>Edit company details window</p></figcaption></figure>

Hover over the information icons next to the role flags to see tooltips explaining their purpose.

## Merge companies

When you have duplicate company records or need to consolidate company data, you can merge two companies into a single record. This process combines all associated data (projects, locations, assets, billing information) from both companies into one retained company record.

<figure><img src="/files/LYAOVAdhHY90qaqfVm6F" alt="" width="563"><figcaption><p>Merge companies window</p></figcaption></figure>

To merge companies:

1. Navigate to the company you want to keep (the "retained" company)
2. Click the merge icon in the top right of the company details window
3. Select the company you want to merge into this record (the "removed" company)
4. Review the merge details, including role indicators for both companies
5. Click "Merge companies" to complete the process

{% hint style="warning" %}
**Merging companies is permanent and cannot be undone.** All data from the removed company will be transferred to the retained company, and the removed company record will be deleted. Make sure you have selected the correct companies before proceeding.
{% endhint %}

The merge process automatically:

* Transfers all locations from the removed company to the retained company
* Consolidates all projects and associated billing information
* Moves all asset ownership and location assignments
* Combines role flags (if either company is a customer, the merged company will be a customer; same for supplier)
* Preserves audit history for **both** companies in the new merged company record
* Updates external system references if external IDs are configured

### External company ID

Each company can have an optional external ID field that stores identifiers from external systems such as a CRM, ERP, accounting software, or internal database. This field:

* Appears in the company basic information section
* Can be edited by clicking on the field
* Is included in company merge operations
* Helps maintain consistency when integrating with other business systems
* Is tracked in the audit log when changed

The external ID is particularly useful when merging companies, as it helps ensure the correct external system references are maintained after the merge.

## Archive a company

{% hint style="info" %}
[Archiving objects](#archiving-companies) hides the object from the list view and dropdown menus. The object can still be viewed in the list by selecting the "Archived" option. Archived objects still appear in dropdown menus when searched by name.
{% endhint %}

To archive a company that is not yet archived, click the archive icon 👁️‍🗨️ in the company details window.

<figure><img src="/files/Fawf7aMQagrh9pFsRQLN" alt="" width="563"><figcaption><p>"Archive company" button</p></figcaption></figure>

A small badge will appear on the company indicating *Archived*.

<figure><img src="/files/4hUUE7UVdkWPUiSBNZ8c" alt="" width="563"><figcaption><p>"Archived" badge for a company</p></figcaption></figure>

The company will now be visible in the company list only when "Include archived companies" is selected.

<figure><img src="/files/tYx2eWOcRzXqGxYoNMHD" alt="" width="563"><figcaption><p>Archived company showing in list</p></figcaption></figure>

To unarchive a company that is already archived, edit the company and select the unarchive icon 👁️‍🗨~~️~~ in the company details window.

<figure><img src="/files/uuPyqpy9vNqCVAqeYjoL" alt="" width="563"><figcaption><p>"Unarchive company" button</p></figcaption></figure>

[^1]: **Annual recurring revenue (ARR)** is the annualized total of recurring line items for all active projects associated with the company

[^2]: **Lifetime value** is the total value of the company for all projects associated with the company

[^3]: **Company-owned assets** are assets that your organization has sold outright to the company

[^4]: **On-location assets** are assets that are at a location associated with the company (they may be sold to the company or owned by your organization on a subscription program)

[^5]: **Active** locations have assets located at them

[^6]: **Inactive** locations do not have assets located at them


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.hardfin.com/set-up-the-basics/companies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
