Personal identity number (Sweden)
From Wikipedia, the free encyclopedia
The personal identity number (Swedish: personnummer) is the Swedish national identification number. When it was introduced in 1947 it was probably the first of its kind covering the total population. It is issued by the Swedish Tax Agency (Swedish: Skatteverket) as part of the population register (Swedish: Folkbokföring).
The number is used by authorities, by health care, by banks and by insurance companies. Other companies are not supposed to use this number, but they ask for it for a service paid after its usage, like a telephone subscription, to be able to check the person's reliability.
The personal identity number consists of 10 digits and a hyphen. The first six correspond to the person's birthday, in YYMMDD form. They are followed by a hyphen. People over the age of 100 replace the hyphen with a plus sign. The seventh through ninth are a serial number. An odd ninth number is assigned to males and an even ninth number is assigned to females. Some county authorities, such as Stockholm, and some banks, have started using 12 digit numbers to allow YYYYMMDD. This format is also used on official Swedish ID-cards.
The tenth digit is a checksum which was introduced in 1967 when the system was computerized. Originally, when the personal identity number was introduced, it had nine digits and the seventh and eighth denoted the county (Swedish: län) in which the subject was born. The seventh digit was 9 for foreign born. This system was replaced with the current system in 1990. Everyone however keeps their number and it is not hard to find out someone's number if you know the birth date, the birth county and the checksum algorithm.
People who have no Swedish personal identity number can receive a co-ordination number (Swedish: samordningsnummer) instead. It is issued by the Tax Agency at the request of a public agency. It is used for contact between a person and an agency which would otherwise require the use of a personal identity number, for people staying less than a year in the country. It is structured along the same lines, but with the day in the date of birth advanced by 60 (giving a number between 61 and 91).
Also, all organisations and companies have organisation numbers (Swedish: organisationsnummer). They look like personal identity numbers but have a "month" number of 20 or higher. They are used for tax purposes etc and have to be printed on receipts.
To calculate the checksum, multiply the individual digits in the identity number and 212121-212. The resulting products (a two digit product, such as 16, would be converted to 1 + 6) are added together. The checksum is 10 minus the last digit in this sum (if the last digit is zero, the checksum is 0).
[edit] Example checksum
811218-987x gives
The sum 44 has the last digit of 4. That is then subtracted from ten to give the checksum: x = 10 - 4 = 6.