# MYDATA-240

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

> Taxamount … of taxline: … cannot be greater than the corresponding underlying value ….

- 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:taxAmount) le gr:dec(inv:underlyingValue)`

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