Last updated: Feb 11, 2026, 11:49 AM
Embedded barcodes are barcodes that change depending on the weight of the item sold and are printed by scales. An embedded barcode consists of a prefix, a product number, an optional check digit, an amount, and a final check digit. Most digital scales support printing labels with a variety of formats and can embed either the weight or price of an item as the amount in the embedded barcode.
This article will cover supported formats for embedded barcodes and the steps to configure your barcode setup to read your embedded amount type.
For general information on how to enable barcodes and add them to an item, and for menu best practices for delis and markets, please see the following Toast Central articles:
Embedded barcode formats are typically described using barcode masks. A barcode mask contains characters which specify which digits of the barcode represent a prefix, product number, check digit, or amount. The masks described here use these characters:
| Character Symbol | Type of Data |
| X | Required prefix |
| P | Product number |
| C | Check digit |
| A | Amount |
Toast supports several embedded barcode masks:
| Format | Example | |
| 0 | (X)X PPPPP C AAAA C | 298765699991 |
| 1 | (X)X PPPPP AAAAA C | 298765999992 |
| 2 | X PPPPPP AAAAA C
Must begin with prefix 2 (13-digit only). Only available in Toast app version 2.73 and later. | 2987654999998
Prefix: 2 |
If you need to use embedded barcodes for prices or weights more than 99.99, use mask 1 or 2, which supports five-digit amounts.
Note: Toast also supports quantities and prices embedded in Code 128 barcodes. Only the price or the quantity may be specified.
Mask 0 is the default mask. You can configure Toast to use mask 1 or 2.
If you use mask 0 and can’t configure your scale to generate the correct amount check digit, you can disable verification of the digit within Toast.
You can set up embedded barcodes in Toast Web or when you're filling out the Toast Retail import template (see ). Both setup processes are outlined below.
Settings for embedded/deli barcodes in Toast Web can be found on the item details page in Toast Retail, or in the menu editor if your business doesn't use Toast Retail. Note that barcode scanner configuration and unit of measure settings can be set at the category group/category/subcategory (menu/menu group) level and inherited by all items within. Here are the settings to pay attention to:
When adding items with embedded barcodes to your Toast Retail import template, pay attention to these columns:
Note: Prompt for quantity should not be set to true since employees will not need to manually enter a quantity value on the POS.
A barcode’s embedded amount type can be configured on the category (menu group for restaurants) or item level. This setting is inherited like other category (or menu group) properties: if an embedded amount type is set on a category, it will apply to all items in that category unless the item specifically overrides it.
There are three embedded amount types, and one must be chosen in order for embedded barcodes to scan correctly. If you’re using Toast Retail, you can find this setting in the POS configuration section of the item details page. Otherwise, it appears on the item details page in your menu editor, under the Barcode Scanner Configuration section.
| Amount Type | Description | Examples |
| Price | The amount is interpreted as a price, and a quantity is calculated by dividing the price by the base price of the item. | An item with amount 1264 is scanned and has a base price of $6.32. The item is added to the order with a price of $12.64 and a quantity of 2.
In the example below, the product number is highlighted in yellow within the barcode (00328) and the price is in the orange box (925, or $9.25)
|
| Weight | The amount is interpreted as a weight, and the price is calculated by multiplying the weight by the base price of the item. | An item with amount 1050 is scanned and has a base price of $6.32. The item is added to the order with a price of $66.36 and a quantity of 10.5.
In the example below, the product number is highlighted in yellow within the barcode (26000) and the weight is in the orange box (0.1958).
|
| Price Composed | The amount is interpreted as a price and the quantity is always one (1). The Price Composed type allows you to skip entering prices in Toast Web for items sold by weight, and instead only keep prices up to date on your scale. Toast will not resolve the quantity of the item sold in reports or on receipts beyond the count of items sold. | An item with amount 1264 is scanned. The item is added to the order with a price of $12.64 and a quantity of 1.
In the example below, you can see that the barcode indicates the amount is one unit (1 pc), and the total price is represented as the 699 in the barcode ($6.99).
|
For barcodes with weight embedded, you'll specify the unit of measure (pounds, ounces, kilograms, grams) in either the POS configuration section of your retail item settings or the Weighing section of your menu item settings, depending on where you're setting up your item details.
| If you’re setting up embedded barcodes with weighed items for the first time, contact Customer Care to get Weighed Items Configuration enabled for your account. |
Here's an example of an embedded barcode and the steps to determine the configuration needed within Toast to support scanning this barcode.
The barcode is in the top left corner of the label: 200101034120. To add this item to Toast and enable proper scanning of embedded barcodes like this, follow the steps below:
Here is a breakdown of the parts of the barcode:
Toast can be configured to verify that your scale weighs items using the same units for which your items are configured. Contact Toast Customer Care to set up this configuration. Learn more in these Toast Central articles: