# MYDATA-311

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

> Classification with type and category … not found in invoice summary: the summary's income classifications sum every type and category of the lines.

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceSummary[inv:incomeClassification]`
- Test: `every $k in $keys satisfies $k = $mine`

> Classification with type and category … of the invoice summary is on no invoice line.

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceSummary[inv:incomeClassification]`
- Test: `every $k in $mine satisfies $k = $keys`

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