ISDOC-4.1.9

Nepovinnou položku TertiarySellersItemIdentification lze uvést pouze v případě, že jsou uvedeny také položky SellersItemIdentification a SecondarySellersItemIdentification.

In English TertiarySellersItemIdentification may be given only together with SellersItemIdentification and SecondarySellersItemIdentification.

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
isdoc:Invoice/isdoc:InvoiceLines/isdoc:InvoiceLine/isdoc:Item[isdoc:TertiarySellersItemIdentification]
Test
isdoc:SellersItemIdentification and isdoc:SecondarySellersItemIdentification

Checked with ISDOC 6.0.2