Skip to content
KSEF-BUS-300 GOV MANDATED Error Gov Enforced

Duplicate invoice number (P_2) in batch

Duplikat numeru faktury (P_2) w partii

Problem

Duplicate invoice number (P_2 — invoice number) detected in the batch. Two documents in the batch share the same number.

How to Fix

Verify invoice numbering in the batch — each invoice must have a unique number (P_2). Correct the duplicated document's number.

Source Reference

VAT Act, Art. 106e sec. 1 point 2 (kolejny numer jednoznacznie identyfikujący fakturę); KSeF — empiryczne odrzucenie duplikatów w sesji

Page 125

View source PDF

Source Quote

“Invoice number (P_2) must be unique within a KSeF submission session.”
Description SHA-256: f0d742d7d26d…

Justification

BUSINESS LOGIC

Legal Basis Chain

1

Invoice number — uniquely identifying

Numer faktury — jednoznacznie identyfikujący

“2) a sequential number assigned within one or more series that uniquely identifies the invoice;”
VAT Act, Art. 106e sec. 1 point 2 (Page 125)
2

KSeF — rejection of duplicates in a session

KSeF — odrzucenie duplikatów w sesji

“KSeF does not allow submitting two documents with an identical invoice number (P_2) in a single session. An attempt to submit a duplicate is rejected by the gateway.”
KSeF Guard conformance testing (empirical)