bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 57 forks source link

UI Design - SIN/ITN and Tax Residency (Add a beneficial owner) #17965

Closed steveburtch closed 1 week ago

steveburtch commented 7 months ago

Instructions

Updated SIN Requirements (added 11/14/23)

SIN Validation:

The SIN is formatted as three groups of three digits (e.g., 123-456-789) Social Insurance Numbers that begin with the number "9" are issued to temporary residents who are not Canadian citizens or Canadian permanent residents (e.g., foreign students, individuals on work visas). Requirements The 3 parts of the input number shall be separated by a hyphen (-) Perform data validation, make sure total input length is 11 digits include the 2 hyphens and 9 digit SIN number. Evaluate the input number and return if the number is VALID or INVALID.

Scenarios: SIN is not in correct format – must be numeric. A12345678 SIN is not in correct format – less than 9 digits. 12345678 SIN digits are reversed Reported 132456789, should be 123456789. Reported 123789456, should be 123456789. SIN is missing SIN has not been entered on the slip. SIN has been entered as 000 000 000. Social Insurance Numbers can be validated through a simple check digit process called the Luhn algorithm. 046 454 286 <--- A fictitious, but valid, SIN. 121 212 121 <--- Multiply every second digit by 2. The result of the multiplication is: 0 8 6 8 5 8 2 16 6 Then, add all of the digits together (note that 16 is 1+6): 0 + 8 + 6 + 8 + 5 + 8 + 2 + 1+6 + 6 = 50 If the SIN is valid, this number will be evenly divisible by 10. The first digit of a SIN indicates province of registration. • 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

Individual tax number (ITN) / Temporary tax number (TTN): An ITN or TTN is a nine-digit number issued to non-resident individuals who are not eligible or were not able to obtain a SIN. The ITN is for people who are not eligible for a social insurance number (SIN) and are considered a non-resident for tax purposes. If Service Canada is unable to give you a permanent or temporary SIN, the CRA may give you a temporary tax number (TTN) you may use to get benefits and credits, file taxes, and sign up for CRA's online services.

Wireframes

https://www.figma.com/file/C2ThYIhZSO44dYBVGp8xAj/Register-Beneficial-Owners?type=design&node-id=1470%3A22&mode=design&t=H0ovzxBYVye2z4K7-1

Validation and Messaging Matrix

https://1drv.ms/x/s!AlejmOwhCCvlgcMDvsUyEofpuM1a9A?e=GfqbXL

forgeuxGH5 commented 6 months ago

Added updated requirements to keep for next version

mstanton1 commented 1 month ago

@steveburtch @forgeuxGH5 the most recent comment notes updated requirements to keep for next version. Is there a slice of remaining / new work that should be tackled? If so can one of you describe that that is?