Swiss VAT not defined in base_vat module

Bug #387865 reported by forstera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Wishlist
Unassigned

Bug Description

the module base_vat has a function to check the validity of the VAT number depending of the country. The default check function controls the followings statements : def default_vat_check(self, cn, vn):
            # by default, a VAT number is valid if:
            # it starts with 2 letters
            # has more than 3 characters

The Swiss VAT has no letters and is only made by 6 numbers. We could had a new check_vat_ch to allow only 6 numbers, without characters in the first 2 places.

Related branches

Revision history for this message
Luc Maurer @ Camptocamp (lmaurer-c2c) wrote : Re: [Bug 387865] [NEW] Swiss VAT not defined in base_vat module

Hello,

My collegue Nicolas will look a this and answer.

Regards

Luc

Camptocamp SA
Luc Maurer
PSE A
CH-1015 Lausanne
www.camptocamp.com

+41 79 606 07 73 (mobile)
+41 21 619 10 12 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

Thanks for your quick answer.

Best Regards

Meilleures salutations.

____________________________
MW Programmation SA
Arnaud Forster
IT Manager

Rue Charles Schäublin 2 | CH-2735 Malleray | Suisse
phone:+41(0)32 491 65 30 | fax:+41(0)32 491 65 35
email: <email address hidden> | web: www.mwprogrammation.ch

Luc Maurer @ Camptocamp a écrit :
> Hello,
>
> My collegue Nicolas will look a this and answer.
>
> Regards
>
> Luc
>
> Camptocamp SA
> Luc Maurer
> PSE A
> CH-1015 Lausanne
> www.camptocamp.com
>
> +41 79 606 07 73 (mobile)
> +41 21 619 10 12 (direct)
> +41 21 619 10 10 (centrale)
> +41 21 619 10 00 (fax)
>
>

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

I think the first two letters are always CH ?
The first two letters give the country code in all countries.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote : Re: [Bug 387865] Re: Swiss VAT not defined in base_vat module

Hello Fabien,

Thank you for your inquiry. In Switzerland, the VAT number is in the
form "nnn nnn" without any letter, only numbers.
Hope this help

Meilleures salutations.

____________________________
MW Programmation SA
Arnaud Forster
IT Manager

Rue Charles Schäublin 2 | CH-2735 Malleray | Suisse
phone:+41(0)32 491 65 30 | fax:+41(0)32 491 65 35
email: <email address hidden> | web: www.mwprogrammation.ch

Fabien (Open ERP) a écrit :
> I think the first two letters are always CH ?
> The first two letters give the country code in all countries.
>
>

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

Eric Vernichon wrote:
> La suisse ne fait pas parti de le CEE et donc n'a pas de numéro de tva
> intracommunautaire
> Vous parlez pas de la même chose

I also think the same, we are not talking about the same field. Here is
the legal VAT validation service:
http://ec.europa.eu/taxation_customs/vies/vieshome.do

You can see that: all vat numbers start with the two letters of the
country code. Switzerland is not in the list of countries. I think it's
another field to be added for CH use ?

Thanks,
Fabien

Revision history for this message
Luc Maurer @ Camptocamp (lmaurer-c2c) wrote :

Sorry, but I'm not sure it is a good idea to add a new field => I will check
with nicolas if we can change the validation for the swiss and have the same
field.

regards

Luc

Camptocamp SA
Luc Maurer
PSE A
CH-1015 Lausanne
www.camptocamp.com

+41 79 606 07 73 (mobile)
+41 21 619 10 12 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)

Changed in openobject-addons:
assignee: nobody → Nicolas Bessi - Camptocamp (nbessi-c2c)
importance: Undecided → Wishlist
milestone: none → 6.0
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

I will add an entry in base_vat for Switzerland. For v 5 and 6.

I also think it may be a good Idea in v 6.0 to add a check box on country form that will allows to activate deactivate vat validation for a given country with a default that is set to True.

Regards

Nicolas

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi Nicolas,

Would you please share your thoughts regarding swiss vat validation?
Thanks.

Changed in openobject-addons:
status: New → Triaged
Changed in openobject-addons:
status: Triaged → Confirmed
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello,

I looking for a piece of law that defined the swiss vat format number. I have phone the VAT office but I did not get something useful. If someone has good data I will fix it till the the bug will be in state won't fix

Regards

Nicolas

Changed in openobject-addons:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.