A practical guide to the French and Spanish company identifiers, and which one you should store as your foreign key. Getting this wrong breaks integrations later, usually by creating duplicate rows.
France: always SIREN. Spain: NIF. Pan-European: a compound key of country plus local identifier. The guide warns against using VAT as a primary key (VAT can change), storing SIRET when you meant SIREN, treating an NIE as a company NIF, and skipping the check-character validation.
The Prometiam Risk API accepts these directly — search by ?siren=, ?siret=, or ?nif=, or fuzzy by name scoped to a country.
| Identifier | Country | Length | What it identifies |
|---|---|---|---|
| SIREN | France | 9 digits | Legal entity (company) |
| SIRET | France | 14 digits | Establishment (office / branch) |
| NIF | Spain | 1 letter + 8 chars | Legal entity (company or person) |
| VAT | EU-wide | FR+11 / ES+9+1 / … | EU intra-community VAT |