KSeF WooCommerce | store invoicing integration
KSeF WooCommerce:invoices from your store go out on their own, no retyping.
I connect WooCommerce stores to KSeF, Poland’s National e-Invoicing System: I decide with you who issues the invoice, set up the chain, the token and the checkout data, and test it before the first real order. One person from the first decision to the first invoice. The code and the access stay with you.
One person · 8 years in production · 30+ deployments since 2018 · test before the first real invoice
- One person from the decision to the first invoice
- Experience 8 years, 30+ deployments
- Technology WordPress and WooCommerce
- Response I answer a first contact within 24 h, personally
What a KSeF WooCommerce rollout covers, step by step.
A KSeF rollout in a WooCommerce store is a fixed sequence of decisions and small changes. Most problems come from putting the steps in the wrong order, so I always keep the same one. The full walkthrough is in the post KSeF WooCommerce step by step, and below is the scope of what I do for you.
- step 1
Who issues the invoice
I start by establishing which system issues invoices today: the store, the invoicing program or an ERP. It is usually the one your accountant already works in. This decision picks the whole chain, so I make it before I touch any plugin.
- step 2
The chain: store, invoicing system, KSeF
WooCommerce does not have to talk to KSeF itself. It hands the order to the system that issues invoices, and that system sends them on. I choose the shortest chain that uses the tools you already have, instead of adding another system.
- step 3
Access and token
The integration needs permission to issue invoices on behalf of your company. The token is generated on the Ministry of Finance side, shown once, and I store it where company passwords live. A separate token for the test and the production environment.
- step 4
Checkout data the invoice needs
An invoice mirrors the order. I add a VAT number check at checkout, a clear split between a private buyer and a company, a consistent company name and address, and VAT rates on every product group, shipping included.
- steps 5 and 6
What goes on and when the invoice appears
I set the moment of issue to a status such as paid or completed, not a new order. The integration has to know an invoice already exists for an order, otherwise a status change back and forth ends in a duplicate.
- step 7
Test before the first real invoice
KSeF has a test environment and I use it every time. I place an order as a company, pay it and check that the invoice is created without a click, gets a KSeF number and returns to the order. Then one real order on production.
When a WooCommerce store has to handle KSeF.
KSeF is Poland’s National e-Invoicing System. It has applied to the largest taxpayers since 1 February 2026 and to the remaining VAT taxpayers since 1 April 2026. For a store the point is simple: every invoice to a company issued from an order has to go through this system, and it formally exists only once the system accepts it. Sales to consumers work as before. What this means for a store, I describe in the post KSeF and your online store.
How do you tell that a store needs this? If someone in the company retypes orders into the invoicing program by hand, if invoices to companies go out late, or if the same invoice is created twice, the integration is worth doing. I usually come in at that moment: there is a store, there is an accountant and there is a program, but there is no steady, tested connection between them.
I start with one question: how many invoices to companies the store issues in a week and who clicks them today. The answer tells whether configuring the program is enough or whether a change in checkout is needed.
One caveat, because it matters: I handle the technical side. This page is not legal or tax advice, and any accounting question - corrections, advance payments, sales abroad - goes to your accountant. I leave those decisions to them and make the store pass the data they need.
Three ways to connect KSeF to WooCommerce.
The choice depends on how invoices are issued in your company today and how big the store is. I do not look for the plugin with the longest feature list. I look for the solution that works with what you already use.
- most stores
Invoicing or accounting program
The simplest layout for most stores: the store sends the order, the program issues the invoice and passes it to KSeF. How to connect the program itself, I describe in the post KSeF and your accounting software.
- many channels
Baselinker as the order hub
It makes sense when you also sell on marketplaces. The invoice module settings are in the post Baselinker and KSeF.
- larger scale
ERP or a custom integration
For a larger scale, your own warehouse or an unusual document flow. When a direct API connection pays off, the post KSeF through the API explains.
My rule: one source of numbering and one place where invoices are issued. If the store starts issuing invoices itself while the accountant keeps doing it in the program, the numbers drift apart and closing the month turns into manual comparison.
What breaks after launch, and how I prevent it.
After the rollouts I run, the same problems come back. None of them is a KSeF failure, and all of them can be caught early.
Buyer data in the wrong form
A VAT number with spaces and dashes, a missing country code, a company name in the first name field. I fix the source in the store, not the invoice, because the next order would fail the same way.
An expired or wrongly assigned token
Invoices suddenly stop going through although nothing in the store changed. That is why I monitor the number of documents without a KSeF number and set an alert on it.
A duplicate after a status change
Someone reversed an order and restored it, and the integration issued a second invoice. A correction is a separate document, so it is easier to prevent than to repair.
A plugin update without a test
After a WooCommerce or invoicing plugin update a field format changes and documents start being rejected. That is why I treat invoicing as part of ongoing support for the store, not a one-off project.
The rollout itself usually fits within development and optimization of a store: a review of the current flow, the shortest chain, changes in checkout and tests. Wider work on the store itself is WooCommerce online stores.
How I start: from a review to ongoing support.
I begin with the diagnosis, then the quote, then the code. Each stage has an hours range and an upper limit I do not exceed without your email consent.
Review of the current flow
The first step is one-off: how invoices are issued today, what the checkout passes on and where it breaks. The diagnosis comes before the quote.
Rollout in stages
I set the scope, the hours range and the upper limit of the amount for each stage. I settle only the hours the work actually took, with a report.
Ongoing support
For a store that earns, I propose ongoing support with monitoring and a response time, with no minimum term. The plans are on the ongoing support page.
You already have a contractor? I can stay next to them as a second pair of eyes and technical oversight, without taking over the whole store.
Who this is not for - I say it plainly.
This service is for stores that already run and issue invoices to companies. It is not for everyone, so I flag it before the call.
- A store that sells only to consumers: those invoices do not go through KSeF, and you do not need an integration.
- A tax or legal question about KSeF: that is for your accountant, not for me.
- A new store on Shopify or Shoper with no migration to WooCommerce: that is outside my stack.
- An order that is “cheap and for yesterday”, or one with nobody on the call who decides.
A real rebuild, real numbers.
Złota Faza is a service company whose website I rebuilt. It is not a KSeF rollout, but it shows how I work: I measure before and after, and the numbers come from a measurement, not a declaration.
- Performance
38 → 100
Lighthouse, Performance category, desktop, 30-05-2026
- Delivery
2 weeks
from the call to production
- Experience
8 years
in production, since 2018
- Deployments
30+
sites, stores and systems
Frequently asked questions.
Ask your own questionWhere do I start a KSeF rollout in WooCommerce?
With deciding who issues the invoice, because that sets the chain and the choice of tool. Only then do you generate the token and fix the checkout data. Reversing that order ends with a plugin that does not fit your accounting.
Does WooCommerce need a separate KSeF plugin?
Not always. Often an invoicing program with KSeF support and a correct handover of data from the store is enough. A plugin or a custom integration makes sense when the document flow is unusual or when invoices have to be tied to a warehouse.
Can I test KSeF first without legal consequences?
Yes, KSeF provides a test environment. I use it at the start and only then switch the integration to production with a separate token. A test order with a wrong VAT number matters as much as a test with a correct one.
What if an invoice stays without a KSeF number?
First check the rejection message, because it points to a specific field. Most often it is the buyer data, the VAT rate, the date or the token. Fix the data in the order and issue the document again, without issuing a second invoice just in case.
Do consumer sales go through KSeF too?
No, sales to consumers work as before. Invoices to companies go through KSeF, and borderline cases are for your accountant to confirm.
How much does a KSeF rollout in a WooCommerce store cost?
I do not give amounts upfront. The cost depends on the chosen chain, the state of the checkout and the number of systems in the flow, and you get a quote with the hours for each stage after a call. Each stage has an upper limit on the amount that I do not exceed without your consent by email.
Invoices from the store still retyped by hand?
Describe how your store issues invoices in a few sentences - I come back personally with the scope and a quote after the call.