Error codes · KSeF · Poland

KSEF-003Partly

Invoice number sequence gap in Poland

This is the rejection, word for word: „[KSEF-003] Invoice numbers must be sequential without gaps within each calendar year. KSeF rejects invoices with numbering gaps or duplicates.

Why this matters in Poland

Poland requires e-invoicing using KSeF XML format. An invoice with this error is rejected; it cannot be processed under Poland's rules.

What to have readyThe correct figures from your bookkeeping; we show you which field is affected.
What we doEnsure continuous sequential numbering per year.

How to fix KSEF-003

undefined
undefined
undefined

Poland e-invoicing requirements

PhaseStatusScope
KSeF voluntaryLive (Jan 2022)All VAT payers (opt-in)
B2B mandatory — Phase 1Live (Feb 1, 2026)Large taxpayers (>200M PLN turnover)
B2B mandatory — Phase 2Live (Apr 1, 2026)All remaining VAT-registered entities (SMEs, sole proprietors, VAT-exempt businesses)
B2GLive (Feb 1, 2026)Included in general KSeF mandate
Financial penaltiesJan 1, 2027Up to 100% of VAT amount on non-compliant invoices

Known causes

Multiple systems using same number series
Cancelled invoices leaving gaps
Database restore issues