# MYDATA-210

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

> The sum of withheld amount of the invoice lines doesn't match with total withheld amount of the invoice: totalWithheldAmount …, lines and taxesTotals ….

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoice`
- Test: `gr:same(gr:dec($summary/inv:totalWithheldAmount), $withheld)`

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