# XV-PL-21

Source: https://xmlvalid.com/rules/XV-PL-21

> WartoscZamowienia (…) must be the sum of P_11NettoZ and P_11VatZ of the order lines (…) (FA(3) information sheet, WartoscZamowienia).

- Level: error
- Rule sets: KSeF and FA(3) checks KSeF 2.0 invoice verification (9 April 2026), FA(3) information sheet (August 2026)
- Context: `/fa:Faktura/fa:Fa/fa:Zamowienie[../fa:RodzajFaktury = 'ZAL' and not(fa:ZamowienieWiersz/fa:StanPrzedZ)]`
- Test: `pl:near(pl:dec(fa:WartoscZamowienia), $sum, 0.01)`

Validate a document against these rules: https://xmlvalid.com/validate
