Download & Extend

Blank line product and price editing incl. VAT don't work correct

Project:Ubercart 2 VAT support
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have price editing incl. VAT enabled and a vat for blank line products. If you insert a blank line product it's the same price in the database like the price you typed in. But it must be a price less tax (net). Because of this the tax line is wrong.

Comments

#1

Looks like this could be an Ubercart core bug: #382674: Blank Line products can't be taxed

#2

At admin/store/settings/taxes/add I checked '"Blank line" product' and 'Product' in the section 'Taxed product types'. In the section 'Taxed products' I choose 'Apply tax to any product regardless of its shipability'.

At admin/store/settings/taxes/vat the module uc_vat is configured so that the sell price is entered inclusive of vat.

I have an order with one article that costs 100 euro. At the page where I can edit this order I see the following:

Subtotal: 100,00€
Subtotal excluding VAT: 84,03€
19% VAT: 17,87€
Total: 100,00€

So far everything is ok. Now I edit this order and add a "Blank Line Article" with a price of 10 euro. Now I read this at the order edit page:

Subtotal: 110,00€
Subtotal excluding VAT: 94,03€
19% VAT: 17,87€
Total: 110,00€

Obviously there is something wrong because 94.03 + 17.87 is not equal to 110. When I deactivate uc_vat the "Blank Line Article" is taxed correctly. Is this a bug or did I misunderstand something?

I use Ubercart 2.4 and uc_vat 1.2.

nobody click here