NCATComp410 / comp410_spring_2024

COMP410 spring 2024 semester
MIT License
3 stars 0 forks source link

Detect ES_NIF #11

Open danielvelf opened 9 months ago

danielvelf commented 9 months ago

An ES_NIF(Número de Identificación Fiscal for Spain [ES]) is a Tax Identification Number ID that is assigned to a person or legal entity, such as a company, public institutions, etc. This number should be protected because it is the identifier for a person or legal entity when interacting in any way with the Spanish tax agency. An ES_NIF is necessary for making any kind of financial action, like purchasing a house, self-employment, creating a company, etc. It can also be used to obtain other legal licenses or do other legal procedures, like getting a driving license.

For more information: and here

Will detect an id formatted like this ES B000000. ES is an optional prefix. The NIF is a 9 digit ID. The first digit X in this case is used to describe the type of legal entity.

Will use ES B99416588 as a test example

claesmk commented 9 months ago

Looks good