# Base unit, other units and main unit

Section: Products and prices. Address: https://vende.id/docs/produk-dan-harga/satuan-lain-dan-satuan-utama?lang=en

Sell and buy one product in several units, for example Pieces and a Box of 24, while the stock is still counted right.

One product is often sold in several units. Coffee sachets, for example, are sold per piece, per strip of 10 and per box of 120. In Vende, all three stay one product.

## The shop's unit list

Units are chosen from the list under **Master Data → Units**. A new shop already has Pieces, Kilogram, Gram, Litre, Dozen and Pack, plus the units that suit its type of business. A fishing tackle shop, for example, starts with Metre and Spool, so fishing line can be kept per Metre with a Spool of 100 as another unit.

To add a unit:

1. Open **Master Data → Units**, then press **New Unit**.
2. Fill in **Name**, for example Strip.
3. Fill in the **Abbreviation** shown on notes, for example strp.
4. Choose **Decimal Places**. Choose **Whole numbers (1, 2, 3)** for goods counted whole. Choose up to three decimals for goods that are weighed, for example 0,25 kg.
5. Press **Create**.

## Base unit

The **Base Unit** is the smallest unit of the product, for example Pieces or Gram. All stock is counted in this unit, and so are the cost price and the selling price on the product form.

Once the product's stock has moved, the base unit cannot be chosen again on the form. To change to a smaller unit, see [Changing the base unit](https://vende.id/docs/produk-dan-harga/mengganti-satuan-dasar?lang=en).

## Adding other units

1. Open the product under **Master Data → Products**.
2. In the **Other Units** section, press **Add Unit**.
3. Choose **Unit**, for example Box.
4. Fill in the contents column, shown as **Contains (Pieces)** for example: how many base units make 1 of that unit, for example 24.
5. Fill in that unit's **Selling Price** if it is different. When it is empty, the price is the selling price times the contents.
6. Fill in **Barcode** if that pack has its own barcode. It may stay empty. When it is the barcode the maker printed on the pack, tick the box in the **Factory** column beside it (only digits can be ticked; see [Factory barcode and shop code](https://vende.id/docs/produk-dan-harga/menambah-produk?lang=en#factory-barcode-and-shop-code)).
7. Press **Save changes**.

Example: the selling price per piece is Rp 3.000 and a Box holds 24. When the Box price stays empty, the Box price is Rp 72.000. When you fill in Rp 70.000, a buyer of one Box pays Rp 70.000.

The selling price in this table applies to every buyer in every branch. Box prices for a customer group or for buying in quantity are set in the [Price List](https://vende.id/docs/produk-dan-harga/daftar-harga?lang=en) and in the [Quantity prices](https://vende.id/docs/produk-dan-harga/harga-beli-banyak?lang=en) table.

## Using units when selling and buying

- At the till and on notes, the unit can be chosen per line.
- Scanning the Box barcode adds a Box line at once.
- Stock still goes down in the base unit. Selling 1 Box of 24 takes 24 pieces off the stock.
- Goods repacked into another product, for example a sack of sugar into 250 g bags, are recorded with a [repack](https://vende.id/docs/stok/repack?lang=en).

## Main unit

**Main Unit** shows once the product has other units. Choose the unit used most often to count stock.

Take cigarettes whose stock is recorded per Stick, with a Pack of 16. When **Main Unit** is set to Pack, the stock shows like 17 Packs 12 Sticks. This main unit is used in the stock reports, stocktakes, purchases, stock adjustments, labels, minimum stock and the Reorder Suggestion (while that extra feature is on).

- Stock is still counted in the base unit.
- The sales screens are not affected; use **Selling Unit** for that (see below).
- Leave **Main Unit** empty when showing stock in the base unit is enough.

> **Tip:** When the product has a main unit, fill in **Minimum Stock** in that unit. The unit is written next to the field.

## Selling unit

**Selling Unit** also shows once the product has other units. Fill it in when this product is mostly sold in one unit, for example Box, so that a new line on Sales, Sales Orders, Quotations, sales visits, buyer orders and the till starts in Box instead of Piece.

- Empty = the base unit, as before the Selling Unit existed. The Main Unit does not affect the sales screens.
- On the till, the product tile shows its price and stock in the Selling Unit (for example Rp 72.000 / Box, stock 12 Box).
- The unit on each line can still be changed, and scanning a unit's barcode still wins.
- Only the unit a line starts in changes. Stock is still counted in the base unit.
- A unit removed from the Other Units list clears the Selling Unit (and the Main Unit) of that product.
- The product import has a **selling_unit** column, and the AI assistant accepts it when adding a product.
