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:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 | Classification Letter | 1 character | V (Citizen), E (Foreign Resident), J (Corporate), G (Government), P (Passport), C (Communes) | J |
| 2 to 9 | Registration Serial | 8 digits | Tax registration serial or national identity number | 12345678 |
| 10 | Check Digit | 1 digit | Modulo 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. Map prefix letter to numeric factor (V=4, E=8, J=12, P=16, G=20, C=24) and multiply by 4.
- 2. Multiply the 8 following digits by factors [3, 2, 7, 6, 5, 4, 3, 2].
- 3. Compute total sum and remainder modulo 11.
- 4. DV = 11 - Remainder. If DV is 10 or 11, set DV = 0.
- 5. Valid when 10th digit equals computed DV.