DevTools Logo

Ecuador RUC Generator

Ecuador RUC Generator

Generate 13-digit SRI RUC numbers for individuals (cédula + 001) and companies (mod-11) — synthetic test data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates 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).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It is randomly generated and not taken from any real record, but a random value can coincidentally match a real, issued number, so never use it in real applications, payments, KYC or official forms. Using it to impersonate real people or for any fraudulent activity is illegal. DevTools accepts no liability for how generated data is used.

    Examples

    Company RUC

    Input
    Company RUC · Generate
    Output
    1792060346001

    Third digit 9, mod-11 check digit 6 in position 10, establishment 001.

    Individual RUC

    Input
    Individual RUC · Generate
    Output
    1714307103001

    A valid cédula and the fixed establishment block, with no extra check digit.

    Establishment 000

    Input
    1714307103000
    Output
    Invalid — the establishment number (last 3 digits) cannot be 000

    The 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

    1. 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.

    2. Generate one value

      Click Generate to create one 13-digit RUC ending in the establishment block 001.

    3. 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

    TypeLayout
    IndividualValid 10-digit cédula + 001
    CompanyProvince, third digit 9, six digits, check digit, then 001
    Company checkWeights 4, 3, 2, 7, 6, 5, 4, 3, 2; 11 − sum mod 11; remainder 0 gives 0
    EstablishmentLast three digits, never 000
    Public sectorThird 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