Checked on release 3.0.74.2 "Accounting for Kazakhstan" (version 3.0).
The cash register scans weight-based goods — cheese, nuts, minced meat — but on the receipt, it either shows zero, a price "nowhere," or "item not found." The scales in the workshop print a label with a barcode, which contains the product code and weight, but 1C reads this barcode as a regular EAN-13 from the manufacturer and cannot find the nomenclature. The reason is almost always the same: the program does not describe the barcode template that needs to "parse" the string of 13 digits into parts — prefix, product code, weight, and check digit. This directory is precisely about such parsing rules.
1. Purpose
The directory "Barcode Templates" stores the rules (masks) by which 1C recognizes internal barcodes of weight-based and unit goods that are printed by scales with labeling or generated by the program itself. The template tells the program: "the first two digits are the prefix, the next five are the product code, then the weight in grams, and the last digit is the check digit." Without such a rule, the cash register will not understand which product and in what quantity you are scanning.
2. Where to find
Path in the interface:
- Administration → Connected Equipment → barcode settings block → link "Barcode Templates".
- The list is also available from the scanner/scales settings when working with weighing equipment is enabled.
The most reliable way to open the directory directly is through the navigation link. Menu "Service" (or link icon) → "Go to navigation link" and paste:
e1cib/list/Directory.BarcodeTemplates
If the menu item is not present — enable the functional option for using barcode scanning and weighing equipment in the Administration → Connected Equipment section.
2a. How to find out your release
"Help" → "About the program" (or the "i" icon in the upper right corner). In the opened window, you will see the platform version (for example, 8.3.24) and configuration release — a line like "Accounting for Kazakhstan, version 3.0 (3.0.74.2)." This instruction refers to this release; in other builds, the location of items may differ.
3. How to fill out
Open the list and click "Create". Card fields:
| Field | Purpose / what happens in case of error |
|---|---|
| Name (MANDATORY) | A clear name for the rule, for example, "Weight-based by weight (prefix 21)." An empty field will not be allowed to save by the program. If named uninformatively, later you won't distinguish the template "by weight" from "by price." |
| Template / mask (MANDATORY) | A string describing the structure of the barcode by positions. An error in the length or purpose of the blocks — and the barcode is either not recognized at all or gives an incorrect weight/price. |
| Prefix | Fixed first digits (usually 20–29 — the range reserved for internal store barcodes). The program selects which template to apply based on the prefix. Matching prefixes in two templates is not allowed. |
| Product code (barcode) | A block of digits by which the nomenclature is found. If the length of the block is shorter than the actual codes, some products will "collapse" into one. |
| Weight / quantity | A block with weight. Be sure to specify the position of the decimal separator (grams → kilograms): 5 digits "00850" should be read as 0.850 kg, not 850. Incorrect digit placement — and instead of 0.85 kg, it will ring up 850 kg. |
| Price / amount | An alternative to weight: the barcode contains the already prepared amount of the item in tenge. Used when the scales print not weight but cost. |
| Check digit | The last digit of EAN-13. Note that it exists; otherwise, the program will take the check digit as part of the weight. |
The logic is simple: one template = one type of barcode. For weight — its template (prefix, for example, 21), for price — its own (prefix 22). Mixing in one mask is not allowed.
4. An example broken down with numbers and entries
Task. The store sells cheese by weight. The scales in the workshop print an EAN-13 label, where the product code and weight are embedded. We configure the template and see how the sale will be reflected in accounting.
Template "Weight-based by weight":
| Positions | Purpose | Value in the example |
|---|---|---|
| 1–2 | Prefix | 21 |
| 3–7 | Product code (5 digits) | 00123 → nomenclature "Dutch Cheese" |
| 8–12 | Weight in grams (5 digits, separator after the 2nd) | 00850 → 0.850 kg |
| 13 | Check digit | 9 |
The actual barcode on the label: 2100123008509.
Nomenclature data: selling price of cheese — 4,500 ₸/kg (including VAT), cost price — 2,200 ₸/kg. The VAT rate in the RK in 2026 is 16%.
The cashier scans the label. By the prefix 21, the program takes our template, finds the product "Dutch Cheese," substitutes the weight 0.850 kg. It calculates the item amount:
- Amount including VAT: 4,500 × 0.850 = 3,825.00 ₸
- VAT 16% included: 3,825.00 × 16 ÷ 116 = 527.59 ₸
- Revenue excluding VAT: 3,825.00 − 527.59 = 3,297.41 ₸
- Cost price: 2,200 × 0.850 = 1,870.00 ₸
The directory itself does not create entries — it only "decoded" the barcode. The entries are formed by the sales document (Retail Sales Report or cash register receipt), already with the correct weight and amount:
| Debit | Credit | Amount, ₸ | Description |
|---|---|---|---|
| 1010 | 6010 | 3,297.41 | Revenue from sales (excluding VAT) |
| 1010 | 3130 | 527.59 | VAT 16% payable |
| 7010 | 1330 | 1,870.00 | Cost of goods written off |
If the template had been set up incorrectly (for example, the separator not after the 2nd digit), the program would have read the weight as 85.0 kg and charged the amount 382,500 ₸ — this is the price of an error in the mask.
5. Types of templates
The directory does not have "types of operations" in the accounting sense, but by the purpose of the masks, the following are distinguished:
- Weight-based — by weight. The barcode contains weight; the amount is calculated as "price of nomenclature × weight."
- Weight-based — by price (amount). The barcode contains the already prepared cost of the item; the program does not store weight.
- Unit internal. Only the product code and quantity of pieces are encoded.
- By encoding format: EAN-13 (13 digits, most common for scales), EAN-8, as well as linear formats (Code128, etc.), if the equipment prints them.
6. What is formed upon saving
- The directory is not posted — the element is only saved with the "Save and Close" button.
- The template does not create entries (account movements).
- Electronic documents ESF (IS ESF) and STS are not issued by this object — they are formed by sales/movement documents separately.
- Result of saving: the template becomes available to the barcode parsing mechanism. When scanning a product with the corresponding prefix, the string is automatically "decomposed" into product + weight/price and substituted into the sales or selection document.
7. Print forms
The directory element does not have its own print forms — there is nothing to print, this is a parsing rule. The printing of labels and price tags with barcodes is performed by a separate mechanism "Print Labels and Price Tags" (according to label templates), and the scales print labels using the built-in software of the equipment. Do not confuse these two directories: "Barcode Templates" — about reading, "Label and Price Tag Templates" — about printing.
8. Common errors
"The barcode does not match any template" — when scanning, the prefix did not match any mask. Check the first digits of the actual label and create/correct the template with this prefix.
"Failed to recognize the barcode by the template" — the length of the mask does not match the length of the barcode (13 digits EAN-13). Count the positions: prefix + code + weight + check digit must sum to exactly the length of the code.
Weight rings up significantly more/less (85 kg instead of 0.85) — the decimal separator in the weight block is incorrectly specified. Set the position of the point so that grams are read as kilograms.
"The 'Name' field is not filled out" — you cannot save the template without a name. Fill in the name.
Two products with the same barcode / "collapsing" of products — the product code block is shorter than the actual nomenclature codes. Increase the length of the "product code" block.
Prefix conflict — two templates start the same way; the program applies the wrong one. Make the prefixes unique (21 — by weight, 22 — by price).
9. FAQ
What is the difference between a barcode template and a label/price tag template? The barcode template describes how to read and parse the barcode into parts (product, weight, price). The label template specifies how to print the label. These are two different directories.
What prefix should be used for internal barcodes? The range 20–29 — it is reserved for internal store codes and does not overlap with manufacturer barcodes. For example, 21 — weight-based by weight, 22 — weight-based by price.
The scales print a label, but the cash register does not recognize the product — where to start? Look at the actual barcode string, break it into blocks, and create a template with the same prefix and weight digit placement. Then ensure that the internal barcode code indeed corresponds to the nomenclature code.
Can one template describe both weight and price? No. Weight and price are mutually exclusive blocks. Create two templates with different prefixes.
Is it necessary to mark the check digit? Yes, for EAN-13 the last 13th digit is the check digit. If it is not taken into account, the program will treat it as part of the weight and calculate the quantity incorrectly.
Does the template affect VAT and entries? Directly — no. The template only substitutes the correct product and quantity. But through this, it determines the sales amount, and thus the VAT base of 16%, and revenue on account 6010. An error in weight = an error in amount and tax.
What to do if two templates have the same prefix? This is not allowed — recognition becomes unpredictable. Make the prefixes unique for each type of barcode.
Does this work with regular EAN-13 from the manufacturer? No. Factory barcodes (juices, canned goods, etc.) are stored in the nomenclature barcode register and read directly. Templates are only needed for internal weight/price codes.
Where are the barcodes of specific products stored? In the nomenclature barcodes (information register "Barcodes"), accessible from the product card. The template only helps to "extract" the product code from the long weight string.
How to quickly check that the barcode is recognized correctly? Scan the product in the selection document or make a test receipt and verify: the correct product is substituted, the weight matches the label, and the amount is calculated correctly.
10. Related documents and objects
- Nomenclature — directory of goods; the product code from the barcode must correspond to the nomenclature item. Here, the barcodes of specific items are also stored.
- Register "Barcodes" — factory EAN-13/EAN-8; works in conjunction with templates (one is read directly, the other by mask).
- Label and price tag templates — printing labels with barcodes.
- Retail Sales Report / Cash Register Receipt — these documents use the result of barcode parsing and form entries (1010, 6010, 3130, 7010, 1330) and, if necessary, fiscal data.
- Connected Equipment — settings for scanners and scales with label printing, from where the templates are called.
How to find out your release: "Help" → "About the program" — there you will find the platform version and configuration release.
The manual is prepared for "Accounting for Kazakhstan," version 3.0, release 3.0.74.2.
