Skip to main content

Ecuador RUC Generator

Valid Ecuadorian RUC (Taxpayer ID) generator. Perfect for software QA.

Waiting for generation...

About Ecuador RUC

The RUC is Ecuador's unique tax identification number managed by the SRI.

This tool generates structurally valid 13-digit RUC numbers using SRI weights depending on entity type (public, private or individual).

Anatomy & Structure of Ecuadorian Tax ID (RUC)

The 13-digit Ecuadorian RUC consists of:

PositionFieldLengthMeaning & RuleExample
1 & 2Province Code2 digitsFiscal jurisdiction province code (01 to 24)17
3Taxpayer Category1 digit0-5 (Natural Person), 9 (Private Corporation), 6 (Public Entity)9
4 to 9 or 8Registration Serial5 to 6 digitsCorporate sequence or citizen identity base123456
9 or 10Check Digit1 digitModulo 11 or Modulo 10 check digit7
11 to 13Establishment Code3 digitsBranch code (001 for main headquarters)001

Official Ecuadorian RUC Validation Algorithm (SRI)

SRI applies three distinct check digit rules according to the 3rd classification digit:

Private Corporate (d[2]=9): Modulo 11 weights [4,3,2,7,6,5,4,3,2]; Public Entity (d[2]=6): Modulo 11 weights [3,2,7,6,5,4,3,2]; Natural Person: Cédula Modulo 10
  1. 1. If 3rd digit is 0 to 5 (Natural Person): Validate first 10 digits as Cédula and ensure suffix is 001.
  2. 2. If 3rd digit is 9 (Private Corporation): Multiply first 9 digits by weights [4, 3, 2, 7, 6, 5, 4, 3, 2], remainder = sum % 11, check = 11 - remainder (0 if remainder=0 or check=10).
  3. 3. If 3rd digit is 6 (Public Entity): Multiply first 8 digits by weights [3, 2, 7, 6, 5, 4, 3, 2] under Modulo 11, ending with suffix 0001.
  4. 4. Valid when check digit matches its legal entity class.

Frequently Asked Questions