# NFE-873

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

> Rejeição: Operação com medicamentos e não informado os campos de rastreabilidade [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: `not($prod/nfe:med) or $prod/nfe:rastro or $fin = ('2', '3', '4') or $ide/nfe:indPres = ('2', '3') or $tpNF = '0' or $simple or $cfop = ('5116', '6116', '5922', '6922', '5118', '6118', '5119', '6119', '5120', '6120')`

In English: A medicine (med group) needs the batch tracking group (rastro), except in returns, distance sales, future delivery and sales to order.

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