Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: 1 [2] 3 4 5   Go Down
Print
Author Topic: VAT based on shipping address  (Read 26523 times)
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #15 on: June 22, 2009, 11:37:23 AM »

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"
« Last Edit: June 22, 2009, 11:56:49 AM by mauri » Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
Geister
Newbie
*
Posts: 49


« Reply #16 on: June 23, 2009, 04: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.
Logged

current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable
Geister
Newbie
*
Posts: 49


« Reply #17 on: June 23, 2009, 11:45:05 AM »



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

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

« Last Edit: June 23, 2009, 14:15:10 PM by Geister » Logged

current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #18 on: June 23, 2009, 13:46:01 PM »

You can set shipping vat when you edit a Shipping Rate.
Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
Geister
Newbie
*
Posts: 49


« Reply #19 on: June 23, 2009, 14:15:40 PM »

You can set shipping vat when you edit a Shipping Rate.

Ups... Correct. Smiley
It's a new field.
« Last Edit: July 03, 2009, 10:14:22 AM by Geister » Logged

current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable
agrupe
Newbie
*
Posts: 6


« Reply #20 on: August 28, 2009, 05:14:55 AM »

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
Logged
Geister
Newbie
*
Posts: 49


« Reply #21 on: August 30, 2009, 06:07:51 AM »

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
Logged

current config: Joomla Version 1.5.12 + VirtueMart 1.1.3 stable
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #22 on: September 04, 2009, 11:57:38 AM »

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







« Last Edit: October 16, 2009, 10:41:34 AM by mauri » Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #23 on: September 06, 2009, 03: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
« Last Edit: September 07, 2009, 12:26:04 PM by mauri » Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #24 on: September 06, 2009, 09:43:45 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.
« Last Edit: September 07, 2009, 12:26:35 PM by mauri » Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
lumix1991
Newbie
*
Posts: 3


« Reply #25 on: September 07, 2009, 03: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.
Logged
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #26 on: September 07, 2009, 10:31:59 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.
« Last Edit: September 07, 2009, 12:27:00 PM by mauri » Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #27 on: September 07, 2009, 12:06:35 PM »

OK, the file is updated.If customer is outside of EU, no VAT.
Give feedback  Grin
« Last Edit: September 07, 2009, 12:27:34 PM by mauri » Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
lumix1991
Newbie
*
Posts: 3


« Reply #28 on: September 08, 2009, 02: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!
Logged
mauri
Quality&Testing Team
Sr. Member
*
Posts: 297



« Reply #29 on: September 08, 2009, 03: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
Logged

VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11
Pages: 1 [2] 3 4 5   Go Up
Print
Jump to: