# MYDATA-209

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

> The sum of vat amount of the invoice lines doesn't match with total vat amount of the invoice: totalVatAmount …, lines ….

- 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:totalVatAmount), $vat)`

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