XV-MY-25

Each line needs its classification: cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode with listID CLASS; line … has none.

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.

Context
/*/cac:InvoiceLine
Test
exists($classes)

Checked with MyInvois e-Invoice