cnpj/alphanumeric

Values

pub fn validate_alphanumeric(cnpj: String) -> Bool

Validates an alphanumeric CNPJ using the modulo 11 algorithm.

The CNPJ must be exactly 14 characters long, with the first 12 positions containing letters (A-Z) and/or digits (0-9), and the last 2 positions containing only numeric verification digits.

Search Document