Menu

Blog — Vedron

KSeF (Krajowy System e-Faktur, Poland's National e-Invoice System) is moving from optional to mandatory on a phased timeline by business size. For online sellers that means every B2B invoice is a structured XML document submitted to KSeF, with its own KSeF reference number. Not a PDF, and not something you can produce by hand at marketplace scale.

In Vedron the KSeF submission runs from the order itself.

What changes under KSeF

Under the old model, an invoice is a document you create and send to the customer. PDF, print, email. The document is the primary record; a PDF archive is the audit trail.

Under KSeF, the invoice is only valid once it has been submitted to KSeF as structured XML and assigned a KSeF number by the system. What you hand the customer is a reference to that submitted document, not the document itself. The XML in KSeF is the source of truth; the PDF a customer sees is a human-readable rendering.

Miss a required field in the XML schema and the submission fails. The invoice is not considered validly issued until a submission is accepted. That shifts the failure mode: you do not notice at month-end that something was missing; you notice at submission time, because KSeF returns an error code.

Where this breaks for sellers doing it manually

Three places, consistently:

What runs today in Vedron

Vedron generates the structured XML directly from the order data in the system, submits it to KSeF, and writes the returned KSeF reference number back onto the invoice record. The customer-facing document and the KSeF-submitted document are guaranteed to match, because both are produced from the same order record in a single flow.

This runs through the same e-invoicing pipeline as Germany's XRechnung, Italy's FatturaPA and other EU structured formats. Cross-border sellers do not need a separate tool per country. One pipeline, one place to update when a schema changes, one place to look when something fails.

Pre-submission validation catches schema errors before they reach KSeF, so a batch of 50 invoices does not fail halfway through with 25 submitted and 25 unknown. Rejected submissions are flagged with the specific error KSeF returned, not a generic "failed" status.

The rollout timeline, in plain terms

Polish law has phased KSeF by taxpayer size. The authoritative source for the current dates is podatki.gov.pl, the Ministry of Finance's portal. The important practical point: you can start issuing KSeF-compliant invoices before your mandatory date, without penalty. Doing so early means that when your date arrives, you are not still integrating.

For most of our customers the transition went smoothly when they started 30 to 60 days before the mandatory date, so there was time to spot edge cases (unusual counterparty formats, service invoices with non-standard VAT lines) and fix them without pressure.

KSeF and Peppol — not the same thing

Peppol is the European delivery network for structured invoices; it is a transport, not a format. KSeF is Polish-specific: the structure of the invoice, the submission mechanism, and the reference system are all defined by the Polish Ministry of Finance. An invoice can be in KSeF without being via Peppol, and vice versa.

Vedron handles both. For B2G flows that require Peppol delivery (common in some EU markets), the invoice flows out through Peppol. For Polish B2B, it flows through KSeF directly. Both come from the same order record.

Frequently asked questions

Do I need KSeF if I am not a Polish company?

If you issue invoices to customers in Poland, KSeF requirements can apply regardless of where your business is registered, depending on the transaction type and your Polish VAT registration status. For most non-Polish sellers who register for VAT in Poland or sell B2B into Poland, KSeF applies. Check the current rollout dates for your category.

What happens if a KSeF submission is rejected?

The invoice is not considered validly issued until a submission is accepted and a KSeF number is returned. A rejected submission needs to be corrected and resubmitted. The common failures are schema version drift, missing counterparty NIP, or formatting errors on monetary fields. Vedron validates against the active schema before submission, so these fail at build time rather than at KSeF.

When exactly does KSeF become mandatory for me?

The Polish Ministry of Finance has phased KSeF by taxpayer size. Large taxpayers were brought in first; medium and small follow on the published schedule. For current dates, the authoritative source is the Ministry of Finance (podatki.gov.pl). The mechanism in Vedron is the same regardless of your phase; you can start generating KSeF-compliant invoices before your mandatory date without penalty.

Does this work alongside marketplace sales, or only direct sales?

The same pipeline generates KSeF-compliant invoices for every order, regardless of channel. Allegro, Amazon, direct storefront — if the order lives in Vedron, the invoicing engine picks it up. There is no separate marketplace-invoicing-versus-direct-invoicing setup.

What about B2C sales to consumers in Poland?

B2C is treated differently under KSeF. Consumer-facing invoices are not required to go through KSeF in the same way as B2B, but if a consumer requests an invoice (which is common in Poland), it still has to be issued. Vedron generates the correct document type based on the buyer flag on the order.

Can I attach the KSeF reference number to the customer-facing PDF?

Yes. After submission to KSeF returns the number, Vedron writes it back to the invoice record and includes it on the generated customer PDF, so the customer sees both the invoice and the KSeF reference in one place.

How is the KSeF reference stored on my side for audit purposes?

The reference number is stored on the invoice record in the Vedron database along with the submission timestamp and the raw XML that was accepted. If the tax office ever queries a specific invoice, you can produce the exact document KSeF holds, not a reconstruction.

What happens if KSeF is temporarily down?

Polish law provides for an offline mode in these cases. Invoices issued during an outage must be transmitted to KSeF within a defined window after service is restored. Vedron queues failed submissions and retries them automatically once the system is reachable, so you do not have to track outage windows manually.

Talk to us about your setup

Every seller's mix of marketplaces, currencies and payment methods is a little different. Book a short call and we will walk through yours on your real data. Beta clients get the first two months of custom setup on us, and the standard trial can be extended on request.

All posts

KSeF Poland — e-invoicing that runs from your order data

February 10, 20269 min read
KSeF Poland — e-invoicing that runs from your order data

KSeF (Krajowy System e-Faktur, Poland's National e-Invoice System) is moving from optional to mandatory on a phased timeline by business size. For online sellers that means every B2B invoice is a structured XML document submitted to KSeF, with its own KSeF reference number. Not a PDF, and not something you can produce by hand at marketplace scale.

In Vedron the KSeF submission runs from the order itself.

What changes under KSeF

Under the old model, an invoice is a document you create and send to the customer. PDF, print, email. The document is the primary record; a PDF archive is the audit trail.

Under KSeF, the invoice is only valid once it has been submitted to KSeF as structured XML and assigned a KSeF number by the system. What you hand the customer is a reference to that submitted document, not the document itself. The XML in KSeF is the source of truth; the PDF a customer sees is a human-readable rendering.

Miss a required field in the XML schema and the submission fails. The invoice is not considered validly issued until a submission is accepted. That shifts the failure mode: you do not notice at month-end that something was missing; you notice at submission time, because KSeF returns an error code.

Where this breaks for sellers doing it manually

Three places, consistently:

  • Schema drift. The KSeF XML schema is updated as the Ministry of Finance adjusts the format. An invoice generator that is not kept in sync starts failing submissions, often silently (the invoice sits in a queue, the operator does not see the error until a late customer calls).
  • Volume. Hand-building XML works at ten invoices a month. At marketplace scale — Allegro + direct store + Bol.com easily reaches a hundred invoices a week — it is not realistic. Human errors accumulate and submissions queue up unaddressed.
  • The reference-number round trip. KSeF returns a reference number after successful submission. That number has to land on the customer-facing document, otherwise the customer sees a PDF that does not match the record in KSeF. Done by hand, this step is skipped most often.

What runs today in Vedron

Vedron generates the structured XML directly from the order data in the system, submits it to KSeF, and writes the returned KSeF reference number back onto the invoice record. The customer-facing document and the KSeF-submitted document are guaranteed to match, because both are produced from the same order record in a single flow.

This runs through the same e-invoicing pipeline as Germany's XRechnung, Italy's FatturaPA and other EU structured formats. Cross-border sellers do not need a separate tool per country. One pipeline, one place to update when a schema changes, one place to look when something fails.

Pre-submission validation catches schema errors before they reach KSeF, so a batch of 50 invoices does not fail halfway through with 25 submitted and 25 unknown. Rejected submissions are flagged with the specific error KSeF returned, not a generic "failed" status.

The rollout timeline, in plain terms

Polish law has phased KSeF by taxpayer size. The authoritative source for the current dates is podatki.gov.pl, the Ministry of Finance's portal. The important practical point: you can start issuing KSeF-compliant invoices before your mandatory date, without penalty. Doing so early means that when your date arrives, you are not still integrating.

For most of our customers the transition went smoothly when they started 30 to 60 days before the mandatory date, so there was time to spot edge cases (unusual counterparty formats, service invoices with non-standard VAT lines) and fix them without pressure.

KSeF and Peppol — not the same thing

Peppol is the European delivery network for structured invoices; it is a transport, not a format. KSeF is Polish-specific: the structure of the invoice, the submission mechanism, and the reference system are all defined by the Polish Ministry of Finance. An invoice can be in KSeF without being via Peppol, and vice versa.

Vedron handles both. For B2G flows that require Peppol delivery (common in some EU markets), the invoice flows out through Peppol. For Polish B2B, it flows through KSeF directly. Both come from the same order record.

Frequently asked questions

Do I need KSeF if I am not a Polish company?

If you issue invoices to customers in Poland, KSeF requirements can apply regardless of where your business is registered, depending on the transaction type and your Polish VAT registration status. For most non-Polish sellers who register for VAT in Poland or sell B2B into Poland, KSeF applies. Check the current rollout dates for your category.

What happens if a KSeF submission is rejected?

The invoice is not considered validly issued until a submission is accepted and a KSeF number is returned. A rejected submission needs to be corrected and resubmitted. The common failures are schema version drift, missing counterparty NIP, or formatting errors on monetary fields. Vedron validates against the active schema before submission, so these fail at build time rather than at KSeF.

When exactly does KSeF become mandatory for me?

The Polish Ministry of Finance has phased KSeF by taxpayer size. Large taxpayers were brought in first; medium and small follow on the published schedule. For current dates, the authoritative source is the Ministry of Finance (podatki.gov.pl). The mechanism in Vedron is the same regardless of your phase; you can start generating KSeF-compliant invoices before your mandatory date without penalty.

Does this work alongside marketplace sales, or only direct sales?

The same pipeline generates KSeF-compliant invoices for every order, regardless of channel. Allegro, Amazon, direct storefront — if the order lives in Vedron, the invoicing engine picks it up. There is no separate marketplace-invoicing-versus-direct-invoicing setup.

What about B2C sales to consumers in Poland?

B2C is treated differently under KSeF. Consumer-facing invoices are not required to go through KSeF in the same way as B2B, but if a consumer requests an invoice (which is common in Poland), it still has to be issued. Vedron generates the correct document type based on the buyer flag on the order.

Can I attach the KSeF reference number to the customer-facing PDF?

Yes. After submission to KSeF returns the number, Vedron writes it back to the invoice record and includes it on the generated customer PDF, so the customer sees both the invoice and the KSeF reference in one place.

How is the KSeF reference stored on my side for audit purposes?

The reference number is stored on the invoice record in the Vedron database along with the submission timestamp and the raw XML that was accepted. If the tax office ever queries a specific invoice, you can produce the exact document KSeF holds, not a reconstruction.

What happens if KSeF is temporarily down?

Polish law provides for an offline mode in these cases. Invoices issued during an outage must be transmitted to KSeF within a defined window after service is restored. Vedron queues failed submissions and retries them automatically once the system is reachable, so you do not have to track outage windows manually.

Talk to us about your setup

Every seller's mix of marketplaces, currencies and payment methods is a little different. Book a short call and we will walk through yours on your real data. Beta clients get the first two months of custom setup on us, and the standard trial can be extended on request.

Did you enjoy this article?