# XV-GR-17

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

> Invoice line: …. The VAT amount … is not the net value … at …% (vatCategory …): ….

- Level: warning
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceDetails`
- Test: `empty($rate) or abs(gr:dec(inv:vatAmount) - round-half-to-even($net * $rate, 2)) le 0.01 or abs(gr:dec(inv:vatAmount) - round($net * $rate, 2)) le 0.01`

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