DevTools Logo
All countries

Peru RUC & DNI Test Data Generators

Generate synthetic Peruvian RUC and DNI test data in your browser for tax and identity form testing. The RUC tool covers 20-prefix companies and 10-prefix individuals with the SUNAT Mod-11 check digit, while the DNI tool appends the RENIEC verification character in digit or letter form. Use them to exercise prefix routing, length checks, and checksum rejection.

Tax & identity numbers

QA testing tips

  • Submit a 20-prefix RUC and a 10-prefix RUC in the same test run to confirm company and individual routing.
  • Validate a DNI with the letter character instead of the digit to check that both RENIEC forms are accepted.
  • Change one digit before the RUC check position so your Mod-11 rejection path and message are covered.

All values are synthetic test data generated in your browser. They are not real, issued identifiers.