NCATComp410 / comp410_fall_2024

COMP410fFall 2024 semester class project
MIT License
0 stars 0 forks source link

Detect ES_NIF #24

Open Djgrandison944 opened 5 days ago

Djgrandison944 commented 5 days ago

ES_NIF : (Spain) Personal Tax Identification Number

Description :

In Spain there are NIF's, this is the generic tax identification number applicable to both Spanish citizens and foreign individuals or entities conducting business in Spain. For Spanish citizens, the NIF is identical to their DNI number and for foreigners it is identical to their NIE. For more information look here .

a NIF is necessary for natural persons, legal persons and non-legal entities that will be involved in any tax related transaction in Spain. This is particularly important as all liable taxpayers will have to include their Tax Identification Number in all the self-assessments, declarations, communications or writings that they submit to the Tax Administration.

Detection Steps :

Since the NIF number is the same as the NIF number you can detect it using the DNI pattern for citizens and the NIE pattern for foreigners:

for more information on the ES_NIF format you can look here .

claesmk commented 5 days ago

@Djgrandison944 don't forget the Milestone otherwise looks good