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

# CustomerAccount

> The account of a customer: what is open, the credit balance and the credit limit. Amounts in the default currency of the tenant; documents in other currencies are converted with their exchange rate.



**Kind**: `object`

## Fields

**`currencyCode`**: `String!`

The default currency of the tenant as ISO 4217 code.

---

**`openInvoiceCount`**: `Int!`

Number of invoices that are not fully paid.

---

**`openInvoiceAmount`**: `Decimal!`

Gross amount still open on these invoices.

---

**`dunnedInvoiceCount`**: `Int!`

Number of open invoices that were dunned.

---

**`openSalesOrderCount`**: `Int!`

Number of sales orders that are not fully delivered.

---

**`openSalesOrderAmount`**: `Decimal!`

Gross amount of these sales orders still to be paid.

---

**`creditBalance`**: `Decimal!`

The credit of the customer in online shops.

---

**`creditLimit`**: `Decimal`

The credit limit. Empty means no limit.

---

**`availableCredit`**: `Decimal`

Credit limit minus the open amount of sales orders. Empty when there is no limit; negative when it is exceeded.

