# MYDATA-225

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

> An amount must exist (cannot be null) since its category is not null (invoice line …): each of withheldPercentCategory, stampDutyPercentCategory, feesPercentCategory and otherTaxesPercentCategory comes with its amount.

- Level: error
- Rule sets: myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026
- Context: `inv:invoiceDetails`
- Test: `(empty(inv:withheldPercentCategory) or exists(inv:withheldAmount)) and (empty(inv:stampDutyPercentCategory) or exists(inv:stampDutyAmount)) and (empty(inv:feesPercentCategory) or exists(inv:feesAmount)) and (empty(inv:otherTaxesPercentCategory) or exists(inv:otherTaxesAmount))`

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