New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update llx_societe.sql #15382
Update llx_societe.sql #15382
Conversation
add: eori varchar(20
Can you describe what is eori field ? |
So it seems it is an ID to describe a tihrdparty. We alreaydy have 6 fields for that profid1, ... profid6 So i suggest to enable the prof id 4 for this need. So to have ProfId4DE=Prof Id 4 (Eori) into en_US/companies.lang |
I have in my german installation the following Prof IDs: ProfID1 - Steuernummer (tax number / tax identification number) The problem is that these ProfIDs are not uniformly and consistently defined across versions |
And EORI is binding for all EU countries - not only for Germany. |
In France it should be the SIRET No. with the prefix FR. |
why not adding profid7 ? like suggested in issue |
For Spain it should be the VAT-ID (NIF-IVA) with prefix ES. https://www.agenciatributaria.gob.es/AEAT.sede/en_gb/procedimientoini/DC13.shtml |
or a dictionary ? |
A dictionary is also a nice idea. |
We already have 6 fields for professional ID. And i don't know any country that has more than 6 different professional id. The EORI id is unknown in France. For France we have SIREN, SIRET, NAF and NCS, but not all organizations have them. The VAT-ID or TaxID is not stored into profid but into field "vat_intra". For all countries. Also for DE, this is the country IDs that are defined (into companies.lang) : ProfId1DE=Prof Id 1 (USt.-IdNr) It looks strange if you have something else, this is the 3 fields available since several versions now. Except the Tax id (the VAT ID we need to manage intracommunautary VAT, for example FR12345679 or DE123456789) that is store into field "vat_intra" of llx_societe and that all countries in EEC have, other IDs are specific to each country, so the 6 ids available have a definition that depends on each country. If you need a field similar to SIRET in France, we must modify companis.lang file with Is EORI different than USt.-IdNr, USt.-Nr and Handelsregister-Nr. |
In fact yes, the EORI number is known in France. EORI registration is compulsory for all customs activities and operations carried out within the European Union (https://www.economie.gouv.fr/entreprises/numero-eori) |
Very few companies seems to used it (it's the first time i hear about it). A good list of offical ID for France is here: So, if we need EORI, we can add it into ProfID5 for France. We can also add it at position 5 for DE and ES and all countries in europe (position 5 and 6 are not used by countries in europe), so it will be the same field (field 5) for all. |
We hear about it now in France, it is the brexit effect ;) |
EORI is also relatively new - but is now required by more and more customs authorities. |
I have often problems with the different Prof-IDs at customers who are operating in many countries. |
So this translation / setting is really wrong: If ProfId2 is the VAT ID, it means it is duplicate of vat_intra. |
- add EORI No. as ProfID5 -> Dolibarr#15382 - sorting to TakePOS - sorting new Modules
eori added in profid5 for all european countries. |
add: eori varchar(20