# NFE-766

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

> Rejeição: Item com CST indevido [nItem: …] (CST …).

- 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: `not($simple and $cst) or $cst = ('00', '20', '40', '41', '60', '61', '90')`

In English: An NF-e with the DANFE Simplificado Tipo 2 has an ICMS CST outside 00, 20, 40, 41, 60, 61 and 90.

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