Although many people continue to use it, the term CIF does not legally exist in Spain since 2008, it was repealed by Royal Decree 1065/2007, of July 27, which defines the use of NIF for both natural and legal persons.
You can find some information on this page of Spanish Wikipedia, where you will find links to the regulations.
FacturaDirecta validates the NIFs you use in your invoices to ensure your invoices are completely correct. Create an account.
We hope this information is very useful to you.