What KSeF 2.0 is
KSeF 2.0 is the version in production since 1 February 2026, when KSeF 1.0 was switched off. An invoice issued in KSeF is a structured invoice: an FA(3) XML file to which the system has given a KSeF number. No paid software is needed: the Ministry offers the free KSeF Taxpayer Application and the KSeF mobile app.
Who must use KSeF, and from when
Legal form does not matter. The obligation covers companies, sole traders, local government units and VAT-exempt taxpayers when they invoice other taxpayers, and invoices to public bodies (B2G).
| Who | Issuing invoices in KSeF | Source |
|---|---|---|
| 2024 sales above PLN 200 million (VAT included) | since 1 February 2026 | MF: scope of mandatory KSeF |
| All other taxpayers | since 1 April 2026 | MF: scope of mandatory KSeF |
| Invoiced sales up to PLN 10,000 gross a month | from 1 January 2027; until the end of 2026 they may invoice outside KSeF | MF: rollout stages |
| Cash-register invoices and receipts with the buyer's NIP up to PLN 450 | from 1 January 2027, when the buyer is a taxpayer | MF: legal basis |
| Invoices to consumers (B2C) | optional | MF: questions and answers |
| Foreign company with no seat and no fixed establishment in Poland | not required, may use it voluntarily | MF: questions and answers |
| Receiving invoices from Polish sellers | every taxpayer since 1 February 2026 | MF: questions and answers |
The PLN 10,000 limit is monthly and gross, and counts only invoices that would otherwise go through KSeF. Once a month goes over it, that invoice and every later one must be issued in KSeF.
If your company is not Polish
A foreign company registered for VAT in Poland is exempt when it has no seat or fixed establishment in Poland, or when that establishment takes no part in the sale; it may still use KSeF voluntarily. A buyer without a Polish NIP gets the invoice as agreed, for example as a PDF with a QR code that leads to it in KSeF. Invoices from suppliers outside Poland are not reported in KSeF.
What changes on 1 January 2027
- Sales up to PLN 10,000 a month must also be invoiced in KSeF.
- Invoices for cash-register sales go through KSeF when the buyer is a taxpayer.
- The penalties in Article 106ni of the VAT Act apply; in 2026 none are imposed for mistakes in using KSeF.
- Payments between active VAT taxpayers, and split payments, must quote the KSeF number or a collective identifier.
Issuing and receiving invoices
- Prepare the invoice in your software or in the KSeF Taxpayer Application as an FA(3) XML file.
- Send it on the day entered in field P_1; sent later, it counts as offline24.
- KSeF checks the template and the sender's permissions, not the arithmetic. A rejected file is not an invoice: fix it and send it again.
- Download the UPO (official confirmation of receipt) with the KSeF number.
The KSeF number is not part of the XML and differs from the invoice number in field P_2. An accepted invoice cannot be edited: you issue a corrective invoice. The buyer receives it on the day KSeF assigns the number, without accepting it, and KSeF sends no notifications.
To read an FA(3) or FA(2) XML file downloaded from KSeF, open it in our free KSeF invoice viewer (in Polish): it shows the invoice in readable form, builds the verification QR code and lets you print it or save it as PDF. The file never leaves your computer.
Before you pay an invoice for a Polish transaction worth more than PLN 15,000, check that the seller's bank account is on the VAT white list (biała lista). For such a transaction, paying into an account that is not on the list can stop you counting the cost as tax-deductible for income tax (CIT or PIT) and can make you jointly liable for the seller's VAT arrears on that supply. Our free white list checker (in Polish) queries the Ministry of Finance API straight from your browser.
The FA(3) structure
FA(3) has been the only structured-invoice template since 1 February 2026, including corrections of invoices issued in FA(2). The Ministry published it on 25 June 2025 in the central repository of electronic document templates; the XSD schema has system code FA (3) and version 1-0E. Its eight parts are Naglowek (header), Podmiot1 (seller), Podmiot2 (buyer), Podmiot3 (up to 100 other parties), PodmiotUpowazniony (an authorised entity), Fa (amounts, rates, payment), Stopka (other data) and Zalacznik (attachment). Two fields that often fail are covered in P_1 and P_6 dates and buyer data in Podmiot2.
Authentication: Trusted Profile, token and certificate
| Who | How it authenticates in KSeF |
|---|---|
| Individual, including a sole trader | Trusted Profile (Podpis Zaufany; since 1 April 2026 also through the national login node, login.gov), qualified electronic signature, KSeF token, KSeF certificate |
| Company or other entity that is not an individual | qualified electronic seal, KSeF token, KSeF certificate |
Tokens were meant to end with 2026, but the Ministry of Finance decided to keep them with no end date. A KSeF certificate, valid for up to 2 years, is type 1 to log in or type 2 for the QR code on offline invoices. A company without a qualified seal carrying its NIP files the ZAW-FA notification to name its first KSeF user. We compare the methods in token, certificate or Trusted Profile.
Offline mode and KSeF failures
| Mode | When | Deadline to send to KSeF | Legal basis |
|---|---|---|---|
| Offline24 | any time, for example without internet | next working day after issue | Article 106nda of the VAT Act |
| KSeF unavailability | announced by the Ministry, for example maintenance | next working day after it ends | Article 106nh |
| Emergency mode | failure announced by the Ministry and in the software interface | 7 working days after the failure ends | Article 106nf |
| Total failure | announced in the media | not sent at all | Article 106ng |
In the first three modes the invoice follows FA(3), dated as in field P_1; given to the buyer before it reaches KSeF, it carries two QR codes, OFFLINE and CERTYFIKAT, the second made with a type 2 certificate. In a total failure the invoice needs no FA(3) or QR codes and is never sent to KSeF.
Penalties
From 1 January 2027 the head of the tax office can impose a fine of up to 100% of the VAT on an invoice issued outside KSeF, or up to 18.7% of the invoice total when it shows no VAT. The same applies to an offline invoice that does not follow the template or is not sent to KSeF on time (Article 106ni, added by the Act of 16 June 2023; start date set by the Act of 5 August 2025).
KSeF error codes
Codes and descriptions come from the KSeF 2.0 API specification, version 2.9.0, which the Ministry of Finance publishes at api.ksef.mf.gov.pl. A number can mean different things in an invoice status and an authentication status.
| Code | Where | Description in the KSeF API | Guide |
|---|---|---|---|
| 440 | invoice status | duplicate invoice | error 440 |
| 450 | invoice status | semantic validation error in the invoice | error 450 |
| 410, 415 | invoice status | wrong permission scope; attachments not allowed | errors 410 and 415 |
| 405, 430, 435, 500, 550 | invoice status | cancelled by a session error, file verification or decryption error, unknown error, cancelled by the system | statuses 405, 430, 435, 500 and 550 |
| 415, 425, 450, 480 | authentication status | no permissions, authentication revoked, invalid token, authentication blocked | authentication errors |
| 460 | authentication status | certificate error | error 460 and XAdES signature |
| 21405 | API response 400 | input data validation error | exception 21405 |
| 401, 403, 429 | HTTP response | unauthorised, forbidden, request limit exceeded | API limits |
KSeF in Odoo: what our module does and does not do
Odoo Community has its own KSeF module, l10n_pl_edi, in versions 18, 19 and 20. It sends invoices to KSeF and fetches their status. Odoo 17 has no such module.
Our module, KSeF 2.0 Validator Odoo, is a validator: it does not send invoices and does not connect to KSeF. In the version published on Odoo Apps it:
- validates the invoice's FA(3) file against the Ministry of Finance schema in FlexigoTech Cloud and keeps the result on the invoice (on Odoo 18, 19 and 20 the file from l10n_pl_edi, on every version an uploaded file);
- checks each invoice in Odoo: the buyer's NIP and its check digit or a foreign buyer's country, lines, currency, correction data and self-billing authorisation;
- keeps a register of KSeF certificates and tokens that warns before they expire and blocks "Mark ready for KSeF upload" once all have expired, without using any secret;
- keeps offline24, unavailability and emergency invoices in a queue with the sending deadline counted in Polish working days;
- on Odoo 18, 19 and 20 follows the KSeF status and number that l10n_pl_edi leaves on the invoice; on Odoo 17 it checks and lists invoices that you send outside Odoo.
It does not send invoices, download the UPO or purchase invoices, or log in to KSeF.
It runs on Odoo 17, 18, 19 and 20, on Odoo.sh or your own server, not on Odoo Online. The licence is €9 on Odoo Apps, paid once per Odoo version. The module works with an active FlexigoTech Cloud subscription: Standard at €29 a month or €290 a year, or Pro, with faster support and video calls, at €58 a month or €580 a year, VAT excluded, with 14 days free and no card. The full automated test suite passed with no failures on Odoo.sh on 15 November 2026 in all four versions.


Frequently asked questions
Will KSeF tokens stop working after 2026?
No. The Ministry of Finance decided to keep tokens with no end date and to amend the regulation on using KSeF.
When do KSeF penalties start?
On 1 January 2027. During 2026 the Ministry of Finance does not impose penalties for mistakes in using KSeF.
Does the Odoo module send invoices to KSeF?
No. KSeF 2.0 Validator Odoo checks invoices and follows their status; l10n_pl_edi sends them on Odoo 18, 19 and 20, and another tool on Odoo 17.
Legal basis and date checked
We checked every date, threshold, penalty and code on 24 November 2026 on ksef.podatki.gov.pl, in the KSeF 2.0 API specification and in the Journal of Laws: the Act of 5 August 2025 (Dz.U. 2025 item 1203), the Act of 16 June 2023 (Dz.U. 2023 item 1598) and the regulations in Dz.U. 2025 item 1815 and item 1740. All sources are listed below.
Keep reading
Checked in the module's source code (version 17.0, 18.0, 19.0 and 20.0) and the linked sources
Sources
- ksef.podatki.gov.pl/pytania-i-odpowiedzi-ksef-20/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/zakres-obowiazkowego-ksef/
- ksef.podatki.gov.pl/etapy-wdrozenia-ksef/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/podstawy-prawne-oraz-kluczowe-terminy/
- dziennikustaw.gov.pl/DU/2023/1598
- dziennikustaw.gov.pl/DU/2025/1203
- ksef.podatki.gov.pl/wyjasnienia/co-warto-wiedziec-przed-startem-ii-etapu-wdrozenia-krajowe
- dziennikustaw.gov.pl/DU/2025/1815
- dziennikustaw.gov.pl/DU/2025/1740
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/faktura-ustrukturyzowana-i-struktura-logiczn
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/numer-ksef-i-zbiorczy-identyfikator/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/kody-weryfikujace-qr/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/struktura-logiczna-fa-3/
- crd.gov.pl/wzor/2025/06/25/13775/schemat.xsd
- ksef.podatki.gov.pl/media/cq3laefg/podrecznik-ksef-2-0-cz-i-rozpoczecie-korzystania-z-ksef
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/certyfikaty-ksef/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/tryby-szczegolne-wystawiania-faktur/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/tryb-offline24/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/tryb-offline-niedostepnosc-ksef/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/tryb-awaryjny/
- ksef.podatki.gov.pl/informacje-ogolne-ksef-20/awaria-calkowita/
- api.ksef.mf.gov.pl/docs/v2/openapi.json
- github.com/odoo/odoo/tree/18.0/addons/l10n_pl_edi
- Module source code: flexigo_poland_ksef_2_0_e_invoice_connector_and_migrati, __manifest__.py lines 20-31; 17.0 (23ba26d807), 18.0 (34359cfc34), 19.0 (36f19e107f), 20.0 (f95fef9138), 1.2.10
- Module source code: flexigo_poland_ksef_2_0_e_invoice_connector_and_migrati, __manifest__.py lines 11-16, models/ksef_queue_item.py lines 49-53; 17.0 (23ba26d807), 18.0 (34359cfc34), 19.0 (36f19e107f), 20.0 (f95fef9138), 1.2.10; apps.odoo.com 20.0, 24-11-2026: «It does not connect to KSeF: it does not send invoices, download the UPO or download purchase invoices»
- Module source code: flexigo_poland_ksef_2_0_e_invoice_connector_and_migrati, models/account_move.py, _ksef_fa3_gaps (line 145; 144 in 17.0); 17.0 (23ba26d807), 18.0 (34359cfc34), 19.0 (36f19e107f), 20.0 (f95fef9138), 1.2.10
- apps.odoo.com/apps/modules/20.0/flexigo_poland_ksef_2_0_e_invoice_connector_and_migrati
- Module source code: flexigo_poland_ksef_2_0_e_invoice_connector_and_migrati, tests/, 17.0 (a5ba945), 18.0 (cdfae8f), 19.0 (197910f) and 20.0 (3310ca0)
