Title: Wrong calculation
Last modified: April 26, 2022

---

# Wrong calculation

 *  Resolved [g4ut4m4](https://wordpress.org/support/users/g4ut4m4/)
 * (@g4ut4m4)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/)
 * The calculated tax amount for one country (NL) is wrong.
 * Is there a way to see the orders on which the calculation is based one?
 * Because if I export all payed orders from that country (with an export plugin)
   I get different values.
 * Thank you for your help

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15595056)
 * Hi there,
 * you might activate extended logging and start the report again to generate the
   log files which may be accessed via WooCommerce > Status > Logfiles
 * [https://gist.github.com/vendidero/0f7658a9ba175b75fb96759409eef104](https://gist.github.com/vendidero/0f7658a9ba175b75fb96759409eef104)
 * Cheers
 *  Thread Starter [g4ut4m4](https://wordpress.org/support/users/g4ut4m4/)
 * (@g4ut4m4)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15595540)
 * Thank you.
 * I activated extended logging. you can see the log-file here:
    [https://drive.google.com/file/d/1QZxSjD8uCMBAj_myxs9buw9MM7PPl9Zm/view?usp=sharing](https://drive.google.com/file/d/1QZxSjD8uCMBAj_myxs9buw9MM7PPl9Zm/view?usp=sharing)
 * I exported every Order from NL to an excel file.
    [https://docs.google.com/spreadsheets/d/1HRdGu3jWZz7R2z2lgf68fKGi68G9t2Q3/edit?usp=sharing&ouid=102640938292344730840&rtpof=true&sd=true](https://docs.google.com/spreadsheets/d/1HRdGu3jWZz7R2z2lgf68fKGi68G9t2Q3/edit?usp=sharing&ouid=102640938292344730840&rtpof=true&sd=true)
 * But your plugin provides different values:
    [https://drive.google.com/file/d/1Qj0cofp_WUreSBYnJsBE38COC3usxEMs/view?usp=sharing](https://drive.google.com/file/d/1Qj0cofp_WUreSBYnJsBE38COC3usxEMs/view?usp=sharing)
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15600360)
 * I do not really know how to help you out on this as you might need to investigate
   that but as far as I can see, there exists a discrepancy between the orders found
   by the OSS tool and your export file. #14135 is not included in your export file
   but included in the logs. What is your current base country?
 *  Thread Starter [g4ut4m4](https://wordpress.org/support/users/g4ut4m4/)
 * (@g4ut4m4)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15602128)
 * #14135 is an order from DE not NL.
 * If you look closely you will see that your plugin found the very same 17 orders
   from NL as my export.
 * BUT your plugin calculates the sum wrong.
 * The base country is Austria (AT)
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15602262)
 * > #14135 is an order from DE not NL.
 * And why would this order not be included in the report? It’s a valid OSS order
   and will therefor be included within the OSS report. You might need to check 
   for refunds too (which might not be included within your custom export file).
 * From the log file:
 *     ```
       2022-04-27T09:50:23+00:00 INFO Processing order #13370 (shop_order_refund) based on taxable country NL
       2022-04-27T09:50:23+00:00 INFO Tax total 21 = -459.24
       2022-04-27T09:50:23+00:00 INFO Net total 21 = -2186.8571428571
       ```
   
 * Cheers
 *  Thread Starter [g4ut4m4](https://wordpress.org/support/users/g4ut4m4/)
 * (@g4ut4m4)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15602318)
 * Thank you very much.
 * this was MY mistake.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Wrong calculation’ is closed to new replies.

 * ![](https://ps.w.org/one-stop-shop-woocommerce/assets/icon.svg?rev=3517211)
 * [One Stop Shop for WooCommerce](https://wordpress.org/plugins/one-stop-shop-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-stop-shop-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-stop-shop-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/one-stop-shop-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-stop-shop-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-stop-shop-woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [g4ut4m4](https://wordpress.org/support/users/g4ut4m4/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-calculation-6/#post-15602318)
 * Status: resolved