RUKKENZH
Ask AI
SectionsMiscellaneous
No Unit of Measurement in the Electronic Invoice: Causes and Verification of the OKEI Code
Article language:🇷🇺 RU🇰🇿 KK🇬🇧 EN🇨🇳 ZH

No Unit of Measurement in the Electronic Invoice: Causes and Verification of the OKEI Code

СТ
Сапа Т.И. — 1C and accounting expert, practising trainer
Prepared by the BuhGPT editorial team

Why the Electronic Invoice Has No Unit of Measurement

In 2026, if the unit of measurement is not displayed in the electronic invoice, first check the unit in the document line and its corresponding OKEI code. The unit of measurement of goods in an electronic invoice should not be confused with the unit of measurement of the taxable item or tax base used to determine the tax rate (Article 60 of the Tax Code of the RK).

In practice, the cause is usually found in the accounting data: no unit of measurement has been selected for the inventory item, the manually created entry has no OKEI code, or previously saved data was transferred to the sales document. As a result, when generating the electronic invoice, the software cannot correctly complete the relevant field. To resolve the error, check the units of measurement directory, the inventory item card, and the sales document in sequence, and then generate the electronic invoice again.

Below, we will examine step by step where to look for the cause in 1C and how to prevent it from recurring.

How the Electronic Invoice Is Linked to the Classifier of Units of Measurement

In 1C for Kazakhstan, units of measurement are stored in the “Classifier of Units of Measurement” directory. This directory:

  • contains units used in accordance with OKEI — the Kazakhstan Classifier of Units of Measurement;
  • is used to select units in cards for goods, work, and services;
  • allows the code of the selected unit of measurement to be transferred when generating an electronic invoice;
  • is used when completing inventory items and lines in receipt and sales documents.

The location of the directory depends on the configuration and interface settings. In “Accounting for Kazakhstan,” it can be found in the section related to inventory items and warehouses, or opened through the unit-of-measurement selection field in an inventory item card or document.

The completion sequence is as follows: classifier entry → unit in the inventory item card → unit in the sales document line → electronic invoice attribute. Therefore, every link must be checked, not only the generated electronic invoice.

Step-by-Step Check in 1C

Step 1. Inventory item card. Open the goods, work, or service from the problematic electronic invoice line and check whether a unit of measurement is specified. If the field is empty, select the appropriate entry from the available classifier.

Step 2. Classifier entry. Open the selected unit in the directory and check its code and name. Pay particular attention to entries that users created manually under abbreviated names, such as “pcs.,” “pkg.,” or “roll”: such an entry may not contain the OKEI code required to complete the electronic invoice.

Step 3. Selection from OKEI instead of manual entry. If the configuration allows a unit to be selected from the classifier, use the selection function. If there are two similar entries, compare their codes and link the inventory item to the entry with correctly completed attributes. Before changing a widely used unit, check which items already use it.

Step 4. Sales document. Changing the inventory item card does not always replace the value previously saved in a posted document. Open the sales document, find the required line, and check the unit directly in the tabular section. If necessary, update the line using the method provided by the configuration and repost the document.

Step 5. Regenerating the electronic invoice. After correcting the source data, generate the electronic invoice again based on the sales document. Before sending it, review the goods lines and make sure that the unit of measurement and its code are completed for every problematic item.

Message “The Value of the \"Weight Unit of Measurement\" Constant Is Not Set”

In “Trade Management for Kazakhstan,” a separate message may appear: “The value of the \"Weight Unit of Measurement\" constant is not set. Contact the administrator.”

This message relates to the setting for the unit in which the software records weight. It is not the same as a situation in which the unit of the goods is missing from an electronic invoice line. If the message appears when working with packages or weight characteristics, check the general weight unit-of-measurement setting and the directory entries being used.

What to do:

  • ask the administrator to check whether the “Weight Unit of Measurement” setting has been completed;
  • check the code and name of the selected unit in the classifier;
  • after saving the setting, repeat the operation during which the message appeared;
  • separately check the unit of the goods in the sales document if the error was detected while preparing the electronic invoice.

If the organization uses packages and goods measured by weight, it is advisable to configure the general weight unit before completing the corresponding inventory item characteristics. This will make it possible to distinguish a weight-setting error from an uncompleted attribute in a specific goods line.

What to Do If the Electronic Invoice Has Already Been Issued Without a Unit of Measurement

If the electronic invoice has already been sent to the Electronic Invoice Information System, changing the inventory item card in 1C alone is insufficient: it will correct the accounting data for subsequent documents but will not change the information in the electronic invoice already sent. First, compare the sent document with the sales document and determine exactly which line was completed incorrectly. Then use the document type available in the Electronic Invoice Information System to make the correction, taking into account the status of the original electronic invoice and the nature of the error.

Do not choose the correction method based solely on the name of the command in 1C. Before sending, check the link to the original electronic invoice, the attributes of the line being corrected, and the document’s final data. If the electronic invoice is generated in the accounting system, make sure that the corrected unit has been transferred to the prepared document before it is signed.

Procedure in practice:

  1. Eliminate the cause in 1C: correct the classifier entry, the inventory item card, and, if necessary, the sales document line.
  2. Check the status of the previously sent electronic invoice and the actions available for it in the Electronic Invoice Information System.
  3. Prepare a document linked to the original electronic invoice and check the unit and code in the line being corrected.
  4. After sending, provide the counterparty with the details of the corrected document so that they can reconcile the information with their accounting records.

How to Prevent the Error from Recurring

  • Select units from the classifier. Do not create an abbreviated entry manually if a suitable unit already exists in the directory.
  • Monitor duplicates. Before deleting or marking an entry for deletion, check whether it is used in inventory items and documents.
  • Check new inventory item cards. The unit of measurement and its code should be completed before the first sale is recorded.
  • Complete the general weight settings during initial database setup if the organization works with goods measured by weight and packages.
  • Review the goods lines before sending an electronic invoice, especially if the document contains new items or units recently added to the directory.
  • Check updated documents. After changing the inventory item card, make sure that the new value has also been transferred to the previously created sales document.

Frequently Asked Questions

Why does the goods card in 1C have a unit of measurement, while the electronic invoice does not? — Check not only the unit name but also its code in the classifier and the value in the sales document line. The database may use a similar entry that was created manually without the required attributes.

Where can I find the classifier of units of measurement in 1C? — It can be opened from the section related to inventory items and warehouses or through the unit selection field in the inventory item card. The exact path depends on the configuration, version, and interface settings.

I corrected the goods card, but the electronic invoice still has no unit—why? — The sales document may have retained the previous value. Check the unit in its tabular section, update the line, and only then generate the electronic invoice again.

What does the error “The value of the \"Weight Unit of Measurement\" constant is not set” mean? — The general setting for the unit in which weight is recorded has not been completed. Check it together with the database administrator. This is a separate setting, so when preparing the electronic invoice, also check the unit of the goods themselves.

Can an electronic invoice that has already been sent be corrected? — First, check the status of the original electronic invoice and the available actions in the Electronic Invoice Information System. Correcting the card in 1C does not automatically change the sent document: you must prepare a linked document and check the corrected information before signing.

Sources

Frequently asked questions

Why does the goods card in 1C have a unit of measurement, while the electronic invoice does not?
Check not only the unit name but also its code in the classifier and the value in the sales document line. The database may use a similar entry that was created manually without the required attributes.
Where can I find the classifier of units of measurement in 1C?
It can be opened from the section related to inventory items and warehouses or through the unit selection field in the inventory item card. The exact path depends on the configuration, version, and interface settings.
I corrected the goods card, but the electronic invoice still has no unit—why?
The sales document may have retained the previous value. Check the unit in its tabular section, update the line, and only then generate the electronic invoice again.
What does the error “The value of the \"Weight Unit of Measurement\" constant is not set” mean?
The general setting for the unit in which weight is recorded has not been completed. Check it together with the database administrator. This is a separate setting, so when preparing the electronic invoice, also check the unit of the goods themselves.
Can an electronic invoice that has already been sent be corrected?
First, check the status of the original electronic invoice and the available actions in the Electronic Invoice Information System. Correcting the card in 1C does not automatically change the sent document: you must prepare a linked document and check the corrected information before signing.

Read also

Latest answers

Sources

Was this article helpful?
💼 Need help with 1C or accounting? Слава КВЦ — many years of 1C practice in Kazakhstan. Explore the annotated Tax Code of RK 2026 or ask in the BuhGPT chat — answers in seconds.