# Units

> The company's list of units: adding a unit, its translations in the document languages, archiving and merging two units.

On a line of an invoice, a quote, a recurring invoice and a purchase invoice, and on an invoice confirmed from the inbox, you choose the unit from the company's list of units. You choose an article's unit from the same list. The list starts with the common units, such as tk (piece), h and kg.

## Adding a unit

1. **Open Settings → Documents → Units**

   Click **Add unit**.

2. **Enter the unit's details**

   - the unit's name, for example tk – this is the unit on an Estonian document
   - **Code** – a standard unit code, for example Piece (H87); can be left empty
   - **Translations** – the unit in the other document languages, see [The unit in the document's language](#the-unit-in-the-documents-language)

3. **Save**

   Click **Add**.

When the unit a line needs is not in the list, click **New unit** under the list, enter the unit's name and press Enter. The unit is added to the list and chosen on the line.

## The unit in the document's language

A line shows the unit in the document's language: the unit's translation, without one Numera's translation for its code, otherwise the unit's name. When you change a sales invoice's **Language** row, the lines take the unit in the new language. An invoice created from a recurring invoice has the unit in the client's language.

## Editing and archiving

A unit's row opens the **Edit unit** window, where you can change the name, code and translations.

- When you turn off **Active**, the unit is archived: it cannot be chosen on new lines, but documents that have it stay as they are.
- A unit in use cannot be deleted. Archive it.
- Numera itself uses the piece and hour units, for example for a new line and an invoice of a project's hours. They can be renamed and translated, but not archived or deleted.

## Merging two units

When the same unit is in the list twice, for example "tk" and "tükk", merge them:

1. Open the unit that goes away and click **Merge into another unit…**
2. Under **Merge into**, choose the unit that stays and click **Merge**.

Articles and lines get the unit that stays. Where the unit that stays has no translation in a language, it takes the merged unit's. The text on documents does not change.

### Possible duplicates

When Numera finds units in the list that may be the same unit (for example the same code or a similar name), the page has a **Possible duplicates** section at the bottom. **Merge** opens the merge window with the unit that stays already chosen. **Not a duplicate** removes the pair from the list.
