Skip to main content
Skip to main content

CIF Generator (Romania Tax ID / Cod Fiscal)

Generate and format valid Romanian CIF / Cod Fiscal tax numbers for software development and QA testing.

Waiting for generation...

About Romanian CIF (Cod de Identificare Fiscală)

The CIF (Cod de Identificare Fiscală or Cod Fiscal) is the unified tax identification number for legal entities, associations, and registered sole proprietorships (PFA) in Romania, administered by ANAF (Agenția Națională de Administrare Fiscală).

Composed of 2 to 10 decimal digits (typically 6 to 10 digits), optionally prepended with 'RO' for entities registered for value-added tax (TVA) in Romania and the European Union's VIES system.

Check Digit Calculation Algorithm (Modulo 11)

  1. The base number (excluding the check digit) is right-aligned and zero-padded to 9 digits on the left.
  2. Each digit is multiplied by its corresponding weight from the fixed array [7, 5, 3, 2, 1, 7, 5, 3, 2].
  3. Sum all 9 multiplication products: Sum = Σ(d[i] × weight[i]).
  4. Calculate the remainder: Remainder = (Sum × 10) % 11.
  5. If remainder is 10, the check digit is 0; otherwise, the check digit equals the remainder.

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.
How does CIF integrate with the RO e-Factura electronic invoicing system?
Under Romania's mandatory RO e-Factura platform, the supplier's and buyer's CIFs serve as primary routing and validation keys in UBL 2.1 XML invoices.
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.