XV-PL-03

The NIP … of … has no valid check digit; KSeF's production environment rejects the invoice (KSeF 2.0, weryfikacja faktury).

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:Podmiot1/fa:DaneIdentyfikacyjne/fa:NIP | fa:Podmiot2/fa:DaneIdentyfikacyjne/fa:NIP | fa:Podmiot3/fa:DaneIdentyfikacyjne/fa:NIP | fa:PodmiotUpowazniony/fa:DaneIdentyfikacyjne/fa:NIP
Test
pl:nip(normalize-space(.))

Checked with KSeF FA(3)