XV-PL-36

Line …: … (…) is not the quantity times the unit price, less any discount (P_10), which is … (FA(3) information sheet, P_11).

warning: reported, still valid

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/fa:FaWiersz[fa:P_8B and (fa:P_9A and fa:P_11 or fa:P_9B and fa:P_11A)]
Test
pl:near(pl:dec($value), $expected, 0.01) or pl:near(pl:dec($value), pl:dec(fa:P_8B) * (pl:dec($price) - pl:dec(fa:P_10)), 0.01)

Checked with KSeF FA(3)