Skip to main content
KSeF · checked on 24 November 2026

KSeF, Poland's National e-Invoicing System: a guide to KSeF 2.0

KSeF (Krajowy System e-Faktur) is the Polish Ministry of Finance system for issuing, sending, receiving and storing structured invoices. Companies whose 2024 sales exceeded PLN 200 million including VAT have issued their invoices in KSeF since 1 February 2026, and all other taxpayers since 1 April 2026. Every taxpayer has received invoices through KSeF since 1 February 2026. On 1 January 2027 the transition for sales up to PLN 10,000 a month and for cash-register invoices ends, and penalties and the KSeF number in bank transfers start.

FlexigoTech · Editor in charge: Víctor Gómez · Updated 24 November 2026

Key facts

Module
KSeF 2.0
Versions
Odoo 17, 18, 19 and 20
Checked
in the module's source code, version 17.0, 18.0, 19.0 and 20.0 · against the sources linked at the end
Reading time
8 min

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).

WhoIssuing invoices in KSeFSource
2024 sales above PLN 200 million (VAT included)since 1 February 2026MF: scope of mandatory KSeF
All other taxpayerssince 1 April 2026MF: scope of mandatory KSeF
Invoiced sales up to PLN 10,000 gross a monthfrom 1 January 2027; until the end of 2026 they may invoice outside KSeFMF: rollout stages
Cash-register invoices and receipts with the buyer's NIP up to PLN 450from 1 January 2027, when the buyer is a taxpayerMF: legal basis
Invoices to consumers (B2C)optionalMF: questions and answers
Foreign company with no seat and no fixed establishment in Polandnot required, may use it voluntarilyMF: questions and answers
Receiving invoices from Polish sellersevery taxpayer since 1 February 2026MF: 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

  1. Prepare the invoice in your software or in the KSeF Taxpayer Application as an FA(3) XML file.
  2. Send it on the day entered in field P_1; sent later, it counts as offline24.
  3. 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.
  4. 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

WhoHow it authenticates in KSeF
Individual, including a sole traderTrusted 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 individualqualified 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

ModeWhenDeadline to send to KSeFLegal basis
Offline24any time, for example without internetnext working day after issueArticle 106nda of the VAT Act
KSeF unavailabilityannounced by the Ministry, for example maintenancenext working day after it endsArticle 106nh
Emergency modefailure announced by the Ministry and in the software interface7 working days after the failure endsArticle 106nf
Total failureannounced in the medianot sent at allArticle 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.

CodeWhereDescription in the KSeF APIGuide
440invoice statusduplicate invoiceerror 440
450invoice statussemantic validation error in the invoiceerror 450
410, 415invoice statuswrong permission scope; attachments not allowederrors 410 and 415
405, 430, 435, 500, 550invoice statuscancelled by a session error, file verification or decryption error, unknown error, cancelled by the systemstatuses 405, 430, 435, 500 and 550
415, 425, 450, 480authentication statusno permissions, authentication revoked, invalid token, authentication blockedauthentication errors
460authentication statuscertificate errorerror 460 and XAdES signature
21405API response 400input data validation errorexception 21405
401, 403, 429HTTP responseunauthorised, forbidden, request limit exceededAPI 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.

Credentials list in the Odoo KSeF module with a KSeF certificate, a qualified seal and a KSeF token, their expiry dates and state
Screenshot with demo data: credentials that expire soon are highlighted.
Submission Queue list with six invoices of a demo company, one in Offline24 mode with its date in the Deadline column
Screenshot with demo data: the sending deadline of an Offline24 invoice.

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

ZAW-FA: the KSeF permissions notificationZAW-FA is filed by a company without a qualified seal (Polish, or foreign with a Polish NIP) to name the first KSeF user. Who files it, when and how.KSeF 2.0: token, KSeF certificate or Trusted Profile? How to chooseHow to choose the access method for KSeF 2.0 for your company and for Odoo: Trusted Profile, qualified signature, national node, token or KSeF certificate.KSeF 2.0: the 2026 and 2027 timeline, and what to prepare in Odoo for each dateOfficial KSeF 2.0 dates in Poland (February and April 2026, January 2027), the postponed penalties and what to have ready in Odoo for each one.KSeF in Odoo 17, 18, 19 and 20: what changes with your versionKSeF differences between Odoo 17 and Odoo 18, 19 and 20: native sending with l10n_pl_edi, where the validated FA(3) comes from and what the module does in each version.
Checked in the module's source code (version 17.0, 18.0, 19.0 and 20.0) and the linked sources

Sources