Ecuador

Here are the details to validate tax registration numbers as per Ecuador's validation rules:

t

Country Code: EC

REPORTING_TYPE_CODE/ Validation Type

REPORTING_TYPE_NAME

No of Digits

Format

Check Digit

Check Digit Validation

Default Validation

Example TRN No

ORA_EC_RUC:COMPANY

Ecuador RUC validation for Companies

13

Numeric Characters Only

  • When the 3rd position is 9, then Check Digit is 10th Digit;

  • When the 3rd position is 6, then Check Digit is 9th Digit

  • When the 3rd position is 9 (the verifying digit is in position 10 in this case)

    • Existing coefficients: 4.3.2.7.6.5.4.3.2

  • When the 3rd position is 6 (the verifying digit is in position 9 in this case)

    • Existing coefficients: 3.2.7.6.5.4.3.2

  • When the reminder is 0, then the verifying digit is 0 (zero)

Good:

  • 1790085783001

  • 1760001040001

Bad:

  • AR1234567 - Invalid format, only numbers are allowed

  • 5790185783001 -Invalid check digit

  • 4750185783001 (3rd digit from left has to be 6 or 9)

ORA_EC_RUC:INDIVIDUAL

Ecuador RUC validation for Individual Persons

13

Numeric Characters Only

Yes, 10th Digit

  • The DNI is validated as per the "Module 10", where the first 9 digits are the DNI itself while the 10th digit is the verifying number.

  • The DNI is validated as per the "Module 10", where the first 9 digits are the DNI itself while the 10th digit is the verifying number.

Good:

  • 1790085783001

  • 1760001040001

Bad:

  • AR1234567 - Invalid format, only numbers are allowed

  • 1710034062 -Invalid format, too short

ORA_EC_RUC:FOREIGN

Foreign Business Unit Entity for Ecuador with Foreign Origin

20 or less

No restriction on the characters

No

No

Good:

  • RT1234567#4