Oxyok
← Back to blog
· 4 min· Paweł Woś

KSeF rejects part of a batch: check each XML result

One incorrect file does not mean every invoice in a batch is rejected. The MF handbook describes independent document processing.

KSeFFA(3)2026

One incorrect file does not mean every invoice in a batch is rejected. The MF handbook describes independent document processing.

Separate file outcomes

Batch submission is not atomic: KSeF processes each XML independently. Errors affect particular files, not automatically the entire submission. In the situation described in the handbook, KSeF rejects only semantically incorrect XML files. Do not treat a rejection notice for some documents as the result for the others.

Wait for the complete result

The incorrect-file list is returned after all documents have been checked. KSeF provides individual rejection reasons when rejected XML documents in the session are queried. The remaining valid XML files receive KSeF numbers after verification. This is a condition, not a promise that every remaining file will be accepted.

Separate accepted and rejected files

As editorial organisational guidance, we suggest matching each submitted file to its result:

  • Accepted: record the result and assigned KSeF number.
  • Rejected: record the result and stated rejection reason.
  • Outcome not yet established: check the result before deciding whether to resubmit.

Before resubmitting, check which documents were accepted, which were rejected and why. Do not automatically resend the whole batch. This is an organisational precaution, not a statutory procedure. Do not treat successful technical validation as confirmation that an invoice is correct for tax purposes.

FAQ

Does one error reject the whole batch?

No. According to the handbook, errors in individual XML files affect those files, not the entire submission.

When is the incorrect-file list returned?

After all documents submitted to KSeF have been checked. Individual rejection reasons are provided when rejected XML documents in the session are queried.

Will the remaining files always get a number?

Numbers are generated for the remaining valid files after verification. Keep that condition in mind.

Source

Ministry of Finance: KSeF 2.0 handbook, Part II, section 3.3.2 “Batch session”.

Next step

Before any retransmission, compare the list of submitted XML files with their individual results. This is an organisational recommendation—not advice to resend the whole batch.

KSeF rejects part of a batch: check each XML result