We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b46def0 commit 1e82356Copy full SHA for 1e82356
1 file changed
src/lib/isRUC.ts
@@ -24,6 +24,7 @@ export default function isRUC(ruc: string): boolean {
24
}
25
26
// Obtenemos el tercer dígito para determinar el tipo de entidad
27
+ // Fuente: https://www.sri.gob.ec/ruc-personas-naturales
28
const thirdDigit = parseInt(ruc[2], 10);
29
30
// Validación para personas naturales (tercer dígito entre 0 y 5)
0 commit comments