# XV-PL-40

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

> The payments received before the sale (P_15Z, …) exceed the amount due P_15 (…); P_15 less those payments is what remains to be paid (FA(3) information sheet, ZaliczkaCzesciowa).

- Level: warning
- 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: `not(fa:ZaliczkaCzesciowa) or $kind = 'ZAL' or $correction or pl:dec(fa:ZaliczkaCzesciowa/fa:P_15Z) le pl:dec(fa:P_15)`

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