Revaluation of goods: when to change the selling price and when to change the purchase price
If incorrect cost appears in Torgsoft reports, profit goes into minus, or, conversely, becomes abnormally high, the reason is often that selling price revaluation was confused with correcting the purchase price. These are two different actions: changing the selling price affects only future revenue, while changing the purchase price affects cost, margin and financial reports. Therefore, before making corrections, it is important to understand exactly which price you want to change and why.

In trade, there are two basic concepts that must not be confused, because they directly affect the calculation of your profit:
Selling price (retail/wholesale sales price) — this is the amount the customer pays you. Changing it affects only future revenue.
Purchase price (cost) — this is the amount you paid the supplier for the goods, plus additional expenses (for example, delivery or VAT). It is the basis for calculating your profit.
Profit = Selling price – Cost.
If you simply want to add a markup or give a discount to the customer — the sales price changes. If it turns out that an incorrect purchase cost was entered into the program, or the supplier changed the price list for a new batch — then you work with the purchase price. Misunderstanding this difference leads to financial reports showing incorrect data (for example, negative profit or a 100% margin where it does not actually exist).
You should not change the purchase price only because you need to increase or decrease the price for the customer. If you edit old stock receipt invoices instead of performing a normal selling price revaluation, you can break the history of cost and profit for past periods. And if the purchase price was actually corrected, but the cost recalculation was not performed, reports will continue to show old or zero values for a long time. If you are not sure whether the problem is related to revaluation, purchasing or the accounting method, it is better to contact technical support.
What the problem looks like in accounting and reports
-
In analytics (for example, «Sales Profitability for the Period» or «Trade Revenue Analysis»), the «Cost» column shows zeros or incorrect amounts.
-
Product profit in reports goes deeply negative or, conversely, becomes abnormally high.
-
In the «Warehouse Status» form, goods are highlighted in red (this means that the current selling price is lower than the calculated cost).
-
When trying to add an item to a sale, the program «freezes» or displays a warning about selling below cost.
Why incorrect cost or profit appears in reports
Reason 1. The purchase price was changed, but cost was not recalculated
The user opened an old stock receipt invoice and corrected the purchase price of the goods, but forgot to perform recalculation. In Torgsoft, cost is not recalculated instantly in all past documents in order to save system resources. Until you run the recalculation, the program will use old, no longer relevant data in reports.
Reason 2. A new batch was entered as a change to an old purchase
The supplier delivered a new batch of the same product, but at a higher price. Instead of creating a new stock receipt invoice (where the program, using the FIFO method, will correctly separate batches and their costs), the user opens an old invoice and changes the purchase price there. This breaks the history of all past profit.
Reason 3. An incorrect or zero purchase price was entered in the stock receipt
When importing goods from Excel or during manual entry, the purchase price was not specified at all (the goods were received with zero cost).
How to check where exactly the margin or cost broke
-
Check product movement: go to Warehouse → Warehouse Status, select the suspicious item and click Product Movement (or Warehouse → Product Movement). Check the Price column (this is the purchase price in stock receipt documents) and the Price list column (this is the sales price).
-
Check whether cost is present in reports: go to Analysis → Sales Profitability for the Period. If the Cost of Sales column shows zero, and the goods were not sold "into minus" (without stock availability), it means that cost has not been calculated.
Action algorithm: what to do depending on which price must be changed
Scenario 1. How to change the selling price without changing cost
If you have decided to add a markup, run a sale or adjust the storefront price, you do not need to touch cost.
-
Go to Warehouse → Warehouse Status.
-
Select the required goods (you can select several using Ctrl).
-
Click Product Sale Conditions → Change Sales Price.
-
In the window, select: Increase, Decrease or Set New Price (as a percentage or in hryvnias).
-
Click Change Price. The program will automatically create a Revaluation Act, the storefront price will change, and the margin for future sales will be calculated from the old correct purchase cost.
Scenario 2. How to correct the purchase price and restore cost
If you really entered an incorrect purchase price in a stock receipt, it must be corrected with mandatory subsequent recalculation.
-
Find the incorrect invoice: Document → Goods Receipt (or Warehouse → Receipt List), click Edit.
-
Correct the Purchase Price field to the correct value. Save the invoice.
-
Critical step: go to Warehouse → Warehouse Status. Click Recalculate Cost → Recalculate Cost for All Goods.
-
Wait until the process is complete. After that, the program will rewrite the cost in all movement documents, and reports will start showing the correct profit.
How to prevent margin and cost from breaking again
-
Use the correct accounting method. Make sure that Settings → Parameters → Accounting uses the cost calculation method «By Supply Batches (including internal transfers)». This will allow the program to correctly calculate profit using the FIFO method: if a new batch arrives at a new price, the cost of the old goods will be written off first, and then the new ones.
-
Set up automatic recalculation: To keep cost and profit up to date every morning, set up night recalculation. Go to Settings → Scheduled Tasks → Cost Calculation tab. Set the time (for example, 01:00) and enable it.
-
Prohibit sales into negative stock: Cost is most often lost (equals zero) if a seller sold goods that are not yet in stock in the program. Go to Settings → Parameters → Accounting and set What to do if there are not enough goods in stock to Prohibit sales into negative stock.
-
Do not edit old closed periods: If you regularly close months (Analysis → Period), do not try to change purchase prices in the deep past, otherwise you will have to recalculate and re-close all periods again.
Frequently Asked Questions
To make a markup, hold a sale, or change the price for a buyer, you do not need to edit the purchase documents. Go to Warehouse → Warehouse status, select the necessary products and click the Product sales conditions button, and then select Change selling price.
In the window, select the desired action: increase, decrease, or set a new price in currency or percentage. After clicking the Change price button, the program will automatically revalue the product for the customer, create a Revaluation Act, and the purchase cost will remain unchanged.
If you made a mistake when posting the product, you need to find the corresponding receipt (via Document → Product arrival or Warehouse → Receipt list), open it for editing using the Change button, and specify the correct purchase price.
A critical step: after saving the changes to the invoice, be sure to go to Warehouse → Warehouse status and run the Recalculate cost action. Until you perform the recalculation, the program will continue to use old, outdated data in the reports.
Selling price and cost are two basic financial concepts that are independent of each other during revaluation. The selling price is the amount that the customer pays you, and its change affects only your future revenue.
Cost is your actual costs for purchasing a specific batch of goods from a supplier, which are recorded in the sales invoice. If you give a discount to a customer or raise the price in the storefront, your purchase costs do not change, so the cost remains fixed. It is the difference between the selling price and this cost that forms your margin (profit).
This most often happens if the seller sold the product "at a loss" (when it was not yet on the balance in the program), which is why the cost of sales and the balance cannot be calculated correctly. To avoid this, it is recommended to set a ban on negative sales in the accounting settings.
Another reason may be that you are using the outdated "Last purchase price" method, and the product came to the current warehouse through an internal transfer without direct receipt. In addition, check whether the Search for prices in the product card parameter is enabled during its posting.
This is a technical feature of the Torgsoft algorithm: each time a new number of the first day of the month occurs (for example, October 1), a new accounting period is created for which the cost has not yet been calculated. Therefore, the "Warehouse status" form may display zeros.
In order for the cost of the balances to be displayed correctly on the 1st, you need to either manually recalculate it in the morning, or set up automatic recalculation at night (for example, at 01:00) via Settings → Scheduled tasks. Then all data will be up-to-date by the beginning of the working day.
The cost recalculation must be performed after any corrections to old warehouse documents: changing the purchase price in the receipt, editing the quantity, deleting product movements, or closing inventory information. This is also done after changing the cost calculation method in the settings.
In addition, it is advisable to perform the calculation before generating any analytical reports for the month. If the period has already been closed (Analysis → Period), it is not necessary to recalculate the cost for it, since all indicators are already fixed.
If the supplier has brought a new batch of the same product, but at a higher price, never change the purchase price directly in the old closed invoice. This will cause the program to recalculate the cost of all past sales at the new inflated price, which will irrevocably break the history of your real profit for previous periods.
Always create a new revenue invoice for new deliveries. Torgsoft supports FIFO accounting (first in, first out), so the program will correctly divide the batches and first write off the cost of the old, cheaper product, and only then the new one.
To check the margin, use the Analysis → Profitability of sales for the period report, where you can clearly see the amount of sales, the cost of goods sold, and the final profit. If there are zeros in the "Cost of sales" column, the profit will be equal to the full amount of sales - this is a sign of sales "in the negative" or the lack of cost recalculation.
For a detailed analysis of a specific doubtful item, select it in the Inventory status and click Goods movement. This report allows you to track the exact price at which the goods arrived, how they were moved between warehouses, and what cost was written off at the time of a specific sale.
-
08.05.2026
Revaluation of goods: when to change the selling price and when to change the purchase price
Why is the cost price and profit calculated incorrectly in Torgsoft: revaluation, purchase price and recalculation
-
05.05.2026
Partisanship in analysis: how to track movement and profit on a specific supplier invoice
Procurement analysis in Torgsoft: movement of goods, balances, returns, write-offs, revenue and profit by invoices and delivery batches
-
27.04.2026
How to check whether a batch of goods has paid off: invoice profitability analysis
How to check the profitability of an incoming invoice in Torgsoft: revenue, discounts, balances, returns and payback of the batch









Go back to the previous step