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

# SalesUnit

> A sales unit: the unit an item is sold or packed in, for example piece, carton or pallet.



**Kind**: `object`

## Fields

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

The ID of the sales unit.

---

**`name`**: `String!`

The name in the default language.

---

**`unitCode`**: `String`

The UN/CEFACT unit code shown on e-invoices for items with this sales unit, for example 'XBX'. Values stored before can be of any format; a value written through the API has 2 or 3 letters or digits (see 'QueryUnitCodes'). Empty when none is set.

---

**`isHidden`**: `Boolean!`

Whether Wawi created this sales unit for itself, for example '100 g' as the packaging unit of an item with a base price. Hidden sales units are not offered for selection and cannot be changed.

---

**`translations`**: `[SalesUnitTranslation!]!`

The names, one per language. Always contains the default language.

