XV-PL-28

An invoice with domestic reverse charge sales (P_13_10 or a line at rate oo) must carry the reverse charge note: P_18 1 (VAT Act, art. 106e ust. 1 pkt 18; FA(3) information sheet, P_18).

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
Test
(pl:dec(fa:P_13_10) = 0 and not(fa:FaWiersz/fa:P_12 = 'oo')) or fa:Adnotacje/fa:P_18 = '1'

Checked with KSeF FA(3)