Ecuador RUC Generator
Generate 13-digit SRI RUC numbers for individuals (cédula + 001) and companies (mod-11) — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Company RUC
Company RUC · Generate1792060346001Third digit 9, mod-11 check digit 6 in position 10, establishment 001.
Individual RUC
Individual RUC · Generate1714307103001A valid cédula and the fixed establishment block, with no extra check digit.
Establishment 000
1714307103000Invalid — the establishment number (last 3 digits) cannot be 000The block rule is checked separately from the cédula and the company checksum.
About this tool
The Ecuador RUC Generator produces 13-digit Registro Único de Contribuyentes numbers in the form SRI uses. Individual RUCs are simply a valid 10-digit cédula followed by the establishment number 001. Private company RUCs carry 9 as the third digit and a check digit in position 10, then the same 001 establishment block.
For companies the check digit uses weights 4, 3, 2, 7, 6, 5, 4, 3 and 2 over the first nine digits: the tool computes 11 minus the sum mod 11, and a remainder of 0 gives 0. The establishment block can never be 000. Public-sector RUCs with third digit 6 exist but are outside this tool, which generates private companies and individuals only.
These are synthetic values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.
What this tool does not do
- Public-sector RUCs with third digit 6 are not generated or validated here.
- Validation confirms structure and check digits, not that SRI issued the RUC.
- Company province codes are constrained like cédulas, so unusual historical values may fail.
- No SRI lookup is performed; everything is computed in the browser.
How to use this tool
Choose the RUC type
Pick Company RUC for a third digit 9 and a mod-11 check, or Individual RUC for a cédula plus 001.
Generate one value
Click Generate to create one 13-digit RUC ending in the establishment block 001.
Copy or validate
Copy the result or save it as .txt, or switch to Validate to check a pasted RUC against the type you selected.
Use cases
Invoice and billing forms
Seed RUC fields with company and individual values that satisfy the SRI layout.
Type-specific validation
Test that company validation demands a third digit 9 while individual validation delegates to the cédula rules.
Establishment edge cases
Exercise the 000 rejection with a value that is otherwise well shaped.
RUC layouts
| Type | Layout |
|---|---|
| Individual | Valid 10-digit cédula + 001 |
| Company | Province, third digit 9, six digits, check digit, then 001 |
| Company check | Weights 4, 3, 2, 7, 6, 5, 4, 3, 2; 11 − sum mod 11; remainder 0 gives 0 |
| Establishment | Last three digits, never 000 |
| Public sector | Third digit 6 exists but is not generated |
Company province codes follow the same 01–24 and 30 rule as the cédula.
Common mistakes
Mistake:Adding a check digit to an individual RUC
Fix:Individual RUCs are cédula + 001; the check digit lives inside the cédula.
Mistake:Expecting the company check digit last
Fix:In company RUCs the check digit is position 10, followed by the 001 establishment block.
Mistake:Using 000 as an establishment number
Fix:The last three digits can never be 000.
Frequently asked questions
Are these real RUCs, and can I use them in production?
No. They are synthetic test values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used.
How is an individual RUC built?
It is a valid 10-digit cédula followed by the establishment block 001. The check digit lives inside the cédula, so there is no extra checksum at the end.
How does the company RUC check digit work?
The first nine digits are weighted 4, 3, 2, 7, 6, 5, 4, 3 and 2. The tenth digit is 11 minus the sum mod 11, with a remainder of 0 producing 0, followed by 001.
Why is establishment 000 rejected?
The last three digits identify an establishment and can never be 000, so the validator rejects that block even when the rest of the number is well shaped.
Are public-sector RUCs supported?
No. RUCs with third digit 6 exist for public bodies but this tool generates and validates private companies and individuals only.
References & standards
Related tools
Ecuador Cédula Generator
Generate synthetic 10-digit Ecuadorian cédula numbers with a valid province code and mod-10 check digit, and validate pasted values.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.