# MYDATA-271

Source: https://xmlvalid.com/rules/MYDATA-271

> Invoice Line Number: …. VatExemptionCategory field is used only in case of vatCategory = 7 (this line has …).

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceDetails`
- Test: `empty(inv:vatExemptionCategory) or $category = '7'`

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