# Does it still exist a rounding error in the point of sale for country with two taxes?

By
Pascal Tremblay
on 1/6/16, 9:04 PM 1,047 views

Hello guys,

I think I have found a new error in the point of sale today.

We are in Quebec, Canada. We have 2 taxes here : TPS (5 %) and TVQ (9,975 %)

We use Odoo 8.0

### Let's take an example

• For an invoice with a subtotal of 4,30 \$.

• TPS (5 %) should be 4,3 * 0,05 = 0,215 = 0,22 \$ (rounded)

• TVQ (9,975 %) should be 4,3 * 0,09975 = 0,4289... = 0,43 \$ (rounded)

• Total of taxes = 0,22 + 0,43 = 0,65 \$

• Final total should be 4,3 + 0,65 = 4,95 \$

### But in the Odoo point of sale...

• The same invoice with a subtotal of 4,30 \$

• Taxes are rather 0,64 \$ (*&&#?\$*&@#\$*&?@#*&?\$*?)

• Final total are 4,3 + 0,64 = 4,94 \$

I think the point of sale uses the one shot way to calculate the taxe in Quebec :

• 5 % + 9,975 % = 14,975 %

• 4,3 * 0,14975 = 0,6439... = 0,64 \$ (rounded)

### Références & links

• https://github.com/odoo/odoo/issues/1515

• http://www.revenuquebec.ca/fr/entreprises/taxes/tpstvhtvq/perception/calcultaxes.aspx

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

### Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

1 follower(s)

### Stats

 Asked: 1/6/16, 9:04 PM Seen: 1047 times Last updated: 1/6/16, 9:13 PM