# NFE-330

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

> Rejeição: Informar o Valor da AFRMM na importação por via marítima [nItem: …].

- 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/nfe:det`
- Test: `every $d in $prod/nfe:DI satisfies $d/nfe:tpViaTransp != '1' or $d/nfe:vAFRMM`

In English: An import by sea (tpViaTransp 1) needs the AFRMM (vAFRMM).

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