I'm developing some export features to import my order data into my accounting program.
If I could have the order's entire cost without VAT, that would be great.
All of the prices in my shop include 21% VAT.
The 'total_products' field in the 'ps_orders' table should provide me with the total number of products (without transportation) minus VAT.
I get accurate values from "total_products_wt" that include tax (what the buyer paid).
However, the figures in this column seem somewhat odd to me.
For example:
Product weight total: 414.00 (actual price includes 21%)
342.20 for total_products (should be 414/1.21=342.15)
or:
weight of all products: 100 (correct = price plus 21%)
total_products: 83 (should be 82.64, 100/1.21).
The disparity is too great to be a simple rounding error, isn't it?
I simply utilize color, which has no bearing on price; I don't use attribute or discount pricing.
I don't see any issues when I look in classes/Order.php, but perhaps I'm looking in the wrong area.
please read more information здесь
I looked through the entire thread, but I couldn't locate anyone else experiencing this issue. Perhaps no one had checked the database?
Does anyone have a solution or can someone verify this?