NIE vs TIE in Spain
NIE is just a tax ID number (foreigner identification number). TIE is the physical residency card (tarjeta de identidad de extranjero). You get a NIE first; when you're granted residency you get the TIE. Don't confuse them – NIE doesn't give you the right to live there.