XV-PL-38

In self-billing (P_17 1) the buyer issues the invoice as Podmiot2; it is not repeated in Podmiot3 with Rola 5 (FA(3) information sheet, P_17).

warning: reported, still valid

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:Podmiot3[fa:Rola = '5'][../fa:Fa/fa:Adnotacje/fa:P_17 = '1']
Test
not(fa:DaneIdentyfikacyjne/fa:NIP = ../fa:Podmiot2/fa:DaneIdentyfikacyjne/fa:NIP)

Checked with KSeF FA(3)