MYDATA-311

The rule sets below word this rule differently; each wording is shown with its rule set.

error: the document is invalid

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

Message

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

Context
inv:invoiceSummary[inv:incomeClassification]
Test
every $k in $keys satisfies $k = $mine

Checked with myDATA 2.0.2

Message

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

Context
inv:invoiceSummary[inv:incomeClassification]
Test
every $k in $mine satisfies $k = $keys

Checked with myDATA 2.0.2