What would be the best attempt to handle shipping costs incl. VAT? Is this module the right place?
I would like to handle shipping costs like products - incl. VAT.
But ubercart adds taxes on top of the value.
Entering shipping costs without VAT would result in a wrong display at cart.
If shipping costs are not handled by taxes the total price is correct but the containing tax isn't (VAT of shipping is missing).

cheers, Ronald

Comments

Al01’s picture

This module is the right place and I have already some working code, although there are still some changes necessary. I post a patch asap, but it might take until next week.

@longwave: Am I right that also in the UK shipping should be displayed incl. VAT?

attiks’s picture

FYI

In Belgium you don't pay VAT if you're shipping using the Belgian post office, if you use another party you'll have to pay VAT.

rokr’s picture

This is exactly the same for german post. At this point i didn't want to make it more complex but in fact this should be mentioned. :-)
(AFAIK Germany will introduce VAT for business clients of german post in 2010)
So it should be possible to have shipping with VAT included based on shipping type.

cheers, Ronald

longwave’s picture

Status: Needs review » Active

Tax on shipping can be selected in the tax rules via a checkbox, uc_vat should use this to add VAT (or not) to shipping prices. I will work on a patch for this soon, unless Al beats me to it in posting his code :)

Island Usurper’s picture

I think the patches being worked on in #518916: Use uc_price types instead of locations adds VAT to the shipping line items. It doesn't do it quite perfectly, so I won't just call this a duplicate issue.

longwave’s picture

Status: Active » Fixed

Shipping costs can be taxed correctly in rc7.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mitrpaka’s picture

StatusFileSize
new7.86 KB
new6.65 KB

Shipping costs can be taxed correctly in rc7.

Shipping costs can be taxed correctly if shipping cost is entered without VAT as Ronald stated in the original post. However, there seems to be minor challenge in Checkout page as shipping cost in Calculate shipping cost section is shown without VAT (even though total is correct in payment method section).

Is there any workaround to correct this or have I overlooked something (and not doing this tax thing correctly)? Furthermore it would be nice if uc_vat support could be extended to Shipping quote settings and Tax rates and settings areas as well (i.e. to have possibility list price with inclusion /exclusion of VAT)

polmaresma’s picture

Now it seem to work!
I entered the shippig cost without VAT and system shows me the correct Price + VAT

Thank's for the module!

Juhani’s picture

Category: feature » bug
Status: Closed (fixed) » Active

Shipping quote calculation issue (as described in mitrpaka's comment #8) is still alive.

VAT calculation is applied correctly to shipping costs in shipping quote checkout pane only, when a product exists in order with the same tax rate as used for shipping fees. For example, when VAT 23% is used for shipping fees and there are only products with VAT 9% in the order, VAT calculation in the prices of shipping quote pane is skipped or not functioning.

Despite this, in payment method checkout pane, VAT is calculated always correctly in the summary.

Thanks for this very useful module, anyway! :)

blecheimer’s picture

I have the same problem!

pauljb’s picture

subscribing

longwave’s picture

The patch in http://drupal.org/node/855296#comment-3459096 appears to fix this issue, please test this and provide feedback.

steffenr’s picture

StatusFileSize
new13.52 KB

I just created a new patch for shipping-cost's tax calculation - thx to longwave and a co-worker of mine i changed the calculation of shipping tax-rates proportionally to products prices.. This should correspond to german law's..

I made this patch against latest HEAD Version ( 2010-Sep-18 )

SteffenR

longwave’s picture

In the UK, shipping must be taxed at the highest rate used on products in the order - so if you are only sending zero-rated products, shipping is not taxed, but if you are sending taxable products, shipping must be fully taxed at that rate. I have added an option to the module to do this, but it requires a patch to uc_taxes.

To enable this feature, you need:

  • Latest uc_vat from CVS
  • Patched ubercart/uc_taxes/uc_taxes.module (patch at http://drupal.org/node/990744)
  • "Allow per line item tax adjustments" enabled at /admin/store/settings/taxes/vat
  • "Apply VAT to shipping at the highest rate used in products in an order." enabled at /admin/store/settings/taxes/vat

This seems to be working well for me, and applies UK shipping VAT rules correctly on sites that need this.

Is this rule also used in other EU countries, or should tax be split proportionally depending on the items?

steffenr’s picture

Category: bug » feature

@longwave in Germany the tax should be splitted proportionally depending on the items tax rates - it would be nice, if you could include this option also into the module.. Some time ago (September 20, 2010) i already created a patch solving this problem..

longwave’s picture

Status: Active » Fixed

I added support for proportional tax on shipping to the latest version of the module in CVS.

To calculate tax correctly this requires the Ubercart patch from #990744: uc_taxes does not respect hook_line_item_data_alter() - the patch in #14 mostly worked but the tax amounts recorded in the order log were incorrect, and the calculations appeared to be incorrect if more line items (discounts etc.) were included in the taxable amount.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

halloffame’s picture

One quick related question...

How can we keep VAT inclusive prices the same when we change the VAT rate? The same way product's price does.