XV-PL-24
JST 1 (the invoice concerns a subordinate local government unit) needs that unit in Podmiot3 with Rola 8, so that it receives the invoice in KSeF (FA(3) information sheet, JST).
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:Podmiot2[fa:JST = '1' or fa:GV = '1']
Test
fa:JST != '1' or ../fa:Podmiot3[fa:Rola = '8']
Checked with KSeF FA(3)