Dominican Republic NSS Generator (TSS Social Security)
Generate valid 9-digit Social Security Numbers (NSS) issued by the Dominican Republic's Tesorería de la Seguridad Social (TSS) with Luhn checksum.
Waiting for generation...
About the Dominican Republic Social Security Number (NSS)
The Número de Seguridad Social (NSS) is the unique and permanent identification number assigned by the Consejo Nacional de Seguridad Social (CNSS) and administered by the Tesorería de la Seguridad Social (TSS).
Comprising exactly 9 decimal digits (8 base digits plus 1 check digit), the NSS is mandatory for registering employees into the SUIR reporting portal, unlocking pension coverage and health benefits.
Anatomy of the Dominican NSS
Structure of the TSS social security identifier:
| Position | Field | Length | Normative Purpose | Example |
|---|---|---|---|---|
| Digits 1-8 | Affiliate Base Sequence | 8 digits | Unique registration sequence assigned by TSS in the SDSS registry. | 12345678 |
| Digit 9 | Check Digit | 1 digit | Integrity verification code computed via the Modulo 10 (Luhn) algorithm. | 2 |
Check Digit Calculation Algorithm (Modulo 10 / Luhn)
Official mathematical integrity rules from TSS:
Sum = ∑ dᵢ(alternating weights 2, 1), check = (10 - (Sum mod 10)) mod 10
- 1. Base Number: Isolates the first 8 registration digits.
- 2. Alternating Weights: Multiplies right-to-left alternately by 2 and 1. If result ≥ 10, sums the product's digits.
- 3. Total Sum: Accumulates all partial products.
- 4. Ten's Complement: Determines remainder modulo 10 and subtracts from 10.
- 5. Output: Concatenates check digit into canonical format XXXXXXXX-X.