# XV-GR-16

Source: https://xmlvalid.com/rules/XV-GR-16

> Invoice line: …. With vatCategory … (…) the VAT amount is 0, not ….

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceDetails`
- Test: `not($category = ('7', '8')) or gr:dec(inv:vatAmount) = 0`

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