# Units: selling the carton and the piece of one item with two barcodes

> Defining a unit (carton, dozen, kg) by how many pieces it holds and its own barcode, so stock is deducted in the base unit whatever the unit sold or bought.

Section: Inventory · verified against the product on 2026-09-14

Canonical: https://dashing.krd/en/help/units-and-carton-barcodes

## Steps

1. Open the item page from "Inventory" and go to "Units".
2. Press to create a "New unit": type the "Unit name" (e.g. carton) and answer "How many pieces in the unit?" (12, say). "The base unit is one piece (=1)".
3. Scan the "Unit barcode (optional)" from the carton itself so it is recognised when scanned.
4. Set the unit's sell price if it differs from (piece price × count), then "Create".
5. At the till: scanning the carton barcode adds one carton and deducts 12 pieces; scanning the bottle barcode adds one piece.

## Notes

- Weight (kg) is a unit too, with fractional quantities for items sold by weight.
- Stock reports and stock value are always in the base unit.

## What the system does not do

It does not read the weight from a scale; the weight is typed, and a barcode that encodes a weight is not read.

## Common questions

**I sold a carton of 12 bottles — how much is deducted?**

12 from the base stock (bottles), at the carton price you set for the unit.

**Can I buy by the carton and sell by the piece?**

Yes. A purchase order is received in its unit and stock is kept in pieces; the till sells in any defined unit.

## Other languages

- العربية: https://dashing.krd/help/units-and-carton-barcodes
- کوردی: https://dashing.krd/ckb/help/units-and-carton-barcodes

---

Dashing · https://dashing.krd/en
