ca.sin error
[Date Prev][Date Next] [Thread Prev][Thread Next]ca.sin error
- From: Marcel Lecker <Marcel.Lecker [at] gov.ab.ca>
- To: "python-stdnum-users [at] lists.arthurdejong.org" <python-stdnum-users [at] lists.arthurdejong.org>
- Subject: ca.sin error
- Date: Fri, 28 Jul 2023 15:56:49 +0000
The first digit of a SIN indicates province of registration. Two digits (0, 8) are not attributed to any provinces and are as such invalid. I ran stdnum.ca.sin.is_valid against a list which included SIN’s beginning with 8 and they all passed
as ‘true’ (i.e. valid) when they are not. 1 = NB, NF, NS, PE 2 = QC 3 = QC 4 = ON 5 = ON 6 = AB, MB, SK, NT, NU 7 = BC, YU • 8 = Not Used 9 = Immigrants & other temp SIN's • 0 = Not Used Please see this for a simple explanation: http://www.straightlineinternational.com/docs/vaildating_canadian_sin.pdf
Classification: Protected A |
- ca.sin error, Marcel Lecker
- Re: ca.sin error, Arthur de Jong
- Next by Date: Re: ca.sin error
- Next by thread: Re: ca.sin error