# XV-GR-08

Source: https://xmlvalid.com/rules/XV-GR-08

> receivingNotePurpose is required for a receiving note (10.1, 10.2) and accepted for no other type; this is a …….

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceHeader`
- Test: `if ($type = ('10.1', '10.2')) then exists(inv:receivingNotePurpose) else empty(inv:receivingNotePurpose)`

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