XV-PL-23

An invoice other than a simplified one must give the buyer's name and address (Podmiot2: Nazwa and Adres); only a simplified invoice (UPR) up to PLN 450 may name the buyer by NIP alone (VAT Act, art. 106e ust. 1 pkt 3; FA(3) information sheet, Podmiot2).

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($kind = ('VAT', 'ZAL', 'ROZ')) or (../fa:Podmiot2/fa:DaneIdentyfikacyjne/fa:Nazwa and ../fa:Podmiot2/fa:Adres)

Checked with KSeF FA(3)