KSeF for WooCommerce: what Polish stores need to prepare
By Mariusz Szatkowski · Updated: 2026-11-28
The short version
KSeF turns the invoice from a PDF you design into a structured record the state validates, which means your invoice data has to be clean, complete and machine-readable before it reaches KSeF. Default WooCommerce has no awareness of any of this. The free Polski for WooCommerce closes that gap: it captures a validated NIP (plus optional REGON and IBAN) on classic and block checkout, flags which orders need a KSeF invoice, shows that status on the orders list, and sends FA(3) invoices to KSeF 2.0 with your KSeF certificate. PRO adds invoice PDFs, corrections without a refund and accounting exports.
If you run a WooCommerce store that sells in Poland, KSeF changes how you issue invoices. It moves invoicing away from PDFs and email attachments towards structured electronic documents issued through a central government platform. The good news is that almost all of the work you can usefully do today is data hygiene, and data hygiene pays off immediately.
As of 28 November 2026: the duty to issue invoices in KSeF has applied since 1 February 2026 (art. 106ga of the Polish VAT Act), and the last transition exception, in art. 145m, ends on 31 December 2026. Since version 1.56.0 the free Polski plugin builds the FA(3) invoice and sends it with your own certificate straight to the Ministry of Finance KSeF API, with no subscription and no middleman.
What is KSeF and why does it matter for your store?
KSeF (Krajowy System e-Faktur, the National e-Invoicing System) is Poland's central platform for issuing and receiving invoices. Instead of generating a PDF and emailing it to a customer, a seller submits a structured e-invoice to KSeF. The system validates and registers it, assigns it an official identifier, and makes it available to the buyer. The invoice stops being a document you design and becomes a record the state holds.
The key shift is that the invoice becomes a defined data structure rather than a free-form file. A PDF can hold any layout you like; a structured invoice must contain specific fields in a specific format so the system can read it automatically. There is no room for "the accountant will figure it out" when a missing company name or a malformed tax number causes a rejection at submission.
For a WooCommerce store owner this matters because invoice data can no longer be loosely formatted. The buyer's tax number, company name, address, line items and VAT rates all need to be captured cleanly and consistently, because they feed directly into the structured document. Anything you collect as messy free text at checkout becomes a problem at invoicing time.
Who is affected, and what are the transition periods?
The VAT act gives taxpayers obliged to issue structured invoices two transition periods. Under art. 145l, from 1 February to 31 March 2026 a taxpayer whose total sales including VAT did not exceed PLN 200,000,000 in 2024 may still issue electronic or paper invoices. Under art. 145m, from 1 April to 31 December 2026 a taxpayer may still issue them while the sales including VAT documented by those invoices in a given month is at most PLN 10,000; the invoice that crosses that amount ends the exception. Both articles have the wording given by the act of 5 August 2025 (Dz.U. 2025 poz. 1203). Art. 145n adds a separate rule for invoices issued with cash registers in 2026.
These are the transition rules, not the whole obligation. Whether and how KSeF applies to your specific business is a determination only you and your advisor can make, against the current text of the act and the Ministry of Finance (Ministerstwo Finansow) guidance.
The duty itself is art. 106ga(1) of the VAT Act, in this wording since 1 February 2026: taxpayers are obliged to issue structured invoices using the National e-Invoice System. For a shop the key part is art. 106ga(2)(4): the duty does not cover invoices to a buyer who is a natural person not running a business, in other words a consumer. Such an invoice can be electronic or on paper (para. 3), or, if you prefer, issued in KSeF too (para. 4). As of 28 November 2026, the art. 145l period ended on 31 March 2026 and the art. 145m exception runs until 31 December 2026. Polski shows on its dashboard how this month's orders with a tax ID compare with the art. 145m limit.
KSeF settings in the free plugin. "Keep invoices to consumers outside KSeF" uses art. 106ga(2)(4): an invoice without a buyer tax ID is issued as a PDF only and not sent automatically, though you can still send it from the order screen.
Warning: The dates above are read from art. 145l and 145m of the VAT act as worded by Dz.U. 2025 poz. 1203. Acts get amended, so check the current text and whether it applies to your business with your accountant.
What invoice and customer data must be correct?
The structured format KSeF accepts is the FA(3) schema, and it expects complete and well-formed data. In practice, these are the areas worth tightening in your shop:
- NIP for business buyers. When a customer buys as a company, you need their Polish tax identification number captured at checkout and stored against the order. A NIP with the wrong number of digits or a failed checksum is worth catching at the point of sale, not at submission.
- Complete buyer details. Company name, full address and postal code need to be present and consistent, not partially filled or free-typed in unpredictable ways.
- Correct VAT rates. Each line item must carry the right VAT rate. Inconsistent or missing rates are a common source of invoice errors.
- A clear "is this a business order" signal. You need to know, per order, whether an invoice is expected at all, so business orders do not get treated like anonymous consumer sales.
- Clean, structured data overall. Because the document is machine-read, small gaps that a human would forgive (a missing field, an odd character, a blank company name) become real problems.
Getting these fundamentals right benefits your bookkeeping today, whichever transition rule applies to you.
Tip: Almost all the useful preparation you can do in the shop is data hygiene, and it pays off immediately for your bookkeeping.
What does a good readiness layer need?
Before any invoice reaches KSeF, the store needs a readiness layer that does a few things well. Use this as a checklist:
- Capture the NIP cleanly at checkout, with validation, so bad numbers never reach an order.
- Work on both classic and block checkout, because stores run both and the data has to land in the same place either way.
- Identify which orders need an invoice, so you are not eyeballing every order to guess.
- Surface that status where you work, on the orders list, not buried in a meta box.
- Expose hooks, so a dedicated invoicing or accounting integration can act on an order the moment it is ready, without you wiring anything together by hand.
Sending is a separate step on top of that layer. Polski does both: the readiness layer makes the data correct and the order state legible, and the KSeF sending in the same free plugin files the invoice.
Note: KSeF sending is in the free plugin since Polski 1.56.0. It needs your own KSeF certificate from the KSeF 2.0 Taxpayer Application; start in the test environment.
How does Polski handle it?
Polski for WooCommerce is a free, modular plugin for Polish shops. Three parts do the work: the B2B checkout fields that capture the data, the KSeF readiness module that flags orders, and the KSeF sending that files the invoice.
Capturing the data at checkout
The B2B checkout module adds the fields a Polish business order needs. There is an optional "Buying as a company" toggle, a NIP field, and optional REGON and IBAN fields, each off or on depending on what your shop actually wants to collect. The NIP is validated with a proper checksum, so a transposed digit or a number that simply is not a valid NIP is rejected at checkout with a clear notice rather than saved as-is. REGON is checked for the correct 9 or 14 digit length, and IBAN is validated end to end, including the ISO 13616 mod-97 check digit, so a mistyped bank account does not slip through.
The fields work on both classic and block checkout. On modern WooCommerce (8.6 and later) Polski registers them through WooCommerce's unified additional-fields API so they appear natively in the block checkout, and mirrors the values back to the standard _billing_nip, _billing_regon and _billing_iban order meta. This mirroring allows the KSeF module, invoicing tools, and accounting exports to read the same predictable keys regardless of which checkout collected the data. The "Buying as a company" toggle itself is a classic checkout field; since Polski 1.50.0 the block checkout can ask "Buying as: Personal / Company" under the e-mail instead, switched on in the NIP module settings, and saves the answer and the company name to the same order data.
Flagging orders for KSeF
With the KSeF-ready module enabled, Polski inspects each order as it is placed and decides whether it looks like it needs a KSeF invoice, based on whether a NIP is present. It writes that decision to the order and exposes a KSeF column on the WooCommerce orders list, working on both legacy storage and HPOS (High-Performance Order Storage). An order that needs an invoice shows a coloured status marker; one that does not shows a neutral dash. The admin order screen also shows the KSeF status in the billing section. You can see, at a glance across a whole screen of orders, which ones are business invoices waiting to be handled.
The hooks an integration plugs into
The "is this required" decision runs through the polski/ksef/is_required filter, so an integration or your own code can override the rule (for example, to also flag orders without a NIP that carry a "needs invoice" checkbox). When an order is determined to need an invoice, Polski fires the polski/ksef/invoice_ready action, passing the order. An invoicing plugin, an accounting sync or a custom script can listen on that single hook and start its own process the moment an order is ready, with the NIP and billing data already validated and stored on known meta keys. You get the wiring without writing the glue, and you only need it when you send invoices through a tool of your own instead of the built-in sending.
Sending invoices to KSeF
Under Polski > Settings > KSeF you load the certificate (.crt) and private key (.key) from the KSeF 2.0 Taxpayer Application, pick the test or production environment and switch sending on, by hand from the order screen or automatically for every new invoice. Polski builds the FA(3) XML, checks it against the official schema, sends it in the background and shows the status, the KSeF number and the UPO in the order's KSeF box. With a second certificate of type Offline it can issue invoices in offline24 or during an outage the Ministry of Finance announced, with both QR codes printed at once. The full setup is in the KSeF documentation.
How do you set up KSeF in Polski?
Getting it live takes a few minutes:
- Install Polski for WooCommerce from Plugins > Add New, then activate it. WooCommerce must be installed and active.
- Open the Polski menu and go to Modules.
- Enable the B2B checkout fields so the NIP (and, if you want them, REGON and IBAN) are collected at checkout. Choose which fields to show.
- Enable the KSeF-ready module so orders are flagged and the KSeF column appears on the orders list.
- Confirm your WooCommerce VAT rates are correct, since line-item VAT is part of any structured invoice.
- Place a test order with a company NIP and check that it is flagged on the orders list and shows a KSeF status on the order screen.
- Under Polski > Settings > KSeF, load your KSeF certificate and key, keep the Test environment, switch sending on and send one invoice from the order screen.
Because Polski is HPOS-compatible and supports both the classic and block cart and checkout, it sits cleanly on a modern WooCommerce install. The modules are independent, so you can run only the KSeF and B2B pieces and leave the rest of the plugin switched off.
How do you get ready for KSeF now?
A plugin gives you the mechanism; the discipline is yours. A few practical pointers:
- Turn on NIP validation before you need it. Catching a malformed tax number at checkout is far cheaper than discovering it when an invoice is rejected. The validation is already there once the field is enabled.
- Reconcile existing customer records. Review business accounts and fill in missing tax numbers and addresses now, while it is routine rather than urgent.
- Standardise how company data is collected. A single, validated NIP field beats letting customers paste their tax number into the notes box, where no tool can read it reliably.
- Get the KSeF certificate early. Sending needs a certificate and key from the KSeF 2.0 Taxpayer Application. Request it before the store has to send, and test on the KSeF test environment first.
- Read the dates in the act. The transition periods in art. 145l and 145m end on fixed dates. Build the data discipline now so the switch is a configuration step, not a scramble.
How does KSeF readiness compare with default WooCommerce?
WooCommerce can take an order and refund it, but it has no concept of a NIP, no idea which orders are business invoices, and no hook for an invoicing system to latch onto. Here is the difference for KSeF readiness specifically:
| Capability | Default WooCommerce | Polski for WooCommerce |
|---|---|---|
| NIP field at checkout | None built in | Validated NIP field, classic and block checkout |
| REGON / IBAN capture | None | Optional, with length and mod-97 validation |
| NIP checksum validation | None | Yes, rejected at checkout if invalid |
| "Business order" signal | None | Buying-as-company toggle and per-order flag |
| Which orders need a KSeF invoice | Manual guesswork | Auto-flagged on order placement |
| KSeF status on the orders list | None | Column on legacy and HPOS order lists |
| Integration hooks | None | is_required filter, invoice_ready action |
| Sending the invoice to KSeF | None | FA(3) XML sent with your KSeF certificate, status, KSeF number, UPO, offline mode |
| Cost | Free (no KSeF awareness) | Free; PRO adds invoice PDFs and corrections without a refund |
What does PRO add to the free version?
The free edition covers the whole KSeF path: validated NIP, REGON and IBAN capture on classic and block checkout, automatic flagging of orders that need a KSeF invoice, a KSeF column on the orders list, and sending FA(3) invoices to KSeF 2.0 with the KSeF number, UPO, QR codes and offline mode, plus correction invoices for refunds.
Polski PRO adds the invoicing extras on top. It issues invoices as PDF files that carry the KSeF number and QR codes, and corrections without a refund (VAT rate, buyer details, line names, date of supply, price or quantity), sent to KSeF through the free engine; correction invoices for refunds are free since 1.57.0 (see KSeF in Polski PRO). It also adds a Tax Rules engine that assigns GTU and JPK_V7 codes, and accounting exports: any invoice as EN 16931 / PEPPOL UBL XML and a JPK_FA report for a date range, which you import into your accounting software yourself. There is also an invoice Markdown endpoint so accounting and customer-service tools can read invoice data, including the KSeF reference and status, without parsing a PDF.
A standing caveat applies to all of it: Polski provides technical modules, not legal advice, and no plugin can guarantee compliance. Confirming whether your store meets KSeF requirements remains your responsibility, ideally with your accountant and the official Ministry of Finance guidance.
The short version
KSeF turns the invoice from a PDF you design into a structured record the state validates, which means your invoice data has to be clean, complete and machine-readable before it reaches KSeF. Default WooCommerce has no awareness of any of this. The free Polski for WooCommerce closes that gap: it captures a validated NIP (plus optional REGON and IBAN) on classic and block checkout, flags which orders need a KSeF invoice, shows that status on the orders list, and sends FA(3) invoices to KSeF 2.0 with your KSeF certificate. PRO adds invoice PDFs, corrections without a refund and accounting exports.