bitwiz Posted December 2, 2016 Share Posted December 2, 2016 (edited) An invoice totals: $194.25 Tax based on customer zipcode = 5.5% (WI State @ 5.0% combined with WI Dane County @ 0.5%) Correct Actual Math = 194.25 * 0.055 = 10.68375 Prestashop Tax = $10.69 (rounded up?) INCORRECT Our company's POS System calculation = $10.68 (rounded down) Correct Then also, a second example: An invoice with total: $257.25 Tax based on customer zipcode = 5.6% (WI State = 5.0%, Milwaukee County = 0.6%) Correct Actual Math = 257.25 * 0.056 = 14.406 Prestashop tax = $14.40 (this time it rounded down???) INCORRECT Our company's POS system calculation = $14.41 Correct Prestashop Version 1.6.1.9 We're using the "recommended" rounding to round up when half way. Tax rules are set to combine. A 25% off voucher has been applied to these invoices. Removing the voucher has no effect. The tax is still incorrectly rounded. Invoices that come out to 2 decimal places or less in tax amount work correctly (no rounding involved). I've also checked for PHP updates and updated to the latest PHP 5.6 on the server today. Upgraded to Prestashop 1.6.1.10 - problem persists. Edited December 2, 2016 by bitwiz (see edit history) Link to comment Share on other sites More sharing options...
bitwiz Posted December 5, 2016 Author Share Posted December 5, 2016 (edited) The one transaction that went through over the weekend after the update that had tax applied rounded correctly. Perhaps there was a caching issue after the update was installed. I will post back if it is still a problem. Edited December 5, 2016 by bitwiz (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now