> ## 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.

# End-to-end walkthrough: How customers work

> 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.

## Story: Acme Corp becomes a customer

Your company sells access to a messaging API. Acme Corp, a business in the United States, is about to sign a one-year deal with your company. Before your billing team records the deal as a [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract), it adds Acme Corp as a [customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/glossary.md#customer). In November, Acme Corp moves to a new office, and your billing team updates the default billing address.

On the way, your billing team puts these concepts into practice:

* [Customers: who you bill](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customers-who-you-bill)
* [Addresses of a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#addresses-of-a-customer)
* [Tax treatment: how a customer is classified for tax](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#tax-treatment-how-a-customer-is-classified-for-tax)
* [Tax IDs: how a tax authority identifies your customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#tax-ids-how-a-tax-authority-identifies-your-customer)
* [Billing preferences: how Zenskar charges and emails a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#billing-preferences-how-zenskar-charges-and-emails-a-customer)
* [Contacts of a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#contacts-of-a-customer)
* [Customer portal: what your customer sees](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customer-portal-what-your-customer-sees)

The story uses these values:

| Value | In the story |
| - | - |
| Customer | Acme Corp, with the email address `billing@acme.example` |
| [External ID](https://zenskar.com/docs/20260301/zenskar-modules/customers/glossary.md#external-id) | `acme-corp`, the ID of Acme Corp in your CRM |
| [Business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#business-entity) | The default business entity of your [organization](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#organization) |
| Default billing address | 500 Harbor Road, San Francisco, California 94107, United States of America. It is also the default shipping address. |
| Tax treatment | A business (B2B), not tax exempt |
| [Tax engine](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-engine) | The Zenskar tax engine, for the United States |
| Billing preferences | [Automatic charging](https://zenskar.com/docs/20260301/zenskar-modules/customers/glossary.md#automatic-charging) off, [invoice](https://zenskar.com/docs/20260301/zenskar-modules/invoices/glossary.md#invoice) emails on |
| Contact | Dana Lee, `ap@acme.example`, in the accounts payable team of Acme Corp |
| Default billing address from November | 200 Pine Street, Suite 400, San Francisco, California 94111, United States of America |

The company, the customer, the addresses, and the contact are fictional.

### Prerequisites

* You need a role with the **Can Read Customer**, **Can Create Customer**, and **Can Update Customer** permissions.

### Add Acme Corp

In September, Acme Corp agrees to the deal. Your billing team first records who Acme Corp is.

1. Go to **Customers**.
2. Click **Add customer**. The **Add customer** screen opens.
3. In **Name**, enter `Acme Corp`.
4. In **Business entity**, keep the default business entity of your organization.

   Every customer belongs to one [business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/business-entity.md#organization-versus-business-entity), which bills the customer. Your company bills all its customers through one business entity, so the default fits. The business entity of Acme Corp cannot change after your billing team adds Acme Corp. See [Customers: who you bill](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customers-who-you-bill).
5. In **Email**, enter `billing@acme.example`.

   Two customers in your organization cannot have the same email address. Acme Corp gets invoices at this address. See [Customers: who you bill](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customers-who-you-bill).
6. In **External ID**, enter `acme-corp`.

   An [external ID](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customers-who-you-bill) ties a customer to the same customer in a system outside Zenskar, such as your CRM. Your company already keeps Acme Corp in its CRM as `acme-corp`. Your API reports the [usage](https://zenskar.com/docs/20260301/zenskar-modules/usage/concepts/usage.md#usage-what-customers-consume) of Acme Corp under the same ID, and your [billable metrics](https://zenskar.com/docs/20260301/zenskar-modules/usage/concepts/billable-metrics.md#billable-metrics-usage-aggregated-for-billing) match usage to customers by the external ID. Your billing team copies that ID into Zenskar, so that Acme Corp in Zenskar ties to Acme Corp in the CRM.

   Your billing team can enter the ID of Acme Corp, or leave **External ID** empty:

   | External ID | Outcome |
   | - | - |
   | `acme-corp` | Usage that your API reports for `acme-corp` matches Acme Corp. |
   | Empty | Usage that your API reports for `acme-corp` matches no customer. |

   Your billing team enters `acme-corp`, so that the usage of Acme Corp reaches the right customer. Two customers in your organization cannot have the same external ID.

### Add the default billing address

The head office of Acme Corp is in San Francisco. It receives both the invoices and the deliveries for Acme Corp.

1. Under **Billing address**, in **Country**, select **United States of America**.
2. In **Address line 1**, enter `500 Harbor Road`.
3. In **Zip code**, enter `94107`.
4. In **City**, enter `San Francisco`.
5. In **State**, enter `California`.

   This address is the default billing address of Acme Corp. Tax configuration uses it for each contract of Acme Corp. 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). If a third-party [tax engine](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#tax-engines-who-calculates-tax-for-a-served-country) is connected to the business entity, the tax engine validates the default billing address each time your billing team adds or changes Acme Corp. See [Addresses of a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#addresses-of-a-customer).
6. Keep **Use this address for shipping** selected.

   With **Use this address for shipping** selected, the default shipping address is the same as the default billing address. Clearing it opens **Shipping address**, for a different address. One office of Acme Corp receives both invoices and deliveries, so your billing team keeps it selected. When the default billing address changes later, the default shipping address changes with it.

### Set the tax treatment

Acme Corp is a business, and holds no tax exemption. Your billing team records both facts for the tax engine.

1. If **Custom attributes** shows a count of more than 0, enter a value in each required field that has no default value.

   A required [customer attribute](https://zenskar.com/docs/20260301/zenskar-modules/settings/custom-attributes/concepts.md#custom-attributes-details-that-you-add-to-records) without a default value needs a value, or saving Acme Corp fails. See [Required values: what a record must have](https://zenskar.com/docs/20260301/zenskar-modules/settings/custom-attributes/concepts.md#required-values-what-a-record-must-have).
2. Click **Tax treatment**. The row opens.
3. In **Customer type**, keep **Business (B2B)**.

   Acme Corp is a business, so your billing team keeps **Business (B2B)**, the default [customer type](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#tax-treatment-how-a-customer-is-classified-for-tax). Each tax engine decides whether it uses the customer type. See [Comparison of tax engines](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#comparison-of-tax-engines).
4. Keep **Tax exempt** cleared.

   The [tax treatment](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#tax-treatment-how-a-customer-is-classified-for-tax) of a tax-exempt customer can also hold an exemption certificate number and an [entity use code](https://knowledge.avalara.com/bundle/hps1656397152776_hps1656397152776/page/List_of_entity_use_codes.html). Acme Corp holds no exemption certificate, so your billing team keeps **Tax exempt** cleared.
5. Leave **Tax IDs** empty.

   Acme Corp has a federal [TIN](https://en.wikipedia.org/wiki/Taxpayer_Identification_Number) of the United States. The United States, a [served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#served-countries-where-a-business-entity-collects-tax) of your business entity, uses the Zenskar tax engine, which uses no [tax ID](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#tax-ids-how-a-tax-authority-identifies-your-customer). Your billing team therefore adds no tax ID. See [Comparison of tax engines](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-configuration.md#comparison-of-tax-engines).

### Set the billing preferences

Acme Corp pays each invoice by bank transfer, and wants each invoice by email.

1. Click **Billing preferences**. The row opens.
2. Clear **Charge invoices automatically**.

   Acme Corp pays by bank transfer, so your billing team turns [automatic charging](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#billing-preferences-how-zenskar-charges-and-emails-a-customer) off. If Acme Corp later asks to be charged automatically, 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).
3. Keep **Email invoices and reminders** selected.

   With invoice emails on, Zenskar emails invoices, payment reminders, and payment receipts to Acme Corp. Acme Corp wants each invoice by email, so your billing team keeps invoice emails on. See [Billing preferences: how Zenskar charges and emails a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#billing-preferences-how-zenskar-charges-and-emails-a-customer).
4. Click **Add customer**. The dashboard confirms that Acme Corp is added, and closes the **Add customer** screen.

   Zenskar assigns Acme Corp a [customer ID](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customers-who-you-bill), which cannot change.

### Add a contact

Dana Lee, in the accounts payable team of Acme Corp, also wants each invoice. Your billing team adds Dana Lee as a contact of Acme Corp. A contact can be added only after the customer is added.

1. On the **Customers** screen, click Acme Corp. The screen of Acme Corp opens.
2. Click **Edit**. The **Edit customer** screen opens.
3. Under **Contacts**, click **Add contact**.
4. In **First name**, enter `Dana`.
5. In **Last name**, enter `Lee`.
6. In **Email**, enter `ap@acme.example`.
7. Keep **Send invoices** selected.

   A contact can receive the invoice emails of the customer, and a new contact receives them by default. Each invoice email of Acme Corp goes to `billing@acme.example` and to `ap@acme.example`. Both addresses receive invoice emails only while invoice emails are on for Acme Corp. See [Contacts of a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#contacts-of-a-customer).
8. Click **Add contact**. Zenskar saves the contact straight away.
9. Click **Cancel**. The **Edit customer** screen closes, and the contact stays saved.

### Edit the default billing address

In November, Acme Corp moves to 200 Pine Street, Suite 400, in San Francisco. Your billing team updates the default billing address of Acme Corp.

1. On the screen of Acme Corp, click **Edit**. The **Edit customer** screen opens. **Business entity** shows the business entity of Acme Corp, and is disabled.

   The business entity of a customer cannot change after the customer is added. See [Customers: who you bill](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customers-who-you-bill).
2. Under **Billing address**, in **Address line 1**, enter `200 Pine Street`.
3. In **Address line 2**, enter `Suite 400`.
4. In **Zip code**, enter `94111`.

   **Use this address for shipping** stays selected, so the default shipping address changes with the default billing address. If a third-party tax engine is connected to the business entity, the tax engine validates the new default billing address when your billing team saves the change. See [Addresses of a customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#addresses-of-a-customer).
5. Click **Save changes**. The dashboard confirms the change, and closes the **Edit customer** screen.

### Share the customer portal

Dana Lee wants to see and download the invoices of Acme Corp without asking your billing team. Your billing team sends Dana Lee a link to the customer portal.

1. On the screen of Acme Corp, click **⋮** > **View customer portal**. The customer portal of Acme Corp opens in a new tab. The dashboard also copies a link to the customer portal.

   The [customer portal](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customer-portal-what-your-customer-sees) shows the invoices, the payments, and the [entitlements](https://zenskar.com/docs/20260301/zenskar-modules/more/entitlements.md) of Acme Corp, and only of Acme Corp. Dana Lee can download each invoice, and update the billing information of Acme Corp. Dana Lee can also turn automatic charging on or off for each invoice with the draft or approved [invoice status](https://zenskar.com/docs/20260301/zenskar-modules/invoices/concepts/invoices.md#invoice-statuses-how-an-invoice-moves-from-draft-to-paid).
2. Send the link to Dana Lee.

   The link opens a session for Acme Corp. The session ends after 12 to 24 hours without use, and the link then stops working. For a later visit, your billing team opens the customer portal again, and sends the new link. The new link ends the session of the earlier link. See [Customer portal: what your customer sees](https://zenskar.com/docs/20260301/zenskar-modules/customers/concepts.md#customer-portal-what-your-customer-sees).

### Summary: what your billing team did

Your billing team added Acme Corp as a customer of the default business entity, with the external ID `acme-corp` from your CRM. It entered the default billing address of Acme Corp, which is also the default shipping address. It kept the tax treatment of a business that is not tax exempt. It added no tax ID, because the Zenskar tax engine uses none. It turned automatic charging off, because Acme Corp pays by bank transfer. It kept invoice emails on. It added Dana Lee as a contact who receives invoice emails. In November, it updated the default billing address after the move. It then sent Dana Lee a link to the customer portal of Acme Corp.

See [How-to guides: Manage customers](https://zenskar.com/docs/20260301/zenskar-modules/customers/how-to-guides.md).


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