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

# Customer

> A customer: a person or a company that buys from the tenant. Name, postal address and contact data are the default billing address of the customer.



**Kind**: `object`

## Fields

**`id`**: `ID!`

The ID of the customer.

---

**`number`**: `String!`

The customer number, unique within the tenant.

---

**`debtorNumber`**: `Int`

The debtor number for accounting.

---

**`customerGroupId`**: `ID!`

The customer group. It decides prices and discounts.

---

**`customerCategoryId`**: `ID`

The customer category, a free grouping.

---

**`customerPrintTextId`**: `ID`

The customer print text set that documents of this customer print. Empty when none is assigned.

---

**`companyId`**: `ID`

The own company the customer belongs to. Empty means all companies.

---

**`languageTag`**: `String`

The language of documents and messages as BCP 47 language tag, for example de or de-AT. Language subtag in lower case, region subtag in upper case. Wawi currently holds only the two-letter language subtag. Empty means the default language.

---

**`billingAddress`**: `CustomerPostalAddress!`

The default billing address. Change it with 'UpdateCustomerAddress'.

---

**`paymentTerms`**: `CustomerPaymentTerms!`

The payment terms.

---

**`discountPercent`**: `Decimal!`

The discount of the customer in percent, 0 to 100.

---

**`creditLimit`**: `Decimal`

The credit limit in the default currency of the tenant. Empty means no limit. A credit limit only warns when sales orders exceed it; it does not refuse them.

---

**`isDunningBlocked`**: `Boolean!`

Whether dunning is blocked for the customer. Read-only here; change it with 'SetCustomerDunningBlock' and 'RemoveCustomerDunningBlock' of the dunning API.

---

**`isBlocked`**: `Boolean!`

Whether the customer is blocked. Sales orders of a blocked customer are not picked and not delivered. Change it with 'BlockCustomer' and 'UnblockCustomer'.

---

**`origin`**: `String`

Where the first contact came from, free text.

---

**`birthDate`**: `DateTime`

The date of birth. Only the date part is used.

---

**`website`**: `String`

The website.

---

**`taxNumber`**: `String`

The tax number of the customer (not the VAT ID, which belongs to an address).

---

**`commercialRegisterNumber`**: `String`

The commercial register number.

---

**`customerSince`**: `DateTime!`

Since when the customer exists.

---

**`changedAt`**: `DateTime`

When the customer or one of its parts was changed last.

---

**`anonymizedAt`**: `DateTime`

When the customer was anonymized. Empty means not anonymized.

