Author Topic: VAT based on shipping address  (Read 78716 times)

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on shipping address
« Reply #15 on: June 22, 2009, 18:37:23 pm »
When use "based on shipping address", there must be taxrate in all countries where you want tax.
EU mode you don´t need taxrates in eu countries, because these taxed based on vendor address(your shop country)

I have updete ALL files again. There is basket.php, to "show registered customer shipping address tax" before he select shipping address, if user is registered and "based on shipping mode"
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

Geister

  • Beginner
  • *
  • Posts: 49
Re: VAT based on shipping address
« Reply #16 on: June 23, 2009, 11:20:02 am »
I have updete ALL files again.

To make sure that I understood you right. Do you mean you updated the LIST of all files or ALL the files?
I've downloaded all files, but the first 3 files seem to be dated 20 June around 15:48. I had those files since the previous update. Only basket.php was added.
current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable

Geister

  • Beginner
  • *
  • Posts: 49
Re: VAT based on shipping address
« Reply #17 on: June 23, 2009, 18:45:05 pm »


-------------------------

And just to outline the last, but not least, this is how the taxation should work really to fully comply with the legislation in EU:

http://forum.virtuemart.net/index.php?topic=57171.msg186952#msg186952

current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on shipping address
« Reply #18 on: June 23, 2009, 20:46:01 pm »
You can set shipping vat when you edit a Shipping Rate.
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

Geister

  • Beginner
  • *
  • Posts: 49
Re: VAT based on shipping address
« Reply #19 on: June 23, 2009, 21:15:40 pm »
You can set shipping vat when you edit a Shipping Rate.

Ups... Correct. :)
It's a new field.
current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable

agrupe

  • Beginner
  • *
  • Posts: 45
Re: VAT based on shipping address
« Reply #20 on: August 28, 2009, 12:14:55 pm »
Hi,
I have tried the new code but it does not work for EU-customers with VAT-ID (tax has to be "0%" in that case). VAT is always displayed (in the checkout area) on German 19% which is correct for EU-endusers but not for EU-companies with VAT-ID.

I'm working in EU-mode.

Thanks for any help

Andreas

Geister

  • Beginner
  • *
  • Posts: 49
Re: VAT based on shipping address
« Reply #21 on: August 30, 2009, 13:07:51 pm »
Hi,
I have tried the new code but it does not work for EU-customers with VAT-ID (tax has to be "0%" in that case). VAT is always displayed (in the checkout area) on German 19% which is correct for EU-endusers but not for EU-companies with VAT-ID.

I'm working in EU-mode.

Thanks for any help

Andreas

http://forum.virtuemart.net/index.php?topic=57171.0;topicseen
current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on EU tax mode
« Reply #22 on: September 04, 2009, 18:57:38 pm »
Hi,
I have tried the new code but it does not work for EU-customers with VAT-ID (tax has to be "0%" in that case). VAT is always displayed (in the checkout area) on German 19% which is correct for EU-endusers but not for EU-companies with VAT-ID.

I'm working in EU-mode.

Thanks for any help

Andreas
Hi agrupe and others who have the euvat id issue.
Can you test this fix.
Download and unzip the attached file.
Backup or rename the file:
/administrator/components/com_virtuemart/classes/ps_product.php
Upload unzipped (ps_product.php) to:
/administrator/components/com_virtuemart/classes/
Test and give feedback.

UPDATED attached file!!!!!
UPDATED again - Now it checks if customer country and vendor country are in EU.
Checks if customer country and vendor country are not same EU country.
UPDATED If customer outside of EU, no VAT. The topic subject is wrong, this fix is only if shop taxmode is european tax mode
UPDATED with all EU_VAT rules
UPDATED
FILE IS DELETED, BECAUSE THIS IS FIXED IN NIGHTLY BUILD 1.1 AND SOON COMING 1.1.4 VERSION







VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on EU tax mode
« Reply #23 on: September 06, 2009, 10:03:15 am »
In first attached file there is a test row.
Delete test row 1556:
 echo TAX_MODE.'TAX_MODE'.$auth["user_id"].' '.$vat_id;
or Dowload updated attached file
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on EU tax mode
« Reply #24 on: September 06, 2009, 16:43:45 pm »
File updatet again,I think the new attached file hanles the euVatId TAX problem.
There is one thing to do, if customer have valid EUVATID and changes the shipping address to non EU country or same country as vendor, VAT must add to the product prices.
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

lumix1991

  • Beginner
  • *
  • Posts: 3
Re: VAT based on shipping address
« Reply #25 on: September 07, 2009, 10:41:34 am »
File updatet again,I think the new attached file hanles the euVatId TAX problem.
There is one thing to do, if customer have valid EUVATID and changes the shipping address to non EU country or same country as vendor, VAT must add to the product prices.

Dear Mauri,
We have tested this in the European Union mode, the updated file downloaded today but found some issues that remain and have a correction on the VAT that you are going to fix. Here are our short test results with :
1. Private customer from EU (incl. vendor's country): must pay VAT. [OK]
2. Private and business customer from outside EU: no VAT. [NOT OK, shows 19% VAT where it should be 0%]
3. Business customer from EU, but not from the vendor's country: no VAT. [NOT OK, shows 19% VAT with VIES validated VAT number]
4. Business customer from EU and from the vendor's country: must pay VAT. [OK]

We must also note that VAT is always set by the billing address and has nothing to do with the shipping address. The ILS tax system only accounts for the billing address. It would not be logical to charge taxes because the buyer shipping adress is outside the suppliers country and within the EU. Also if he ships it outside the EU then still the regular billing address rules apply. You really should not be changing this because we would have to ask you to how to undo this!

We would appreciate fixes for items 2 and 3.

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on EU tax mode
« Reply #26 on: September 07, 2009, 17:31:59 pm »
Hi lumix1991
Is this right:
When using European Union mode:
All customers from outside EU don´t pay VAT, if have valid EUVATID or not.
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on EU tax mode
« Reply #27 on: September 07, 2009, 19:06:35 pm »
OK, the file is updated.If customer is outside of EU, no VAT.
Give feedback  ;D
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

lumix1991

  • Beginner
  • *
  • Posts: 3
Re: VAT based on shipping address
« Reply #28 on: September 08, 2009, 09:01:44 am »
Hi lumix1991
Is this right:
When using European Union mode:
All customers from outside EU don´t pay VAT, if have valid EUVATID or not.


Hi Mauri,

Yeah! that works fine now! all customers (private and bussiness) from outside EU don't have to pay VAT.
But one point is still not working:
"3. Business customer from EU, but not from the vendor's country: no VAT. [NOT OK, shows 19% VAT with VIES validated VAT number]"

If you can fix this point, the whole VAT system is working fine!

mauri

  • Quality&Testing Team
  • Jr. Member
  • *
  • Posts: 297
Re: VAT based on shipping address
« Reply #29 on: September 08, 2009, 10:27:12 am »
Hi lumix1991
Is this right:
When using European Union mode:
All customers from outside EU don´t pay VAT, if have valid EUVATID or not.


Hi Mauri,

Yeah! that works fine now! all customers (private and bussiness) from outside EU don't have to pay VAT.
But one point is still not working:
"3. Business customer from EU, but not from the vendor's country: no VAT. [NOT OK, shows 19% VAT with VIES validated VAT number]"

If you can fix this point, the whole VAT system is working fine!

In my test site, it works.
Business customer from EU, but not from the vendor's country: no VAT, with VIES validated VAT number
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11