The tax must be calculated from the net amount.
for example € 150 + 10% tax (tax € 15) = € 165

CommentFileSizeAuthor
#2 screen_ubercart_en.jpg27.64 KBlippro
screen_ubercart.jpg23.71 KBlippro

Comments

longwave’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Please provide more info about your tax setup and an example calculation (in English) showing what Ubercart is calculating and what you expect to be calculated.

lippro’s picture

StatusFileSize
new27.64 KB

Ubercart 6.x-2.6 and uc_vat 6.x-1.2 the tax was calculated correctly.
Since Ubercart 6.x-2.7 is the tax calculated incorrectly.

correctly would be:
Subtotal: 62.00 (tax included)
Subtotal excluding VAT: 56.36
VAT 10%: 5.64
Total: 62.00

currently calculated incorrectly:
Subtotal: 62.00 (tax included)
Subtotal excluding VAT: 56.36
VAT 10%: 6.20
Total: 62.00

longwave’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

This is a uc_vat issue, then; see http://drupal.org/project/issues/uc_vat for some patches which need testing.

lippro’s picture

Thanks, I've updated uc_vat with the following: http://drupal.org/files/uc_vat.module.txt
Now it seems to work.