XV-PL-25
GV 1 (the invoice concerns a member of a VAT group) needs that member in Podmiot3 with Rola 10, so that it receives the invoice in KSeF (FA(3) information sheet, GV).
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:GV != '1' or ../fa:Podmiot3[fa:Rola = '10']
Checked with KSeF FA(3)