Checksum validation vs official registries
CPF and CNPJ use Brazilian check-digit algorithms; IBAN uses the ISO 13616 mod-97 check. Passing validation means the number is well-formed. It does not prove the document exists in a government database or belongs to a specific person or company.