Skip to main content

Venezuela RIF Generator

Valid Venezuelan RIF (Tax ID) generator for software testing. QA tests.

Waiting for generation...

About Venezuela RIF

The RIF is Venezuela's unique tax identification number managed by the SENIAT.

This generator provides valid RIF numbers respecting the starting entity letter (V, E, J, G, etc.) and verifying check digits using Modulo 11.

Anatomy & Structure of Venezuelan Tax ID (RIF)

The RIF tax registration number comprises 10 characters:

PositionFieldLengthMeaning & RuleExample
1Classification Letter1 characterV (Citizen), E (Foreign Resident), J (Corporate), G (Government), P (Passport), C (Communes)J
2 to 9Registration Serial8 digitsTax registration serial or national identity number12345678
10Check Digit1 digitModulo 11 checksum with weights [4, 3, 2, 7, 6, 5, 4, 3, 2]0

Official Venezuelan RIF Validation Algorithm (SENIAT Modulo 11)

SENIAT computes the checksum by mapping the classification letter and applying positional factors:

S = (LetterValue * 4) + Σ (d[i] * [3, 2, 7, 6, 5, 4, 3, 2][i]); Remainder = S % 11; DV = 11 - Remainder; if DV >= 10, DV = 0
  1. 1. Map prefix letter to numeric factor (V=4, E=8, J=12, P=16, G=20, C=24) and multiply by 4.
  2. 2. Multiply the 8 following digits by factors [3, 2, 7, 6, 5, 4, 3, 2].
  3. 3. Compute total sum and remainder modulo 11.
  4. 4. DV = 11 - Remainder. If DV is 10 or 11, set DV = 0.
  5. 5. Valid when 10th digit equals computed DV.

Frequently Asked Questions