MYDATA-311
The rule sets below word this rule differently; each wording is shown with its rule set.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
Classification with type and category … not found in invoice summary: the summary's income classifications sum every type and category of the lines.
inv:invoiceSummary[inv:incomeClassification]
every $k in $keys satisfies $k = $mine
Checked with myDATA 2.0.2
Classification with type and category … of the invoice summary is on no invoice line.
inv:invoiceSummary[inv:incomeClassification]
every $k in $mine satisfies $k = $keys
Checked with myDATA 2.0.2