---
title: "Why is the NKT code not filled in the ESF"
country: KZ
lang: en
author: Сапа Т.И. (https://buhgpt.kz/authors/sapa-ti)
date: 2026-09-23
canonical: https://buhgpt.kz/suraqtar/pochemu-ne-zapolnyaetsya-kod-nkt-v-esf-en
source: BuhGPT
---

# Why is the NKT code not filled in the ESF

> **TL;DR:** If the CTN (commodity nomenclature) code — for goods included in the exemption list and the Virtual Warehouse — is not being pulled into the ESF, in the vast majority of cases there is a single reason: the corresponding option is not enabled in the program settings. The proble

---

If the CTN (commodity nomenclature) code — for goods included in the exemption list and the Virtual Warehouse — is not being pulled into the ESF, in the vast majority of cases there is a single reason: the corresponding option is not enabled in the program settings. The problem is solved with a single checkbox in the settings, without any additional manipulation of the documents. Once it is enabled, the CTN code will be filled in automatically, and there will be no need to enter it manually.

Why the CTN code is needed in the ESF at all

The CTN code (Commodity Nomenclature) is indicated in the electronic invoice for goods subject to traceability: these are goods from the exemption list within the EAEU and goods accounted for in the Virtual Warehouse. If the code is mandatory in an ESF line but is not filled in, the document will not pass validation and will not be issued. That is why automatic substitution of the code saves time and reduces the risk of errors when issuing invoices in bulk.

How to fix it

The main reason is a disabled autofill option. The order of actions:

- Open the program's general settings (the settings section responsible for working with ESF).

- Find the ESF settings section, and within it the "ESF filling" block.

- Check the box "Automatically fill in CTN codes".

- Save the settings and reissue (or refill) the document.

After enabling this setting, the CTN code will be pulled into documents automatically.

If the box is already checked but the code is not filled in

If the option is enabled but the code is still empty, you should check whether the settings were saved and recheck the section itself again. Often the reason is precisely that the option was disabled or reset (for example, after a configuration update or when working in another information database). Additionally, pay attention to the following:

- Whether the CTN code is filled in in the item card itself. The program substitutes into the ESF the value that is specified for the goods. If the CTN code field is empty in the item reference book, there will be nothing to substitute — autofill does not create the code, it only transfers the one already available.

- The classifier being up to date. Check whether the reference book of HS Codes / CTN codes has been loaded and updated in the database. If the required code is not in the classifier, it cannot be selected and substituted.

- The type and settings of the source document. The CTN code is transferred to the ESF from the primary sales document. Make sure the field is filled in specifically in the document on the basis of which the invoice is generated.

- Whether the code is required for a given item. The CTN code is mandatory not for the entire nomenclature, but for goods subject to traceability (exemption list, Virtual Warehouse). For ordinary goods the field may remain empty — this is not an error.

- Access rights and operating mode. If the setting is not saved, check the user's rights to modify general settings and make sure you are making changes to the working database and not to a copy.

Step-by-step diagnostic procedure

- Open the problematic ESF and see for exactly which lines (goods) the CTN code is not filled in.

- Open the card of the corresponding item and check whether the CTN code is indicated in it.

- If there is no code in the card, fill it in from the classifier and save the item.

- Check the setting for auto-filling CTN codes in the "ESF filling" section (see above).

- Refill the tabular section of the sales document and regenerate the ESF.

- Make sure the code has been pulled in, and only after that issue the invoice.

Typical mistakes

- They look for the reason in the ESF document itself, whereas the field needs to be filled in in the item card and in the source document.

- They enable the autofill checkbox but do not refill an already created document — the old lines remain without a code.

- They assume the CTN code is mandatory for all goods and try to enter it where it is not required.

- They do not save the settings after checking the box, or make changes to the wrong information database.

- They work with an outdated classifier, so the required code is missing and is not substituted.

What to check

- Whether the "Automatically fill in CTN codes" option is enabled in the "ESF filling" block and whether the settings are saved.

- Whether the CTN code is filled in in the item cards for goods subject to traceability.

- Whether the loaded code classifier is up to date.

- Whether the document and its tabular section have been refilled after enabling the setting.

- Whether the code is filled in in the primary source document from which the ESF is generated.

- Whether the goods actually require a CTN code (exemption list, Virtual Warehouse).

In most cases it is enough to enable the autofill checkbox and refill the document. If this does not help, sequentially check the item card, the classifier, and the source document — that is where the reason the CTN code remains empty most often lies.

---
_BuhGPT — ИИ-помощник для бухгалтеров Казахстана: https://buhgpt.kz_