RUKKENZH
Ask AI
Sections1C: how-to
How to recalculate VAT amounts in all 1C sales documents at once when the rate is set to 16% and the VAT amount is blank
Article language:🇷🇺 RU🇰🇿 KK🇬🇧 EN🇨🇳 ZH

How to recalculate VAT amounts in all 1C sales documents at once when the rate is set to 16% and the VAT amount is blank

ХМ
Хлынова М.А. — Head of the 1C Certified Training Center (Training Center No. 5), 1C:ERP methodologist
Prepared by the BuhGPT editorial team

For 1C:Accounting for Kazakhstan 3.0 (release 3.0.75.1)

The 16% VAT rate in the sales documents is correct. Only the VAT amount needs to be corrected. To recalculate it in all documents at once, use the “Bulk Edit Attributes” utility in “Run Custom Algorithm” mode. Open it from the “Administration” section, paste the recalculation code, and leave developer mode off so the documents are reposted.

In brief: The 16% rate is correct. From 1 January 2026, the standard VAT rate is 16% (2026 Tax Code of the Republic of Kazakhstan, Article 503, paragraph 1). Exceptions include medicines, medical devices and medical services (5% in 2026), domestic periodicals (10%), and zero-rated supplies under Chapter 47. Only the VAT amount needs to be corrected.

Why the VAT amount is blank

Go to “Sales” → “Sales of Inventory and Services” to open the list of sales documents you need to check.

In 1C, the formula for a line’s VAT amount uses the VAT rate, the line amount, and two document settings: “Apply VAT” and “Amount Includes VAT”. If “Apply VAT” is cleared (the document is set to “No VAT”), the VAT amount is always 0 regardless of the rate. The amount also stays blank if the rate was changed using a bulk edit utility or the documents were imported from another application. These methods write directly to the field without triggering a line recalculation.

Open one of the affected documents and click the “Prices and Currency” / “VAT” link in the header:

In the “Sale of Inventory and Services” document, a correctly filled line on the “Inventory” tab shows 16% in “VAT %” and a value in “VAT Amount”. The “KZT, VAT Added” link in the header shows the document’s VAT mode. If it shows “No VAT”, the VAT amount will be 0.

  • If it shows “No VAT”: The organization is either not marked as a VAT payer in its accounting policy as of the document date, or the mode was set manually. First check whether the organization was a VAT payer on that date. If it was not, the 16% rate does not belong on the document.

  • If it shows “VAT Included” or “VAT Added”: The settings are correct and the amount only needs to be recalculated. Use the bulk correction below.

Why you should avoid switching VAT modes in “Prices and Currency”

Switching from “No VAT → VAT Included” or between “VAT Added ↔︎ VAT Included” recalculates all document lines at once and also changes the prices. Each price increases by 16% or decreases by the same amount. The document total and the amount owed by the customer change as well. Only the bulk edit utility corrects the VAT amount without this side effect.

Bulk correction

Back up the database. Then go to Administration → Maintenance → Data Correction → Bulk Edit Attributes. Open the utility directly from this section. Algorithm mode is unavailable if you open the utility from the document list using “Edit Selected”. It is also unavailable in a cloud database (service mode).

Under “Administration” → “Maintenance”, find the “Data Correction” group. Open “Bulk Edit Attributes” from there to access algorithm mode.

  1. Select “Sale of Goods and Services” as the document type to edit. Click the “All Items” link next to the “Edit” field and filter by period and organization. Without a filter, the utility processes every sales document in the database.

  2. Select “Run Custom Algorithm” and use safe execution mode.

  3. Paste the code:

// Объект is the “Sale of Goods and Services” document
// If the documents were set to “No VAT” and the price already includes VAT, uncomment the 4 lines below:
// Если Не Объект.УчитыватьНДС Тогда
//     Объект.УчитыватьНДС = Истина;
//     Объект.СуммаВключаетНДС = Истина;
// КонецЕсли;
Если Объект.УчитыватьНДС Тогда
    Для Каждого ИмяТЧ Из СтрРазделить("Товары,Услуги", ",") Цикл
        Для Каждого Стр Из Объект[ИмяТЧ] Цикл
            Ставка = Стр.СтавкаНДС.Ставка;
            Если Объект.СуммаВключаетНДС Тогда
                Стр.СуммаНДС = Окр(Стр.Сумма * Ставка / (100 + Ставка), 2);
            Иначе
                Стр.СуммаНДС = Окр(Стр.Сумма * Ставка / 100, 2);
            КонецЕсли;
        КонецЦикла;
    КонецЦикла;
КонецЕсли;

In “Run Custom Algorithm” mode, the code is in place, the “Edit” field is set to “Sale of Inventory and Services”, and “Execution Mode” is set to “Safe”. Use the “All Items” link next to “Edit” to filter by period and organization.

  1. Leave “Developer Mode” off in the additional settings. With it off, the utility reposts previously posted documents when saving them. This updates the accounting entries and VAT registers and recalculates the document total on save. In developer mode, the utility saves the document without reposting it, leaving the old accounting entries in place.

  2. Under “Additional Settings” → “Special Features”, keep “Developer Mode” off so previously posted documents are reposted.

  3. First run the utility on 2–3 documents. Check the VAT amounts against those obtained by manually reselecting the rate, then run the utility on the full list.

After the correction

  • If electronic invoices (e-invoices) have already been issued for these sales with a VAT amount of zero, correct them in the E-Invoice Information System by issuing a corrected or supplementary e-invoice. The amounts will change in 1C, and the e-invoices will require a separate update.

  • If you have already filed the VAT return (Tax Reporting Form 300.00) for this period, file a supplementary return because output VAT will increase.

  • If the document dates fall within a period locked for editing, the documents cannot be saved. Temporarily move the edit lock date.

Frequently asked questions

Why is the VAT rate 16% in the sales document while the VAT amount is blank?
Either “Apply VAT” is cleared in the document (“No VAT” mode), or the rate was changed using a bulk edit utility or the documents were imported from another application. Bulk edits and imports do not trigger a line recalculation.
Can I just switch VAT modes in “Prices and Currency”?
Avoid switching modes because doing so recalculates the lines and changes the prices, which also changes the document total and the amount owed by the customer.
Should I enable “Developer Mode” in the bulk edit utility?
Leave it off so the utility reposts previously posted documents and updates the accounting entries. Developer mode leaves the old entries in place.
What should I do after recalculating VAT?
Correct any e-invoices already issued with a VAT amount of zero in the E-Invoice Information System. If you have already filed the 300.00 return for the period, file a supplementary return.

Didn’t find the answer for your case?

Ask BuhGPT — pick a ready question or type your own.

Ask BuhGPT — first questions are free

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.