XV-PL-32

The period of the invoice ends (P_6_Do …) before it starts (P_6_Od …) (FA(3) information sheet, OkresFa).

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
/fa:Faktura/fa:Fa/fa:OkresFa
Test
not(fa:P_6_Od castable as xs:date and fa:P_6_Do castable as xs:date) or xs:date(fa:P_6_Od) le xs:date(fa:P_6_Do)

Checked with KSeF FA(3)