Downloading checks from the DPS server to Torgsoft: how to restore and synchronize pECR checks
The «Download receipts from server» function pulls fiscal receipts from the State Tax Service server into your Torgsoft database and automatically tries to link them to existing inventory documents (sales/returns). The number range is filled in automatically to find numbering «gaps» and restore chronology.
This guide covers restoring fiscal receipts from the State Tax Service server and synchronizing them again with the local Torgsoft database, so it should be followed carefully. If, after downloading, you repeat sales without checking, delete receipts, or ignore statuses such as «Unrecognized item», this may lead to duplicate operations and new discrepancies between Torgsoft and the State Tax Service data. Before you start, we recommend creating an up-to-date backup copy of the database and making sure you understand exactly which receipts need to be restored. If you are unsure about the origin of the receipts or their linkage to documents, it is better to contact technical support.
When you need to download receipts from the State Tax Service server
-
After connection failures or an interrupted offline session (for example, error 10 PackageValidationError), when you had to delete a «stuck» package in Torgsoft, but some receipts were already successfully registered with the State Tax Service.
-
After restoring the database from a backup, if the database does not contain receipts that were issued after the archive was created.
-
After accidental deletion of receipts or fiscal data in the Torgsoft program itself.
-
When there is an error updating local receipt numbering, where the receipt exists in the State Tax Service, but is missing in the local database (a «gap» has formed in local numbers).
How to understand that receipts are missing in Torgsoft
-
In software pECR Analytics, there are no receipts that actually exist on the State Tax Service server (or in the taxpayer’s electronic account).
-
There are visible gaps in Torgsoft local receipt numbers.
-
After downloading, receipts with the status «Unrecognized item» appear — this means that the receipt was pulled from the State Tax Service, but the program could not find the corresponding item or sales document in your current database.
Why receipts exist in the State Tax Service, but are missing in Torgsoft
-
The database was rolled back from an archive, so some newer receipts remained only on the State Tax Service side.
-
During a failure or while exiting offline mode, the receipt was registered with the State Tax Service, but the local Torgsoft database did not save the corresponding record (for example, due to a power outage or an SQL server failure).
-
The document (sale/return) in Torgsoft was deleted manually.
-
The receipt was issued under the same fiscal number of this pECR, but in another database or even in another program.
How to download receipts from the State Tax Service server
Where to find downloading receipts from the server
-
Open Settings → Software pECR.
-
Select the required pECR and click the action button «Download receipts from server».
How the program determines the number range
In the download window, the program fills in the number range automatically:
-
Starting number: the maximum local receipt number currently available in your Torgsoft database.
-
Ending number: the maximum local receipt number that the program receives by querying the State Tax Service server directly. This allows the system to find the «gap» on its own and load the missing receipts without manually searching for numbers.
How downloading and linking receipts works
-
Make sure that an valid QES/DES (private key) is specified for this pECR in Torgsoft settings, since it is the one used to request receipts.
-
Click Download.
-
Then the following happens:
-
Downloading an array of receipts from the State Tax Service into Torgsoft.
-
Automatic linking of downloaded receipts to inventory documents (sales/returns), if such documents physically exist in this database.
-
If the inventory document is missing or the receipt is «foreign» (generated by another program/database), the items from such a receipt receive the status «Unrecognized item» and are displayed under the corresponding status in pECR Analytics.
How to verify that receipts were restored correctly
-
Previously missing receipts have appeared in the Analytics tab for software pECR.
-
The numbering «tail» has been aligned: the last local number in Torgsoft matches the State Tax Service data (there are no gaps).
-
Receipts are correctly linked to sales/returns, while the «unrecognized» ones remain separately as a control list for review.
How not to lose receipts in the future
-
Create regular backup copies of the database and record the time of the last backup.
-
After failures, power outages, or problems while exiting offline mode — immediately check pECR Analytics and run downloading receipts from the server.
-
Do not use the same fiscal pECR number simultaneously in different databases or different programs.
What is important to remember
If receipts exist in the State Tax Service, but are missing or not linked in Torgsoft (as a result of an offline failure, restoration from backup, deletion, or a numbering error) — confidently run «Download receipts from server». Linked receipts will be pulled in and connected to documents automatically, while «foreign» receipts or receipts without documents will safely remain under the status «Unrecognized item».
-
05.03.2026
Cashier's job description for using Software ECR (pECR) in the Torgsoft system
Cashier's instructions for the pECR at Torgsoft: equipment inspection, fiscalization of sales and returns, offline limits, Z-report
-
01.03.2026
Cash Register, Fiscal Registrar, and Software RRO
What a cash register, fiscal registrar, and software cash register are, how they differ, and which fiscalization options Torgsoft supports.
-
09.02.2026
How to make a product fiscal in Torgsoft?
Accounting program and cash register: sale of fiscal and non-fiscal goods, how to make a product fiscal in Torgsoft, excise and VAT in a fiscal receipt









Go back to the previous step