Appearance
CustomerState
Type: Object
A customer entity representing a business or individual client
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| addresses | [AddressState!]! | Addresses for this customer. Requires address:list permission. | ||
| contacts | [ContactState!]! | Contacts for this customer. Requires contact:list permission. | ||
| createdAt | String! | Creation timestamp (ISO8601) | ||
| creditCurrency | CurrencyISO | Currency for credit limit (ISO 4217) | ||
| creditHoldReason | String | Reason for credit hold | ||
| creditLimit | Float | Credit limit amount (nil = no limit enforced) | ||
| defaultTaxCodeId | TaxCodeID | Default tax code applied to this customer's documents | ||
String | Primary email address | |||
| externalId | String | External system reference for integration | ||
| id | CustomerID! | Unique identifier | ||
| isActive | Boolean! | Whether the customer is active | ||
| isCreditHold | Boolean! | Whether the customer is on credit hold | ||
| isTaxExempt | Boolean! | Whether the customer is tax exempt | ||
| name | String! | Customer name (business or individual) | ||
| notes | String | General notes about the customer | ||
| paymentTermsDays | Int | Net payment terms in days (0 = prepayment, nil = not set) | ||
| phone | String | Primary phone number | ||
| taxExemptReference | String | Tax exemption reference (e.g. VAT registration number) | ||
| updatedAt | String! | Last update timestamp (ISO8601) |