# XV-PL-39

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

> An advance invoice documenting several payments has P_15 (…) equal to the sum of the payments P_15Z (…) (FA(3) information sheet, ZaliczkaCzesciowa).

- 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`
- Test: `$kind != 'ZAL' or not(fa:ZaliczkaCzesciowa) or pl:near(pl:dec(fa:P_15), pl:dec(fa:ZaliczkaCzesciowa/fa:P_15Z), 0.01)`

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