Panama RUC Generator (DGI)
Generate Panama Tax Identification Numbers (RUC) with official 2-digit Modulo 11 check digits.
Waiting for generation...
About the RUC in Panama (DGI)
The Registro Único de Contribuyente (RUC) is the primary tax identification issued by the Dirección General de Ingresos (DGI) of Panama.
For individuals it is based on the civil ID (CIP), while corporations use Public Registry registration entries. Both require a 2-digit DV suffix computed via rotating Modulo 11.
Anatomy of the Panama RUC
Components of the Panama Tax Identification Number:
| Position | Field | Length | DGI Regulatory Rule | Example |
|---|---|---|---|---|
| Base | Identification Base | 8 to 15 digits | Civil CIP for individuals or registry volume-folio-entry for corporations. | 1556824-1-857412 |
| Separator | DV Indicator | 2 chars | Official tag 'DV'. | DV |
| Suffix | Check Digits | 2 digits | Iterative rotating Modulo 11 check digits (DV1 and DV2). | 60 |
Panama RUC Validation Algorithm (DGI Modulo 11)
Two-stage cyclical Modulo 11 calculation:
DV1 = M11(Base, weights 2..9), DV2 = M11(Base + DV1, weights 2..9)
- 1. Transliteration: strip formatting and map letters according to DGI standard (P=16, E=5, N=14, A=1, V=22).
- 2. First Check Digit (DV1): apply cyclical weights 2..9 from right to left. If remainder <= 1, DV1 is 0; otherwise 11 - remainder.
- 3. Second Check Digit (DV2): append DV1 to the string and recalculate with weights starting at 2.
- 4. Combine: form the 2-digit DV pair (e.g., '60').