XV-PL-16

… belong to a corrective invoice (KOR, KOR_ZAL, KOR_ROZ), not to … (FA(3) information sheet, PrzyczynaKorekty).

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
$correction or empty($correctionFields)

Checked with KSeF FA(3)