# NFE-528

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

> Rejeição: Valor do ICMS difere do produto BC e Alíquota [nItem: …] (vICMS …, vBC × pICMS …).

- 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($cst = ('00', '10', '20', '70') and $fin = '1') or br:product($icms/nfe:vICMS, br:dec($icms/nfe:vBC) * br:dec($icms/nfe:pICMS) div 100)`

In English: In a normal NF-e with ICMS CST 00, 10, 20 or 70, vICMS is not vBC × pICMS rounded to two decimals (R$ 0.01 tolerance).

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