# NFE-1157

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

> Rejeição: Data de previsão de entrega não permitida para a modalidade de frete informada (modFrete …).

- 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($ide/nfe:dPrevEntrega and nfe:transp/nfe:modFrete = ('1', '4', '9'))`

In English: dPrevEntrega is not allowed when the receiver carries the goods or there is no transport (modFrete 1, 4 or 9).

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