CIF Validator (Romania Tax ID / Cod Fiscal)
Validate authenticity, structure, and Modulo 11 checksum of Romanian CIF / Cod Fiscal numbers.
About Romanian CIF Validation
This tool verifies that the CIF contains 2 to 10 digits and validates the final check digit against the official ANAF Modulo 11 algorithm.
Supports inputs with or without the 'RO' prefix, performing real-time in-memory client-side validation.
CIF Validation Algorithm
- Remove whitespace and dashes, detecting optional 'RO' prefix.
- Ensure the numeric part contains between 2 and 10 decimal digits.
- Left-pad the base number with zeros to 9 digits.
- Calculate weighted sum using weights [7, 5, 3, 2, 1, 7, 5, 3, 2] and formula (Sum × 10) % 11.
- Compare computed check digit with the final digit provided.
Frequently Asked Questions & Technical Guidelines
When should a Romanian company use the 'RO' prefix in its CIF?
The 'RO' prefix is mandatory on tax invoices and official declarations whenever the entity is actively registered for VAT (TVA) or conducts intra-community EU transactions.
Are the generated numbers official or real?
All identifiers generated by this tool are strictly synthetic and mathematically computed for software development and QA testing. Using fictitious data in official filings is illegal.