Zen Cart Logo
Forums / All Other Contributions/Addons / VAT-mod for European companies

VAT-mod for European companies

Views: 114,578

Results 161 to 180 of 362
1 Jun 2008, 5:24 PM
#161
dimjoula avatar

dimjoula

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

VAT-mod for European companies

aurelius99:

i updated my site till 1.3.6 with database patchlevel 1.3.7

Everything works fine with ZenCart 1.3.8 and the VAT-Mod I adapted for this version, and I solved a little bug in the admin area. You should give it a try. But, VAT-mod 1.2.7b is NOT compatible with ZenCart 1.3.7 and below, you must use the last version of ZenCart (1.3.8)

1 Jun 2008, 5:29 PM
#162
dimjoula avatar

dimjoula

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: VAT-mod for European companies

Dave G:

I have a UK based ZenCart and need to exclude the Channel Islands from being charged VAT can this be done using VAT-mod? If not I'm open for suggestions.

I don't recall the exact procedure (see Zen Cart tutorials and the VAT-Mod Read Me file). But, you have to create a Zone Definitions (see Locations / Taxes) menu, e.g. EU , add the countries, then on the Tax Rate menu, tell to which Zone Definition applies the tax rate.

1 Jun 2008, 8:43 PM
#163
dave_g_1 avatar

dave_g_1

New Zenner

Join Date:
Mar 2007
Posts:
83
Plugin Contributions:
0

Re: VAT-mod for European companies

dimjoula:

I don't recall the exact procedure (see Zen Cart tutorials and the VAT-Mod Read Me file). But, you have to create a Zone Definitions (see Locations / Taxes) menu, e.g. EU , add the countries, then on the Tax Rate menu, tell to which Zone Definition applies the tax rate.

dimjoula thank you for the reply I have VAT-Mod working fine the problem is the Channel Islands are "not part of the UK but rather a separate possession of the Crown" I have tried to add "Channel Islands" as a country and Jersey, Guernsey, Alderney, Sark and Herm as Zones but then the Royal Mail does not work and I am still getting charged VAT.

Maybe I missing something?

Dave G

2 Jun 2008, 6:59 PM
#164
dimjoula avatar

dimjoula

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: VAT-mod for European companies

Are these islands part of the UK (so the same country) ? If yes, I think you have to do the same thing with countries which have states (US, Canada, Australia, ...). See the Locations / Taxes menu, Zones, and Zones Definition. Then, try to make a zone tax free and another with tax. If you are not successful, I belive you should see another part of the forum or use the search function because it is not related to the VAT-Mod module. And I am sure will get better answers, because more people are stoping by there !

4 Jun 2008, 12:26 PM
#165
dave_g_1 avatar

dave_g_1

New Zenner

Join Date:
Mar 2007
Posts:
83
Plugin Contributions:
0

Re: VAT-mod for European companies

dimjoula:

Are these islands part of the UK (so the same country) ? If yes, I think you have to do the same thing with countries which have states (US, Canada, Australia, ...). See the Locations / Taxes menu, Zones, and Zones Definition. Then, try to make a zone tax free and another with tax. If you are not successful, I belive you should see another part of the forum or use the search function because it is not related to the VAT-Mod module. And I am sure will get better answers, because more people are stoping by there !

Thanks dimjoula

You made me think on how to do this and I got it working.

Thank You
Dave G

27 Jun 2008, 6:38 PM
#166
cheungvong avatar

cheungvong

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: VAT-mod for European companies

Is anyone having problems with the VAT number verification? I keep getting the error message that they cannot find the number from the europa.eu.int server. :frusty:

I am using the updated VAT for Zen Cart v. 1.3.8

Thanks!

3 Jul 2008, 5:46 PM
#167
cheungvong avatar

cheungvong

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: VAT-mod for European companies

I updated all the files for the latest VAT beta for Zen Cart 1.3.8 but my site still does not show the VAT tax on any of the pages except in the account info. Can someone help? My site is http://eustore.oculusis.com

Thank You! :blink:

9 Jul 2008, 5:58 PM
#168
cheungvong avatar

cheungvong

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: VAT-mod for European companies

cheungvong:

I updated all the files for the latest VAT beta for Zen Cart 1.3.8 but my site still does not show the VAT tax on any of the pages except in the account info. Can someone help? My site is http://eustore.oculusis.com

Thank You! :blink:

Nevermind :oops: I didn't have a correct EU address when I was testing.

6 Aug 2008, 3:45 AM
#169
mindows avatar

mindows

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: VAT-mod for European companies

I read all, but could not find an answer.

I'd like to have VAT excluded for a company (If VAT number is entered) and included for a customer (if VAT is omitted).

The activation of a company as non VAT customer could be done with manual approval after checking on http://ec.europa.eu/taxation_customs/vies/lang.do?fromWhichPage=vieshome&selectedLanguage=EN.

Any ideas how to accomplish that? Txs

6 Aug 2008, 3:49 AM
#170
mindows avatar

mindows

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: VAT-mod for European companies

Sorry, I did not mentioned.

How to take off VAT for the companies in the same country?

8 Aug 2008, 9:56 PM
#171
rickcj avatar

rickcj

New Zenner

Join Date:
Jul 2008
Location:
Bristol, England
Posts:
17
Plugin Contributions:
0

Re: VAT-mod for European companies

I have successfully installed this onto a 1.3.8 (more testing needed), but wanted the verification to work.

After playing with the urls on the vies site i found the following fix seemed to work (not guaranteed! :smile:):

In includes/functions/extra_functions/functions_vatmod.php i replaced:

$monfd = file_get_contents('http://ec.europa.eu/taxation_customs/vies/viesquer.do', null, $context);

with

$monfd = file_get_contents('http://ec.europa.eu/taxation_customs/vies/viesquer.do?ms=' . $prefix . '&iso=' . $prefix . '&vat=' . $tva, r);

Not fully tested but seems to work, i also amended the admin version of this file to the same and that seems to work when editing a customers vat number.

Is this mod supposed to show the total during checkout without VAT as mine seems not to, but this may be installing the 1.3.7 version onto my 1.3.8!?!?

11 Aug 2008, 12:44 AM
#172
dimjoula avatar

dimjoula

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: VAT-mod for European companies

mindows:

I'd like to have VAT excluded for a company (If VAT number is entered) and included for a customer (if VAT is omitted).

Sorry, it does not work this way, unfortunately. I would love to, but it is only during the checkout process that it applies VAT or not. Your shop will display all items with or without VAT (depending on your parameter), not depending on the client status.

11 Aug 2008, 12:58 AM
#173
dimjoula avatar

dimjoula

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: VAT-mod for European companies

rickcj:

After playing with the urls on the vies site i found the following fix seemed to work (not guaranteed! :smile:):

Mmh. The verification is still working for me. Around line 71, can you replace POST with GET, and keep the same code? I think your server don't want to send a POST request, and only accept to send a GET request.

11 Aug 2008, 1:21 AM
#174
dimjoula avatar

dimjoula

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: VAT-mod for European companies

After editing a few spelling mistakes, I release it again:

VAT-Mod 1.2.7 for Zen Cart v. 1.3.8
For Companies inside European Union dealing with European sales tax.

IMPORTANT NOTE: THIS IS NOTE THE OFFICIAL RELEASE FROM Beez & Vike.

I did a simple Cut and Paste from the previous code VAT-Mod 1.2.6 for Zen Cart v. 1.3.7) and paste it to Zen Cart v. 1.3.8 files.

It works for me, but you should handle it with care.

What's new:
* Compatibility with Zen Cart v. 1.3.8
* adding Bulgaria and Romania to the list
* French translation
* update of the VIES link to check the validity of the number (http://ec.europa.eu/taxation_customs/vies/)

I hope that Beez & Vike will offer an official release soon (they don't answer to their e-mails :( ). And thanks guys for your great help !!

15 Aug 2008, 11:10 AM
#175
mindows avatar

mindows

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: VAT-mod for European companies

dimjoula:

Sorry, it does not work this way, unfortunately. I would love to, but it is only during the checkout process that it applies VAT or not. Your shop will display all items with or without VAT (depending on your parameter), not depending on the client status.

Yahoo! I found a solution!

It is VAT mod for EU comp + Customer Tax Exempt :clap:

VAT mod for EU comp gives me a possibility to register companies on the site properly, review details to make sure it is not a scam.

Then Customer Tax Exempt mode gives possibility to "turn on" the company view mode - they can see all prices without tax, at the same time, when ordinary users see the prices with VAT!

For the customers, which have in the field Customer Tax Exempt "ALL" (I put ALL manually as a "stamp" after checking all the details) will be shown the prices without VAT!

Who does not have that entered - will be shown normally with VAT!

Just if you will try to merge them you will need to review the overlapping files!
Or will not work :lamo:

26 Aug 2008, 4:17 PM
#176
joombaya avatar

joombaya

New Zenner

Join Date:
Dec 2007
Posts:
10
Plugin Contributions:
0

Re: VAT-mod for European companies

Fatal error: Cannot redeclare zen_address_format() (previously declared in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/general.php:470) in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/functions_customers.php on line 115:

zen cart 1.3.8

server info
PHP Built on: Linux imu124 2.6.18.5-imu-x86-136 #1 SMP Fri Mar 28 12:20:37 CET 2008 i686
Database Version: 5.0.45-log
Database Collation: utf8_general_ci
PHP Version: 5.2.5
Web Server: Apache
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.6 Production/Stable [ Vusani ] 12-August-2008 22:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

26 Aug 2008, 5:42 PM
#177
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: VAT-mod for European companies

Check your files and make sure the 2 function files are current ...

The function is listed in both, but it is commented out of general.php

Perhaps you do not have the files updated correctly?

Or, perhaps you have an add-on that has overwritten these functions with an out of date version? :unsure:

27 Aug 2008, 10:49 AM
#179
joombaya avatar

joombaya

New Zenner

Join Date:
Dec 2007
Posts:
10
Plugin Contributions:
0

Re: VAT-mod for European companies

now i have find a solution and can login to backend the vat modul is displayed but i get this error:oops:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/extra_functions/functions_vatmod.php on line 84

Warning: file_get_contents(http://ec.europa.eu/taxation_customs/vies/viesquer.do) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/extra_functions/functions_vatmod.php on line 84

I can not see Vat module in Frontend, thanksn for your help

11 Sep 2008, 1:18 PM
#180
j_a_j_o avatar

j_a_j_o

New Zenner

Join Date:
Sep 2008
Posts:
11
Plugin Contributions:
0

Re: VAT-mod for European companies

Hello, i've installed this mod on my zencart 1.3.8a store, but i do not want one thing: customers must write their vat numer in following way:

"Contry Code" + "VAT Number"

-exapmle

VAT = PL1234567890

I want to leave just "VAT Number", without the contry code

-example

VAT = 1234567890

I will not get orders from others contries, only from mine, so "Contry Code" for me is useless.

Does somebody know how to do it? Witch files i must modify? I tried to do it for my own, but my php knowledge isn't great.