CIF Generator - Create valid Business Tax IDs for testing

This CIF generator creates valid Tax Identification Codes for Spanish companies and organizations. Perfect for developers who need test CIFs for business management applications, invoicing or accounting. All generated CIFs comply with Tax Agency regulations.

B28250777
NEW! Now you can generate CIFs from your application using our API. View API documentation →

Our online CIF generator creates valid Tax Identification Codes for companies. Ideal for developers who need test CIFs for business management applications.

Integrate the CIF generator into your application

Generate CIFs programmatically using our REST API:

PHP


// Generate CIF using the API
$response = file_get_contents('https://letradni.info/api/generate.php?type=generador-cif');
$cif = json_decode($response)->result;
                

Python


import requests

# Generate CIF using the API
response = requests.get('https://letradni.info/api/generate.php?type=generador-cif')
cif = response.json()['result']
                

CIF Generator Features

  • ✓ Generates valid CIFs for companies and organizations
  • ✓ REST API available for integration
  • ✓ Up to 10 daily generations per IP
  • ✓ Compatible with the Tax Agency
  • ✓ Automatic control digit validation

Need help? Write to us at Write to us at info@letradni.info

Characteristics of the generated CIF

CIF Structure

  • Initial letter: Indicates the type of organization
  • 2 digits: Province code
  • 5 numbers: Random numerical sequence
  • Control digit: Number or letter calculated using the official algorithm

Generator Uses

  • Development of business management software
  • Testing document validation systems
  • Testing accounting applications
  • Training and documentation

CIF Verification

To validate a CIF you must: CIF validator to check if a code is valid and get detailed information about the organization.

Control Digit Calculation

The last character of the CIF can be: CIF calculator to understand how this control digit is generated.

Additional information about CIF

The Tax Identification Code (CIF) is the number that identifies legal persons and entities in Spain. For more information, check our complete guide about CIF.

Special Characteristics

  • Identifies the type of organization
  • Indicates the province of registration
  • Includes verification system
  • Valid for the entire life of the entity

Legal Notice: The generated CIFs are technically valid but fictitious. This generator is designed exclusively for testing and development. It should not be used for business identity impersonation or other fraudulent purposes.