Callback
  • From a market stall to a store

  • -

  • From a store to a retail chain

  • -

  • From retail to manufacturing

Replacing the CEP for software pECR in Torgsoft

Volodymyr Vytyshchenko
Volodymyr Vytyshchenko

Trade automation expert at Torgsoft

Instructions for safely replacing the qualified electronic signature (QES) for the software ECR in Torgsoft. This is performed when the key expires, is blocked, or when the cashier changes.

When key replacement is mandatory

  • The QES has expired or is about to expire.

  • The key has been revoked or blocked by the certification authority / bank.

  • The cashier or responsible person has changed.

  • The pECR does not sign receipts or does not open / close the shift.

How to understand that the old key no longer works

  • Receipts are not signed and are not sent to the State Tax Service.

  • Errors:

    • Certificate revoked

    • CertStatus: 1

    • ShiftAlreadyOpened

    • DocumentValidationError

  • Message «Certificate not found».

Why the pECR may not work after replacing the key

  1. The QES certificate has expired.

  2. The new key is not registered with the State Tax Service (Form 5-pECR).

  3. In Torgsoft, the key has been updated only in the pECR, but not in the employee card.

  4. The old shift remained open with an expired key.

How to correctly replace the QES for the pECR

Stage 1. Registering the new key with the State Tax Service

1. Obtain a new QES from a bank or certification authority.

2. Submit Form No. 5-pECR (J/F1391802) through:

    •    The Taxpayer’s Electronic Cabinet, or

    •    M.E.Doc / Sonata.

    •    Torgsoft
Starting from version 2022.0.16, Form No. 5-pECR can be submitted directly from the program, but there is an important nuance here — the application must be signed with a valid manager’s key. Therefore, first go to the menu «Settings» → «Company», select your organization, and on the «QES (EDS)» tab upload the working (valid) electronic signature key of the director or Sole Proprietorship owner. After saving this data, go to «Settings» → «Software ECR», open the «Software ECR Registration» tab, select this company, and in the cashiers block click «Add». In the window that appears, specify the path to the new cashier key (its identifier will be detected automatically), fill in the full name and tax number, and click «Save» — after that, Torgsoft will automatically generate the form, sign it with the manager’s key, and send Form No. 5-pECR to the State Tax Service.

3. If the previous shift is not closed and the old key is already invalid — in Form 5-pECR for the new key, select the signature type “Senior cashier”.

4. Wait for Receipt No. 2 confirming successful registration.

 Legally, you may work after Receipt No. 2, but in practice the State Tax Service servers may update access with a delay of up to several hours.

Stage 2. Preparing the key file

  1. Create a permanent folder for keys, for example:
    C:\TORGSOFT\PROGRAM\Keys\

  2. Copy the key file there (.dat, .jks, .zs2).

  3. Do not store keys on the Desktop or in «Downloads».

Stage 3. Updating the key in the pECR settings

  1. Open Settings → Software ECR.

  2. Select the required pECR → Edit.

  3. In the Private key field, specify the new file.

  4. Enter the key password.

  5. Click Read / Check — the certificate information should be loaded.

  6. Click Save.

Stage 4. Updating the key in the employee card (critically important if separate keys are used for each employee)

If you skip this step — receipts may continue to be signed with the old key.

  1. Go to Settings → Employee.

  2. Select cashier → Software ECR tab.

  3. Replace the key file and password.

  4. Save the changes.

What to do if the old shift remained open

Situation: the shift is open with the old key, which is already invalid.

The only correct option:

  1. Register the new key through Form 5-pECR with the signature type “Senior cashier”.

  2. Specify the new key in Torgsoft.

  3. Run the Z-report (close the shift).

In complex cases (offline packets, validation errors), the closing is performed through technical support.

How to verify that the new QES works

  • Connection check pECR → Online status.

  • The shift opens without errors.

  • The receipt is successfully fiscalized by the State Tax Service.

How to avoid problems when replacing the key

  • Check the QES expiration date in advance (at least 14 days ahead).

  • Always close the shift before replacing keys.

  • Do not replace the key during an active shift unless necessary.

What is important to remember

First the State Tax Service (5-pECR) → then Torgsoft → separately pECR and employee.
Violating this order leads to blocking the cash desk operation.


Програма обліку товару | Торгсофт



Facebook Instagram YouTube Twitter Google News Apple Podcast SounCloud

Add comment

Add comment
Thank you for your feedback! It will be published after being reviewed by a moderator.
Related articles