# NFE-542

Source: https://xmlvalid.com/rules/NFE-542

> Rejeição: CNPJ do Transportador inválido (…).

- Level: error
- Rule sets: SEFAZ authorisation rules of NF-e 4.00 MOC 7.0 Anexo I, NTs up to 2026.010
- Context: `nfe:infNFe`
- Test: `not($carrier/nfe:CNPJ) or br:cnpj($carrier/nfe:CNPJ)`

In English: The carrier's CNPJ is zeros or has wrong check digits.

Validate a document against these rules: https://xmlvalid.com/validate
