Data Tinker ES

RUC generator (Peru)

SUNAT's taxpayer number: eleven digits, the type (20 a company, 10 a person with their DNI), the number and the check digit, modulo 11: 20512333797.

Free, no sign-up and no limits. Everything is generated in your browser: nothing is sent anywhere.

RUC examples

Five samples; the tool above makes new ones every time you ask.

  • 20605240063
  • 20585491706
  • 20545641268
  • 20626233938
  • 20123552050

RUC validation

The ones above pass the Data Tinker validator, which checks the format and the check digits; you can paste your own into the tool on this page.

  • With the last character changed, 20605240060 no longer passes: “The check digit should be 3.”

RUC options

  • Whose: A company's (20), A person's (10)
  • With a wrong check digit: the right format and the wrong check, to test that the form rejects it

What if it filled itself in?

With the Data Tinker extension there is no copying and pasting: it fills the whole form from a panel next to the page, with templates per form and rules for your own fields.