Ecuador CCE Validator
Online Ecuador CCE validator. Verify format and check digits. QA tests.
How is the CCE validated?
The CCE is a unique 20-digit account code used in Ecuador to route national interbank transfers between banks.
This tool generates and validates Ecuadorian CCEs, calculating internal verification digits using weighted Modulo 10 check algorithms.
Anatomy & Structure of Interbank Account Code (CCE)
The Ecuadorian CCE consists of 20 digits arranged into 4 functional segments:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 to 4 | Bank Institution Code | 4 digits | Official bank code approved by Banco Central del Ecuador (BCE) | 0010 |
| 5 to 8 | Branch Office Code | 4 digits | Branch office routing serial | 1234 |
| 9 to 18 | Account Number | 10 digits | Unique checking or savings account serial | 0012345678 |
| 19 & 20 | Control Digits (CD1 & CD2) | 2 digits | Dual Modulo 10 checksums using cyclic weights [3, 7, 1, 3, 7, 1, 3, 7, 1] | 45 |
Ecuadorian CCE Validation Algorithm (BCE Modulo 10)
Banco Central del Ecuador verifies dual control digits via cyclic weights [3, 7, 1, 3, 7, 1, 3, 7, 1]:
CD = (10 - (Σ ((d[i] × [3, 7, 1, 3, 7, 1, 3, 7, 1][i]) % 10) % 10)) % 10
- 1. CD1: Multiply first 9 digits by weights [3, 7, 1, 3, 7, 1, 3, 7, 1].
- 2. Reduce products modulo 10, sum them up, and calculate CD1 = (10 - (Sum % 10)) % 10.
- 3. CD2: Multiply remaining 9 account digits by the same factors.
- 4. Valid when both calculated control digits match the terminal positions 19 and 20.