XV-PL-15

A corrective invoice (…) must name the invoice it corrects in DaneFaKorygowanej (VAT Act, art. 106j ust. 2; FA(3) information sheet, DaneFaKorygowanej).

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
not($correction) or fa:DaneFaKorygowanej

Checked with KSeF FA(3)