XML validation error in ECR
01.11.2021 14:33UPD. The error has been fixed in the latest updates. The updates are already published on the website.
What is the «XML validation error»?
Those who use software ECR might have encountered the XML validation error.
This error is related to the tax authority unexpectedly changing the requirements for one of the fields in the XML document – the unit of measurement code sent to their servers.
This will be fixed in the next Torgsoft update.
How to fix it now?
To avoid waiting for the update and to fix the error, you need to set the unit of measurement code – a value greater than zero – for all fiscal types of goods in the respective field of the goods type card.
To fix this issue now, contact technical support.
#Техпідтримка Torgsoft works every day: on weekdays from 9:00 to 21:00, on weekends from 9:00 to 18:00.
— Torgsoft (@torgsoft) May 28, 2021
You can call technical support or write on Telegram @torgsoft_help
But it is easiest to submit a service request online through the Torgsoft program.#TorgsoftClick pic.twitter.com/2EG4uwHMub
Administrators and technical specialists can use the following SQL query:
UPDATE GoodType
SET MesUnitCode = 1
WHERE Fiscal = 2
AND ISNULL(MesUnit, '') <> ''
AND ISNULL(MesUnitCode, 0) = 0
This SQL query sets the unit of measurement code = 1 for all fiscal types of goods that have a unit of measurement but do not have a specified unit code.
Can such situations be foreseen in advance?
The tax authority maintains an «Description of the API of the fiscal server of the controlling authority» in Word documents, which are usually updated after the changes take effect.
We asked them to create a more prompt source of information. Let's see if they listen.
-
02.03.2026
Update of infrastructure resource rates from April 1, 2026
From April 1, 2026, server resource rental tariffs are updated. Check the new server prices (from XS to 7XL), specifications, and connection conditions.
-
15.02.2026
Service agreement from February 16 as a single format of technical support
From Feb 16, Torgsoft support switches to the Service Maintenance Agreement. Tickets are cancelled. Learn about SMA terms, time tracking, and service procedures.
-
27.01.2026
Grant for generators and charging stations for sole proprietors
Grant for sole proprietors for generators and charging stations will help ensure business autonomy during blackouts. Support for small businesses









Go back to the previous step