# MYDATA-237

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

> Underlying Value(s) of taxes cannot be greater than the total net value of invoice: underlyingValue …, totalNetValue ….

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:taxesTotals/inv:taxes`
- Test: `empty(inv:underlyingValue) or gr:dec(inv:underlyingValue) le $net`

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