Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

invoice and VAT rules thats legal for European Uni


helohelo

Recommended Posts

  • Replies 238
  • Created
  • Last Reply
yes,

but to exclude non EU countries from thes rules I have to sett some

tax zones,

tax classes

and tax rates

isn'it?

 

You don't have to deal with EU countries for these rules: If the company HAVE a VAT number ("the billing tva_intracom field is not NULL"), it means it is a european company...

JeanLuc

OsC: MS2

Link to comment
Share on other sites

  • 2 weeks later...

I like to install this contribution:

http://www.oscommerce.com/community/contributions,1848

 

However I see a lot of possible downloads and a lot of comments.

 

Please before I have to read all pages in this thread or in the downloads, pls. inform me:

A/ which is the last full version I should use.

B/ which is the last update gloing with that last version

 

Or is this the last and complete version incl. all updates?

<quote> 5 Nov 2004 - Update E.U. VAT Intracom Number 4.2 Author: Update E.U. VAT Intracom Number 4.2 </>

 

Is the text visible in the update dated 5 nov included in the readme or does that replace parts of the existing readme?

Link to comment
Share on other sites

Or is this the last and complete version incl. all updates?

<quote> 5 Nov 2004 - Update E.U. VAT Intracom Number 4.2  Author: Update E.U. VAT Intracom Number 4.2 </>

O.K. that's the latest version and after removing some // it's working now.

 

John

Link to comment
Share on other sites

  • 3 weeks later...
O.K. that's the latest version and after removing some // it's working now.

 

John

 

Hi,

Interesting thread.

I am about of setting up a webshop for both b2b and b2c.

However I am new to both php and Osc.

As I understand the latest version should have it all, but still I must update a lot of files myself? correct?

 

Alas, having problem even with finding the php.ini file in the beginning of intruction text.

Sorry for asking "newbie" questions.

Anywhere for a more newbie friendly install text?

Any suggestions for a good ftp program to edit the files, prefferably with line count and "text" finder?

 

tnx

Stubborn Newbie

Link to comment
Share on other sites

Hi,

Interesting thread.

I am about of setting up a webshop for both b2b and b2c.

However I am new to both php and Osc.

As I understand the latest version should have it all, but still I must update a lot of files myself? correct?

 

Alas, having problem even with finding the php.ini file in the beginning of intruction text.

Sorry for asking "newbie" questions.

Anywhere for a more newbie friendly install text?

Any suggestions for a good ftp program to edit the files, prefferably with line count and "text" finder?

 

tnx

Stubborn Newbie

Locally you can edit the php.ini yourself. If you want to install OSCommerce locally, use XAMPP. It self-installs MySQL, PHP etc. You can download it from http://www.apachefriends.de

 

Webhosts don't want you to modify the php.ini.

 

If you want a really good editor, use the free "Weaverslave". It does all you ask (and more!)

Download it here: http://www.das-download-archiv.de/download_file39.html

To ftp I use the free SmartFTP http://www.smartftp.com/

 

With OSCommerce you will have to manually insert most Contributions. All of them are well-documented or you can just replace the files.

Link to comment
Share on other sites

Thanks for quick answer, however what do you mean by:

Webhosts don't want you to modify the php.ini.?

 

I am trying Ipower hosting account and I can't even find the php.ini on the server.

Do you mean it's a hidden file that Ipower themselves have to change?

 

I will try out the other links you gave.

 

Best regards Cp

Link to comment
Share on other sites

Thanks for quick answer, however what do you mean by:

Webhosts don't want you to modify the php.ini.?

 

I am trying Ipower hosting account and I can't even find the php.ini on the server.

Do you mean it's a hidden file that Ipower themselves have to change?

 

I will try out the other links you gave.

 

Best regards  Cp

Ok,

Still newbie, but learning!

I found the php.ini on the server.

Installed swedish and french so far, and it seems to be running ok.

I will come back to you more experienced guys when I have learned a bit more.

Regards and keep up the good work!

Cp

Link to comment
Share on other sites

  • 2 weeks later...

Ok, finally getting where I want to.

I bow to the makers of this contribution.

Thank you JeanLuc + others for this masterpiece.

 

Now only small corrections on my site has to be made.

I've noticed that a registered non EU customer gets the shown prices without VAT.

Is it possible also for registered EU companies to get the prices shown without VAT, and not only the VAT deducted from the order total/receipt?

 

Still newbie but getting better!

 

Regards Cp

Link to comment
Share on other sites

Ok, finally getting where I want to.

I bow to the makers of this contribution.

Thank you JeanLuc + others for this masterpiece.

 

Now only small corrections on my site has to be made.

I've noticed that a registered non EU customer gets the shown prices without VAT.

Is it possible also for registered EU companies to get the prices shown without VAT, and not only the VAT deducted from the order total/receipt?

 

Still newbie but getting better!

 

Regards Cp

 

It's not "in the air" because the VAT is depending not only on the customer account but also on the shipping address which is validated only on checkout process...

So when a customer visits the shop, we don't know yet if he will benefit from not having taxes...

JeanLuc

OsC: MS2

Link to comment
Share on other sites

It's not "in the air" because the VAT is depending not only on the customer account but also on the shipping address which is validated only on checkout process...

So when a customer visits the shop, we don't know yet if he will benefit from not having taxes...

 

 

Ok, I guess I default with prices w/o vat and then just add it to private customers

and Luxembourgish companies.

 

Regards

Cp

Link to comment
Share on other sites

  • 4 weeks later...

Seems to be a bug in the contribution :(

 

When giving a CVRnr. which Intracom says is valid (I tried SE111111111111 and it didn't take it) it says OK, but VAT is still added on the next page :(

 

I remember testing it with a DE VAT nr. (with my shop based in Denmark) and it did not charge VAT as it shouldn't. I unfortunately can't confirm this, as I can't find a valid german VAT nr. again :(

 

Anyone have a German VATnr I can test with, to verify it still works for Germany (or to verify it does not) ?

 

If you have any hints as to where in the code I should look for this bug, I'll be very happy.

 

thank you for any help you can give me.

Link to comment
Share on other sites

I think you've forgotten to do what's explained in the install.txt file:

For those who want taxes automatically if the conditions below are OK:

the billing company field is not NULL

AND

the billing tva_intracom field is not NULL

AND

the billing country is different than the STORE_COUNTRY

AND

the delivery country is different than the STORE_COUNTRY

 

You can pick up the following files: catalog/includes/classes/order.php and catalog/includes/modules/order_total/ot_shipping.php in this package,

replace yours and uncomment the lines as explain in it.

JeanLuc

OsC: MS2

Link to comment
Share on other sites

  • 2 months later...

Hello,

 

I'm trying to get this contribution working. I thought I'd done everything correctly but obviously not because when I now try to create an account I get the following error:

 

1054 - Unknown column 'entry_tva_intracom' in 'field list'

 

insert into customers (customers_firstname, customers_lastname, customers_email_address, customers_telephone, customers_fax, customers_newsletter, customers_password, entry_tva_intracom) values ('Fred', 'Flintstone', '[email protected]', '123456789', '', '', '24419fb74c3d3ede332393238e3e6bc2:e5', '9876543219')

 

[TEP STOP]

 

Can anyone give me any ideas of where I might have gone wrong?

 

Many thanks

boo

Link to comment
Share on other sites

  • 1 month later...

Hello,

I added this contribution to my store. Great work I think!

 

ok, but now I have a problem. If I set "Check the Intracom VAT number" to false all works fine so far.

But if I want the number to be checked an set "Check the Intracom VAT number" to true I get the following error when trying to enter a VAT Number:

Fatal error: Call to undefined function: file_get_contents() in /mnt/kw2/01/749/00000017/htdocs/kitchenwonder/includes/functions/validations.php on line 170

 

Maybe you can tell me, where my mistake is?

 

Thank you

Ole from Germany

Link to comment
Share on other sites

Hello,

I added this contribution to my store. Great work I think!

 

ok, but now I have a problem. If I set "Check the Intracom VAT number" to false all works fine so far.

But if I want the number to be checked an set "Check the Intracom VAT number" to true I get the following error when trying to enter a VAT Number:

Fatal error: Call to undefined function: file_get_contents() in /mnt/kw2/01/749/00000017/htdocs/kitchenwonder/includes/functions/validations.php on line 170

 

Maybe you can tell me, where my mistake is?

 

Thank you

Ole from Germany

Verify your PHP version which must be 4.3.0 or higher...

The function file_get_contents() doesn't work with old PHP version...

See: this link for more explanation.

 

Regards.

JeanLuc

OsC: MS2

Link to comment
Share on other sites

Hi JeanLuc,

ok, that is my problem then.

 

Because my Store runs on PHP 4.1.

I have to use this version because my hoster does not allow register_globals on setting in higher PHP versions.

I can use php 4.3.9 or php 5 but with register_globals off.

Maybe I can set a higher php vesion for the validations.php.

As I know I can rename ist to validations.php5 and then it should run with php 5.

I'll try when I am at home...

 

 

regards

Link to comment
Share on other sites

  • 3 months later...

Hi,

 

Awesome contribution, but I'm having a verification problem.

 

Whatever valid number VAT number I try to enter in my account I either get

 

"The intracom. VAT number does not correspond to the indicated country. Leave it blank if you don't know it."

 

or

 

"Impossible to check your VAT number: leave it empty"

 

When I hit update.

The VAT numbers are valid when I try them at europa.eu.int/comm/taxation_ customs/vies/en/vieshome.htm

 

I turned " allow_url_fopen = On " in my php.ini.

 

Any ideas?

 

HerrJones

Link to comment
Share on other sites

  • 2 weeks later...

Sorry to add in more missery but do you also know (I have looked but not seen mentioned) that you should not be charging VAT on the shipping if you are only sending ZERO rated goods?

 

I have just created a contribution for this here its for 2.2MS2.

 

HTH

 

Si.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...