AHV-nummervalidator (Zwitsers sofinummer, EAN-13-controle)
Plak een of meerdere AHV-nummers om de lengte, het 756-landprefix en het EAN-13-controledigit te controleren.
Draait in je browser. Je bestanden verlaten je apparaat nooit. Zie hoe je dit controleert
…
Zo doe je het
- 1Plaat de nummers in
Zet één AHV-nummer per regel, met of zonder stippen.
- 2Lees het resultaat.
Elke regel geeft geldig of ongeldig met de reden.
- 3Stemposten oplossen
Gebruik de verwachte checkcijfer voor mislukte nummers.
- 4Uitvoer
Download de tabel als CSV of kopieer de geldige nummers.
- 5Het genereren van testgegevens
Gebruik de voorbeeldknop alleen voor het testen van software.
Over deze tool
The Swiss social security number, called AHV number in German and AVS number in French and Italian, has 13 digits since 2008. It is written as 756.1234.5678.97: the prefix 756 is the ISO country code of Switzerland, nine digits identify the person without carrying any information about them, and the last digit is a check digit calculated with the EAN-13 method also used for product barcodes. Payroll staff, pension funds, health insurers and schools handle these numbers every day, and a single wrong digit can send contributions to the wrong account. This validator checks a whole list at once, explains why a number fails, shows the expected check digit and formats valid numbers with dots, so you can clean a payroll file before you upload it.
Who this is for
Payroll and HR teams, pension fund and insurance administrators, school offices and anyone who types AHV numbers into forms and wants to catch typos.
The structure
An AHV number has three parts. The first three digits are always 756. The next nine digits are a random serial number allocated by the Central Compensation Office (ZAS); unlike the old 11-digit number, they contain no date of birth, sex or name code. The thirteenth digit is the check digit.
The EAN-13 check
Starting from the left, the first twelve digits are multiplied alternately by 1 and 3 and added. The check digit is the amount needed to reach the next multiple of ten. For 756921707698 the weighted sum is 125, so the check digit is 5 and the full number is 756.9217.0769.85. A typo in one digit, and most swaps of neighbouring digits, change the sum and are detected.
What the validator reports
For each line the tool removes dots, spaces and dashes, checks that 13 digits remain, that they start with 756 and that the check digit matches. A failing number shows the expected check digit, which helps find the typo. Valid numbers can be copied in the formatted style, and the whole table can be exported as a CSV file.
Test numbers
The make samples button generates random numbers with a correct check digit for testing software. They are not real people's numbers, but they could coincide with a real one by chance, so never use them in real records.
Privacy
AHV numbers are personal data, so the tool checks them on your own device and sends nothing to a server.
Limits
A valid check digit does not prove that a number was issued or belongs to a given person; only the compensation office can confirm that. This is not an official verification.
Uitgewerkt voorbeeld
756.9217.0769.85 is geldig: de gewogen som van de eerste twaalf cijfers is 125, dus het controlegetal is 5.
In het kort
- Categorie: Juridisch & overheid
- Draait in je browser, geen registratie, geen upload.
- De gegevens die je invoert blijven op je apparaat.
- Beschikbaar in het Engels.
- Inhoud voor het laatst gecontroleerd:
- Officiële bron: ZAS / BSV, structure of the 13-digit AHV number (AHVN13, EAN-13 check digit, prefix 756)
Veelgestelde vragen
Hoeveel cijfers heeft een AHV-nummer?
13 cijfers sinds 2008, meestal geschreven als 756.XXXX.XXXX.xx
Wat betekent 756?
Het is de ISO 3166-numerieke code voor Zwitserland, die wordt gebruikt als het voorvoegsel van elk AHV-nummer.
Hoe wordt het chequecijfer berekend?
Bij de EAN-13-methode worden gewichten 1 en 3 afgewisseld over de eerste twaalf cijfers, waarbij het controlegetal tot een veelvoud van tien wordt afgerond.
Is het nummer mijn verjaardag?
Nee, in tegenstelling tot het oude 11-cijferige nummer bevat dit geen persoonlijke informatie.
Kan het gereedschap de eigenaar van een nummer bevestigen?
Nee, het controleert alleen de vorm.
Zijn de nummers geüpload?
Ze zijn gecontroleerd in je browser en verlaten nooit je apparaat.
