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