KSeF for online stores in Poland: what to know before 2027
In short: an online store that sells to businesses issues their invoices through KSeF. Until 31 December 2026 a small store can still issue them outside KSeF, as long as its invoices to businesses stay under PLN 10,000 gross a month. From 1 January 2027 that exception ends. Invoices for private customers can go to KSeF, but they do not have to.
This guide puts in one place everything an online store should settle before 1 January 2027: who the obligation applies to, how an order gets from checkout to a KSeF number, what happens with receipts, refunds and currencies, and which ways of setting it up exist. For every topic we give the source: a provision of the law or a question number from the official FAQ of the Polish Ministry of Finance (MF).
How to issue KSeF invoices automatically in an online store: 5 steps
A store issues KSeF invoices automatically when a tool connected to the store platform turns every paid order with a NIP into an FA(3) invoice, sends it to KSeF and saves the KSeF number on the order. Getting there takes five steps:
- Access and permissions in the KSeF Taxpayer Application. A person running a JDG can log in straight away, for example with a trusted profile, while a company without a qualified seal first files ZAW-FA (MF FAQ, category "Uprawnienia i autoryzacja", q. 2; page "Krok po kroku: JDG i MŚP"). Then you generate a KSeF token with the permission to issue invoices, or a KSeF certificate, for the software. A token carries only the permissions you tick, while a certificate acts with the full permissions of the person who generated it: KSeF permissions for a store app, KSeF token or certificate.
- A NIP field in checkout. The buyer ticks "invoice for a company" and enters the NIP before paying, and the store checks at least the checksum. KSeF does not verify the buyer, so an invoice with someone else's NIP lands with that other company (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 21 and 23). More: NIP field in checkout.
- A tool for your platform. The app, plugin, module or invoicing software should support the FA(3) schema and the KSeF 2.0 API, issue corrections for refunds and show rejected invoices. Only one tool sends invoices to KSeF, otherwise the customer gets two invoices for the same order. The table below shows what to use on each platform.
- A test in the KSeF test environment. You connect the tool to the free MF test environment (ap-test.ksef.mf.gov.pl) and send an invoice and a refund correction. Production tokens and certificates do not work there, so you generate separate ones for testing: KSeF test environment and demo.
- Go live and check daily. You switch the tool to production KSeF with a production token or certificate. Every order with a NIP should have a KSeF number, visible in the software, in the Taxpayer Application and in the UPO (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 37). A rejected invoice is fixed and sent again, and a refund gets a correction invoice in KSeF: KSeF number, KSeF rejected invoice, correction for returned goods.
What to use on each platform
None of the popular platforms sends invoices to KSeF on its own. You need an add-on or invoicing software connected to the store:
| Platform or channel | What to use | Guide |
|---|---|---|
| Shopify | An app from the Shopify App Store that sends invoices straight to KSeF, or the app of an invoicing program. | Does Shopify support KSeF?, KSeF apps for Shopify compared |
| WooCommerce | A plugin that builds FA(3) and talks to the KSeF API itself, or a plugin that connects the store to invoicing software. | KSeF for WooCommerce, connect WooCommerce to KSeF |
| PrestaShop | A KSeF module, invoicing software with a PrestaShop integration, or a multichannel system. | KSeF for PrestaShop, free KSeF module, connect PrestaShop |
| Shoper | Shoper Faktury i Magazyn, an app from the Shoper App Store, or external accounting software. | KSeF for Shoper |
| IdoSell | Invoicing software with an IdoSell integration; for example, the iFirma e-commerce integrator lists IdoSell among supported platforms (iFirma, as of 28.10.2026). We do not have a separate IdoSell guide yet. | Online store KSeF integration, KSeF invoicing software for stores |
| Magento 2 and Adobe Commerce | A KSeF extension, invoicing software or an ERP; a credit memo has to become a correction in KSeF. | KSeF for Magento |
| Wix | The Wix App Market had no KSeF app (as of 23.10.2026), so a NIP field in checkout plus separate invoicing software. | KSeF and Wix |
| Allegro | The seller issues the business invoice, not Allegro: invoicing software or an order integrator that attaches the invoice to the order. | KSeF and Allegro |
| BaseLinker (Base) | The built-in Base integration with KSeF; if Base sends the invoices, no other program sends them. | KSeF and BaseLinker |
| Custom store or other platform | Invoicing software with an API, or a REST API that turns an order into an FA(3) invoice. | Online store KSeF integration, REST API |
We build this kind of integration: KSeF Faktury (also listed as Ksefshop Invoices) issues FA(3) invoices for paid orders with a NIP and corrections for refunds. It works with WooCommerce (free plugin on wordpress.org), PrestaShop (free module), any store through the REST API, and Shopify (App Store launch planned for December 2026). The PrestaShop module can be downloaded right away, and you open a service account yourself, no invite code needed.
KSeF in an online store: who it applies to
KSeF (Krajowy System e-Faktur, the National e-Invoicing System) is a Ministry of Finance system in which invoices are issued, not just reported. The invoice file in XML format (the FA(3) schema) is sent to KSeF, and it becomes an invoice in the legal sense only when the system gives it a KSeF number. This is how the Ministry of Finance describes it (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 10).
For a store, what matters most is who it sells to:
| Buyer | Invoice in KSeF | Legal basis |
|---|---|---|
| Business with a Polish NIP (tax ID): a company, or a sole trader (JDG) buying for the business | mandatory | art. 106ga(1) of the VAT Act |
| Private customer (consumer) | optional | art. 106ga(2)(4); MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 5 |
| Business owner buying privately, for personal use | optional | MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 8 |
| Foreign business | you issue it in KSeF and pass it on, for example as a PDF with a QR code | MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 9 and 36 |
The seller's legal form does not matter: the obligation applies equally to a company and to a sole proprietorship (MF FAQ, category "Zasady obowiązywania KSeF i przepisy prawne", q. 10). It also applies to VAT-exempt sellers when they issue an invoice to another business (MF FAQ, category "Zasady obowiązywania KSeF i przepisy prawne", q. 22).
The table describes a store based in Poland. A foreign business registered for VAT in Poland but with no seat and no fixed establishment here (or with a fixed establishment that does not take part in the sale) is outside the KSeF obligation, although it may use KSeF voluntarily (art. 106ga(2)(1) and (2); MF FAQ, category "Zasady obowiązywania KSeF i przepisy prawne", q. 13). More in KSeF and foreign sales.
In practice most stores have a mix: dozens of orders from private people for every order with a NIP. Those NIP orders are the core of the whole topic.
Deadlines: 2026 and 2027
| Date | What happens |
|---|---|
| 1 February 2026 | Mandatory KSeF issuing for businesses whose 2024 sales exceeded PLN 200 million including VAT. From this day everyone receives invoices through KSeF. |
| 1 April 2026 | Mandatory for all other taxpayers. |
| until 31 December 2026 | You can issue invoices outside KSeF if, in a given month, the invoices covered by the obligation do not exceed PLN 10,000 gross in total. Until this date invoices from a cash register and receipts with a NIP up to PLN 450 also stay outside KSeF. |
| 1 January 2027 | The exceptions end: even the smallest businesses issue invoices to businesses in KSeF. From this day a buyer who is an active VAT payer and pays a KSeF invoice by bank transfer must put its KSeF number in the transfer title (art. 108g of the VAT Act). |
The PLN 10,000 limit has two traps. First, it counts the gross amount of invoices to businesses, and invoices to consumers are not included. Second, crossing it works one way only: from the invoice that takes you over the limit, all later invoices go through KSeF, even if you sell less to businesses the next month (art. 145m(2) of the VAT Act; MF FAQ, category "Zasady obowiązywania KSeF i przepisy prawne", q. 17). Details and a worked example are in the PLN 10,000 KSeF limit, and what changes at the start of the year in KSeF from 1 January 2027. Which tool to pick by situation, with a decision table, is in KSeF for small businesses.
Under the current Act, financial penalties for invoices issued outside KSeF (art. 106ni of the VAT Act) apply from 1 January 2027. The government draft UD477 from September 2026 moves them to 1 January 2028 and was sent to the Sejm on 20 October 2026 (print no. 3245), but it is still a draft and it does not change the KSeF obligation itself.
The path of an order: from checkout to a KSeF number
An order that needs a business invoice goes through the same stages on any platform:
- Checkout. The buyer ticks that they want a company invoice and enters the NIP, company name and address. If the NIP is not in the order, you will have to chase it by e-mail later.
- Payment. In a store with prepayment, the money usually arrives before the goods are shipped. The invoice deadline then runs from the date of payment: at the latest the 15th day of the following month (art. 106i(1) and (2) of the VAT Act). Many stores issue the invoice straight after payment anyway, because business customers expect it.
- FA(3) invoice. A program or app builds an XML file that follows the FA(3) schema and sends it to KSeF.
- KSeF number. KSeF checks the file and assigns a number. Only from this moment is the invoice issued. A file rejected by the system is not an invoice: you do not correct it, you send a fixed one (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 20).
- Delivery. A business with a Polish NIP will find the invoice in KSeF by itself, so you do not need to send it the number (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 41). It is still worth giving the customer a PDF with the order. If you pass the invoice on outside KSeF, for example as a PDF, it must carry a QR code leading to KSeF (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 34). The PDF does not have to copy the Ministry's template, but it must match the data in KSeF (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 33).
KSeF does not check the buyer's details. If the buyer enters someone else's NIP, the invoice is accepted and goes to that other company (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 21 and 23). That is why checking the NIP at checkout saves the most work later. How to set this up is in collecting the NIP in an online store.
Online and offline
An invoice issued in online mode is sent to KSeF on the day it is issued. When something goes wrong, the rules provide offline modes:
- offline24: you issue the invoice without a KSeF connection and send it at the latest on the next working day,
- KSeF unavailability (maintenance announced by the MF): you send it at the latest on the next working day after the break ends,
- emergency mode (an outage announced by the MF): you have 7 working days from the end of the outage.
The deadlines come from the MF (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 10). To issue offline invoices that you hand to the buyer before sending them to KSeF, you need a type 2 KSeF certificate, because such an invoice gets a second QR code labelled "CERTYFIKAT" (MF FAQ, category "Certyfikaty KSeF", q. 1; MF FAQ, category "Tryby offline i kody QR", q. 8).
Receipts, invoices for receipts and the cash register
This is where 1 January 2027 changes the most for stores that have a cash register (kasa fiskalna), for example because some customers pay on delivery or the store also has a physical shop.
Until 31 December 2026, invoices issued with a cash register and receipts (paragon) with a NIP up to PLN 450 (treated as a simplified invoice) may stay outside KSeF and do not count towards the PLN 10,000 limit (art. 145n of the VAT Act; MF FAQ, category "Zasady obowiązywania KSeF i przepisy prawne", q. 2 and 20). From 2027 an invoice to a business for a sale recorded on the cash register must go through KSeF (MF FAQ, category "Zasady obowiązywania KSeF i przepisy prawne", q. 3). A receipt with a NIP up to PLN 450 will then no longer replace an invoice for a business.
The rule in art. 106b(5) of the VAT Act stays the same: you can issue a business invoice for a sale documented with a receipt only if the receipt shows the buyer's NIP. An invoice issued in breach of this rule can lead to an additional tax liability equal to 100% of the VAT on the invoice (art. 106b(6)). So a business customer should give the NIP before the purchase, not after it.
Whether your store needs a cash register at all depends on how customers pay and on the conditions of the cash register exemptions, so settle this with your accountant. We cover it in more detail in the guide on invoices for receipts from 2027.
Refunds, corrections, a wrong NIP and cancellations
An invoice accepted by KSeF cannot be edited or deleted. Every change is made with a correction invoice (faktura korygująca), which also goes through KSeF (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 18). There is no limit on the number of corrections to one invoice (q. 22).
The most common situations in a store:
- Return of a whole order or part of it. You issue a correction with negative amounts that refers to the KSeF number of the original invoice. If you also refund shipping, the correction covers that line as well. Step by step: KSeF correction invoice for returned goods.
- Wrong amounts. KSeF does not do the maths for you and will accept an invoice with a calculation error. You fix it with a correction (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 19).
- Wrong NIP. You issue a correction to zero on the wrong NIP and a new invoice on the right one (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 21 and 23). The invoice with the wrong NIP stays visible to the company with that number, if such a company exists.
- Cancelled order. If the invoice has not been issued yet, you simply do not issue it. If it already has a KSeF number, it cannot be cancelled: the only option is a correction to zero. This is one more reason to issue the invoice after the order is paid, not when it is placed.
Currencies and selling abroad
A store that sells in euro can issue an invoice in euro. The VAT amount, however, must be shown in złoty (art. 106e(11) of the VAT Act). In the FA(3) file you fill in the currency code and the exchange rate, and only the tax amount is converted into złoty (MF FAQ, category "Rozwiązania informatyczne, integracje i struktura KSeF", q. 19).
The rate is the NBP (National Bank of Poland) average rate from the last working day before the tax point (art. 31a(1) of the VAT Act). The law also allows the European Central Bank rate, but most stores use NBP. In a store with prepayment the tax point usually falls on the day of payment, so you use the rate from the working day before the payment. Confirm the final date with your accountant, because it depends on the type of transaction. You can look up the rate and the NBP table number in our NBP rate calculator for invoices.
A buyer from abroad has no access to KSeF, because they have no Polish NIP. You issue the invoice in KSeF and pass it to the customer in an agreed way, usually as a PDF with a QR code (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 9 and 36). VAT rates and the OSS procedure for sales to consumers in the EU are a separate matter: KSeF does not change them.
How to set up KSeF in a store: four ways
The Ministry of Finance provides free tools: the KSeF Taxpayer Application (Aplikacja Podatnika KSeF), the KSeF Mobile Application (Aplikacja Mobilna KSeF) and e-mikrofirma (MF FAQ, category "Podstawowe informacje o KSeF", q. 2; MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 35). So you do not need paid software to send invoices. The real question is how much manual work you are willing to do for each order with a NIP.
| Way | How it works | Who it suits |
|---|---|---|
| By hand in the MF tools | You retype order data into Aplikacja Podatnika KSeF. | A few business invoices a month. |
| Invoicing software integrated with KSeF | The store exports orders or the software pulls them through an integration, and the software sends invoices to KSeF. | A store that already keeps its invoices in an external program. |
| Order integrator | A tool such as BaseLinker collects orders from many channels (store, Allegro, other marketplaces) and passes them to the invoicing software. | Selling on several channels at once. |
| App inside the store platform | The invoice is created automatically for a paid order, with no retyping. | A store on one platform that wants invoices to happen by themselves. |
Stores run on Shopify, WooCommerce, PrestaShop, Shoper, IdoSell and many other platforms. Before you choose a solution, check three things: does it support the FA(3) schema and the KSeF 2.0 API, does it issue corrections for refunds, and does it show rejected invoices instead of quietly skipping them.
If you run a Shopify store, this is exactly the case our KSeF Faktury app solves: once an order with a NIP is paid, it issues an FA(3) invoice, sends it to KSeF and saves the KSeF number and a PDF with a QR code on the order. The app does not issue invoices for private customers. The WooCommerce, PrestaShop and REST API versions are listed above, next to the platform table.
Access to KSeF
Whichever way you choose, the store needs access to KSeF. A person running a JDG (sole proprietorship) has owner permissions automatically and can log in straight away, for example with a trusted profile (profil zaufany) or a qualified signature (MF FAQ, category "Uprawnienia i autoryzacja", q. 2; page "Krok po kroku: JDG i MŚP"). A company without a qualified seal files a ZAW-FA notification at the tax office. A program or app connects to KSeF with a KSeF certificate or a token. A certificate is valid for at most 2 years (MF FAQ, category "Certyfikaty KSeF", q. 2). As for tokens: the MF has announced that token login will remain after 2026 (MF FAQ, category "Uprawnienia i autoryzacja", q. 39), but the regulation on using KSeF (§ 13) still says 31 December 2026 and had not been amended as of 19 October 2026. The MF is also considering limiting token validity to 1-365 days.
Store checklist before 1 January 2027
- I know how many business invoices I issue a month and their gross total.
- The buyer can tick "company invoice" and enter a NIP at checkout, and the store checks that the NIP is valid.
- I have access to KSeF: a login, and a KSeF certificate or token for the software.
- My accountant has KSeF permissions to view invoices (or to issue them, if she issues them).
- I have chosen how invoices are issued and sent a test invoice to the KSeF test environment.
- I know who issues a correction for a refund and for a wrong NIP, and how.
- If I have a cash register: I know how I issue an invoice for a receipt with a NIP from 2027.
- If I sell in foreign currencies: the invoice shows VAT in złoty at the correct NBP rate.
- Someone checks every day that all invoices have received a KSeF number.
Frequently asked questions
Does an invoice for a private customer have to go to KSeF?
No. Issuing an invoice for a consumer in KSeF is optional, both in 2026 and in 2027 (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 5). You give such an invoice to the customer as before, for example as a PDF.
I sell almost only to private people. Does KSeF apply to me?
Yes, if you ever issue an invoice to a business. From 2027 every such invoice goes through KSeF, even one a year. On top of that, since 1 February 2026 you receive purchase invoices from your suppliers through KSeF.
Is it enough to send the customer a PDF of the invoice?
Not for a business with a Polish NIP. The invoice is the file in KSeF with an assigned number. The PDF is only its visualisation, and if you pass it on outside KSeF, it must carry a QR code.
What if KSeF is down and orders keep coming in?
You can issue invoices in offline mode and send them on time: on the next working day for offline24 and for a maintenance break, within 7 working days for an announced outage. The software should queue the invoices itself and send them when KSeF is back.
How do I issue KSeF invoices automatically in an online store?
You need a tool connected to the store platform: an app, plugin, module or invoicing software that, once an order with a NIP is paid, builds the FA(3) invoice, sends it to KSeF and saves the KSeF number. Add KSeF access with a token or certificate, a NIP field in checkout and a test in the KSeF test environment. The order of steps is in the 5-step section at the top of this guide.
Which KSeF invoicing software should an online store choose?
It depends on the platform and the number of sales channels. A store on one platform has the least work with an app or plugin that sends invoices straight to KSeF. When you sell on several channels (store and Allegro), an order integrator or invoicing software is often easier, but then only one tool sends invoices to KSeF. Comparison: KSeF invoicing software for stores.
Do I need paid software for KSeF in my store?
No. The Ministry of Finance provides the KSeF Taxpayer Application, the KSeF Mobile Application and e-mikrofirma for free (MF FAQ, category "Podstawowe informacje o KSeF", q. 2). They do not connect to a store, though, so you retype every order with a NIP by hand. For a few business invoices a month that is enough.
How do I check that an invoice from my store reached KSeF?
An invoice exists only once it has a KSeF number. You see it in the software or store app, in the KSeF Taxpayer Application and in the UPO (MF FAQ, category "Wystawianie i otrzymywanie faktur", q. 37). A file without a number was rejected or is still waiting in a queue: KSeF rejected invoice.
Do KSeF penalties start in 2027?
Under the current Act, penalties under art. 106ni apply from 1 January 2027. The government draft UD477 from September 2026 moves them to 1 January 2028 and was sent to the Sejm on 20 October 2026 (print no. 3245), but it is still a draft and it does not change the KSeF obligation itself.
This article is general information and not tax advice.
Sources
- Etapy wdrożenia KSeF (ksef.podatki.gov.pl)
- Od kiedy trzeba wystawiać faktury w KSeF (ksef.podatki.gov.pl)
- Poniżej 10 000 zł: najczęściej zadawane pytania (ksef.podatki.gov.pl)
- Pytania i odpowiedzi KSeF 2.0 (ksef.podatki.gov.pl)
- Krok po kroku: JDG i MŚP (ksef.podatki.gov.pl)
- Ustawa o podatku od towarów i usług, tekst jednolity Dz.U. 2026 poz. 1263 (eli.gov.pl)
- Ustawa z 5 sierpnia 2025 r. o zmianie ustawy o VAT, Dz.U. 2025 poz. 1203 (eli.gov.pl)
- Komunikat MF z 16 września 2026 r. o przedłużeniu odroczenia kar (gov.pl)
- Projekt UD477 w Rządowym Procesie Legislacyjnym (legislacja.gov.pl)
- Aplikacja Podatnika KSeF i inne narzędzia (ksef.podatki.gov.pl)
- iFirma e-commerce integrator, list of platforms (ifirma.pl)
Legal status as of 28 October 2026.