> ## Documentation Index
> Fetch the complete documentation index at: https://zenskar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Concepts: How customers work

> This document explains customers, the records of the businesses and individuals that you bill: addresses, a tax treatment, tax IDs, billing preferences, contacts, and the customer portal.

## Customers

> [accordion] Walkthroughs
>
> You can start with a walkthrough instead of reading this document first. A walkthrough is the practical extension of the concepts in this document. It puts them into practice through one example with concrete values. Each part of the walkthrough explains the concepts that its steps apply and links to the sections that cover them.
>
> | Walkthrough | What it shows |
> | - | - |
> | [End-to-end walkthrough: How customers work](https://zenskar.com/docs/20260301/zenskar-modules/customers/walkthroughs.md) | This example-based document shows how your billing team adds Acme Corp as a customer: it enters the details, the default billing address, the tax treatment, and the billing preferences of Acme Corp, adds a contact, updates the address after a move, and shares the customer portal. |

> [accordion] Map of concepts
>
> | Concept | What it is | What it is used for |
> | - | - | - |
> | [Customer](#customers-who-you-bill) | The record of a business or an individual that you bill | Zenskar identifies each customer by a customer ID. |
> | [External ID](#customers-who-you-bill) | The identifier of a customer in a system outside Zenskar, such as your CRM | An external ID ties a customer to the same customer in a system outside Zenskar. |
> | [Customer ID](#customers-who-you-bill) | The identifier that Zenskar assigns to a customer record when you add it | A customer ID identifies a customer in Zenskar. |
> | [Tax treatment](#tax-treatment-how-a-customer-is-classified-for-tax) | The classification of a customer for tax: as a business or an individual, and as tax exempt or not | Each tax engine decides which parts of the tax treatment of a customer it uses. |
> | [Customer type](#tax-treatment-how-a-customer-is-classified-for-tax) | The part of the tax treatment that classifies a customer as a business (B2B) or an individual (B2C) | The customer type is one of the two parts of the tax treatment of a customer. |
> | [Tax ID](#tax-ids-how-a-tax-authority-identifies-your-customer) | A number that a tax authority assigns to your customer for one kind of tax | Each tax engine decides which tax IDs of a customer it uses. |
> | [Billing preferences](#billing-preferences-how-zenskar-charges-and-emails-a-customer) | The two settings of a customer that decide whether Zenskar charges the customer automatically and emails the customer about invoices | The billing preferences of a customer apply to every invoice of the customer. |
> | [Automatic charging](#billing-preferences-how-zenskar-charges-and-emails-a-customer) | The billing preference with which Zenskar charges the default payment method of a customer when an invoice is due | If automatic charging is off for a customer, Zenskar charges no invoice of the customer. |
> | [Customer portal](#customer-portal-what-your-customer-sees) | A website through which your customer can view and manage their billing in Zenskar | Each link to the customer portal opens a session for one customer. |

> [accordion] Related modules
>
> Customers uses the following modules:
>
> | Module | Details |
> | - | - |
> | [Business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/business-entity.md) | Every customer belongs to one business entity. The business entity bills the customer. |
> | [Custom attributes](https://zenskar.com/docs/20260301/zenskar-modules/settings/custom-attributes/concepts.md#custom-attributes-details-that-you-add-to-records) | A customer has a value for each customer attribute that applies to the business entity of the customer. |
> | [Entitlements](https://zenskar.com/docs/20260301/zenskar-modules/more/entitlements.md) | The customer portal shows the entitlements of each customer. |
>
> The following modules use Customers:
>
> | Module | Details |
> | - | - |
> | [Contracts](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contracts.md#contracts-what-you-agree-with-a-customer) | Every contract belongs to one customer. |
> | [Invoices](https://zenskar.com/docs/20260301/zenskar-modules/invoices/concepts/invoices.md#invoices-what-you-bill-on-one-date) | Every invoice bills one customer. The invoice uses the billing preferences and the contacts of the customer. |
> | [Tax configuration](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#comparison-of-tax-engines) | A tax engine uses the default billing address and the tax treatment of a customer. A third-party tax engine also uses the tax IDs of the customer. |
> | [Usage](https://zenskar.com/docs/20260301/zenskar-modules/usage/concepts/billable-metrics.md#billable-metrics-usage-aggregated-for-billing) | A billable metric matches each row of usage to a customer by the email address, the external ID, the customer ID, the name, or a custom attribute of the customer. |

## Customers: who you bill

A **customer** is the record of a business or an individual that you bill. A customer has the following properties:

| Property | Details |
| - | - |
| Name | Every customer has a name. |
| [Business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#business-entity) | Every customer belongs to one business entity of your [organization](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#organization). The business entity bills the customer. A customer that you add without a business entity belongs to the default business entity of the organization. The business entity of a customer cannot change after the customer is added. |
| Email address | A customer can have one email address. Two customers in your organization cannot have the same email address. |
| Phone number | A customer can have one phone number. |
| External ID | An **external ID** is the identifier of a customer in a system outside Zenskar, such as your [CRM](https://en.wikipedia.org/wiki/Customer_relationship_management). A customer can have one external ID, such as `SFDC-12345`. You can change the external ID at any time. Two customers in your organization cannot have the same external ID. |
| Customer ID | The **customer ID** is the identifier that Zenskar assigns to a customer record when you add it. Each customer ID is a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier), such as `0b6f3c1e-8d2a-4f5b-9c7e-2a1d4e6f8b90`. The customer ID cannot change. |
| [Custom attributes](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#custom-attribute) | A customer can have a value for each customer attribute that applies to the business entity of the customer. See [Custom attributes: details that you add to records](https://zenskar.com/docs/20260301/zenskar-modules/settings/custom-attributes/concepts.md#custom-attributes-details-that-you-add-to-records). |
| [Addresses](#addresses-of-a-customer) | A customer can have a default billing address and a default shipping address. |
| [Tax treatment](#tax-treatment-how-a-customer-is-classified-for-tax) | Every customer has a tax treatment. A customer can also have [tax IDs](#tax-ids-how-a-tax-authority-identifies-your-customer). |
| [Billing preferences](#billing-preferences-how-zenskar-charges-and-emails-a-customer) | Every customer has billing preferences for [automatic charging](#billing-preferences-how-zenskar-charges-and-emails-a-customer) and for [invoice](https://zenskar.com/docs/20260301/zenskar-modules/invoices/glossary.md#invoice) emails. |
| [Contacts](#contacts-of-a-customer) | A customer can have contacts, who can receive the invoice emails of the customer. |

A system outside Zenskar can identify a customer to Zenskar by the external ID, without knowing the customer ID. For example, a [billable metric](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#billable-metric) can match the [usage](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#usage) that your system reports to a customer by the external ID.

Each [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract) belongs to one customer. See [Contracts: what you agree with a customer](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contracts.md#contracts-what-you-agree-with-a-customer).

## Addresses of a customer

A [customer](#customers-who-you-bill) can have a default billing address and a default shipping address. Each address has up to three address lines, a ZIP code, a city, a state, and a country. The default shipping address can be the same as the default billing address.

When a third-party [tax engine](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-engine) is connected to the [business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#business-entity) of a customer, the tax engine validates the default billing address of the customer. The validation runs each time the customer is added or changed. If the validation fails, Zenskar records the default billing address as invalid. When a later validation passes, Zenskar records the default billing address as valid again.

Tax configuration uses the default billing address of each customer. See [Served countries: where a business entity collects tax](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#served-countries-where-a-business-entity-collects-tax).

## Tax treatment: how a customer is classified for tax

The **tax treatment** is the classification of a [customer](#customers-who-you-bill) for tax: as a business or an individual, and as tax exempt or not. The tax treatment has two parts:

| Part | Details |
| - | - |
| Customer type | The **customer type** is the part of the tax treatment that classifies a customer as a business (B2B) or an individual (B2C). The default is a business. |
| Tax exemption | A customer is tax exempt or not tax exempt. The default is not tax exempt. A tax-exempt customer can also have an exemption certificate number and an [entity use code](https://knowledge.avalara.com/bundle/hps1656397152776_hps1656397152776/page/List_of_entity_use_codes.html). The entity use code states the reason for the exemption in Avalara AvaTax. |

Each [tax engine](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-engine) decides which parts of the tax treatment of a customer it uses:

| Tax engine | How it uses the tax treatment |
| - | - |
| Zenskar tax engine | See [Comparison of tax engines](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#comparison-of-tax-engines). |
| Avalara AvaTax | See [Avalara customers: who Avalara taxes](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/avalara-avatax/concepts.md#avalara-customers-who-avalara-taxes). |
| Anrok | See [Anrok customers: who Anrok taxes](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/anrok/concepts.md#anrok-customers-who-anrok-taxes). |

### Tax IDs: how a tax authority identifies your customer

A **tax ID** is a number that a tax authority assigns to your [customer](#customers-who-you-bill) for one kind of tax, such as a [VAT](https://en.wikipedia.org/wiki/Value-added_tax) or [GST](https://en.wikipedia.org/wiki/Goods_and_services_tax) number.

Each tax ID has a type. The type names a kind of tax and where it applies, such as the [TIN](https://en.wikipedia.org/wiki/Taxpayer_Identification_Number) of the United States or the VAT of the European Union. A customer can have several tax IDs.

Each tax engine decides which tax IDs of a customer it uses. See [Comparison of tax engines](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#comparison-of-tax-engines).

## Billing preferences: how Zenskar charges and emails a customer

The **billing preferences** are the two settings of a [customer](#customers-who-you-bill) that decide whether Zenskar charges the customer automatically and emails the customer about [invoices](https://zenskar.com/docs/20260301/zenskar-modules/invoices/glossary.md#invoice). Both are on by default.

| Billing preference | Details |
| - | - |
| Automatic charging | **Automatic charging** is the billing preference with which Zenskar charges the default payment method of a customer when an invoice is due. |
| Invoice emails | When invoice emails are on, Zenskar emails invoices, payment reminders, and payment receipts to the customer. See [Invoice emails and payment reminders](https://zenskar.com/docs/20260301/zenskar-modules/invoices/concepts/invoices.md#invoice-emails-and-payment-reminders). |

Turning automatic charging off for a customer stops the charges of every invoice of the customer. Turning automatic charging on again does not restart the charges of the invoices that Zenskar created while it was off. See [Charges](https://zenskar.com/docs/20260301/zenskar-modules/invoices/concepts/invoices.md#charges).

## Contacts of a customer

A [customer](#customers-who-you-bill) can have contacts. Each contact has an email address, and can have a first name and a last name.

A contact can receive the invoice emails of the customer, and a new contact receives them by default. When invoice emails are off for the customer, no invoice email goes to the customer or to the contacts of the customer. See [Invoice emails and payment reminders](https://zenskar.com/docs/20260301/zenskar-modules/invoices/concepts/invoices.md#invoice-emails-and-payment-reminders).

## Customer portal: what your customer sees

The **customer portal** is a website through which your [customer](#customers-who-you-bill) can view and manage their billing in Zenskar.

The customer portal shows the invoices, the payments, and the [entitlements](https://zenskar.com/docs/20260301/zenskar-modules/more/entitlements.md) of the customer. In the customer portal, your customer can:

* download each invoice;
* turn [automatic charging](#billing-preferences-how-zenskar-charges-and-emails-a-customer) on or off for each invoice with the draft or approved [invoice status](https://zenskar.com/docs/20260301/zenskar-modules/invoices/glossary.md#invoice-status);
* update their billing information;
* choose their default payment method;
* add a payment method, only when the customer is linked to a customer in Stripe.

Each link to the customer portal opens a session for one customer. The session ends after a period with no activity, and the link then stops working. A new link for the same customer ends the session of the earlier link.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.