ksefujto

FAQ — KSeF Questions Answered

Answers to the most common questions about KSeF — from the basics to technical details.

Written by AI

KSeF Basics

What is KSeF?

KSeF (Krajowy System e-Faktur) is the Polish Ministry of Finance platform for issuing and receiving structured invoices. Every B2B invoice must be submitted to KSeF as an XML file and receive an official number before it reaches the buyer. The system acts as a central tax invoice register maintained by the state.

When did KSeF become mandatory?

For large businesses (sales above 200M PLN in 2024), KSeF became mandatory on February 1, 2026. For all other VAT taxpayers, active and VAT-exempt alike, it has applied since April 1, 2026. Until December 31, 2026 some invoices can still be issued outside KSeF: when monthly sales stay within 10,000 PLN (Art. 145m of the VAT Act) and when the invoice is issued with a cash register (Art. 145n). From January 1, 2027 these exceptions end.

Who does KSeF apply to?

KSeF applies to VAT taxpayers, active and VAT-exempt, who have a registered office or fixed place of business in Poland and issue invoices (Art. 106ga of the VAT Act). It covers invoices to businesses and institutions (B2B). Invoices to consumers, meaning individuals not running a business, are excluded (Art. 106ga ust. 2 pkt 4). VAT-exempt taxpayers follow the same deadlines as everyone else.

Does KSeF apply to consumer invoices (B2C)?

No. Invoices to consumers, meaning individuals not running a business, are outside the KSeF obligation (Art. 106ga ust. 2 pkt 4 of the VAT Act), whether you issue them from a cash register or in invoicing software. You can issue them in KSeF voluntarily (Art. 106ga ust. 4), but you still deliver the invoice to the customer in the way you agreed, with a QR code (Art. 106gb ust. 4). If the customer buys for their business and gives you a NIP, it is a B2B invoice.

Does KSeF apply to till receipts with a NIP number?

Until December 31, 2026, a till receipt showing the buyer's NIP for up to 450 PLN (or EUR 100) counts as a simplified invoice and can be issued outside KSeF. Until that date you can also issue invoices with a cash register outside KSeF (Art. 145n of the VAT Act). From January 1, 2027 a receipt with a NIP is no longer a simplified invoice, and an invoice to a business for a cash-register sale is issued in KSeF (Podręcznik KSeF 2.0, cz. I).

What is FA(3)?

FA(3) is the current XML schema for structured invoices, published by the Polish Ministry of Finance. The number 3 indicates the third version of the format. All invoices submitted to KSeF must comply with this schema — any deviation results in rejection by the system.

What is the difference between FA(2) and FA(3)?

FA(2) was the previous schema version, used in KSeF 1.0 (until 31 January 2026). FA(3) introduced a new XML namespace, updated fields, and expanded annotation requirements. FA(2) invoices are not accepted by KSeF 2.0 — if your software was generating FA(2), confirm with your vendor that an update to FA(3) has been released.

Can I still send PDF invoices?

No — PDF is not accepted by KSeF as a tax document. The system requires a structured XML file compliant with FA(3). You can still send the buyer a PDF visualization for convenience, but the legal version of the document is the XML file registered in KSeF. Good invoicing software generates both: XML for KSeF and PDF for the buyer.

What is a KSeF number?

A KSeF number is a unique invoice identifier assigned by the MF system once the invoice is registered. You need it when correcting an invoice issued in KSeF: the correction gives the KSeF number of the original invoice (the NrKSeF and NrKSeFFaKorygowanej fields). If the original invoice has no KSeF number because it was issued outside KSeF, you tick the NrKSeFN field instead.

What is UPO?

UPO (Urzędowe Poświadczenie Odbioru — Official Receipt Confirmation) is a document confirming that an invoice was accepted by KSeF. It contains the KSeF number, acceptance date, and a digital signature from the system. UPO proves that the invoice was correctly registered — it is worth archiving alongside the invoice XML file.

Thresholds and Exemptions

What is the 10,000 PLN threshold?

Taxpayers with monthly invoiced sales not exceeding 10,000 PLN can issue invoices outside KSeF until December 31, 2026. This applies to any taxpayer, including VAT-exempt ones (Art. 145m of the VAT Act). From January 1, 2027 there is no limit. Check the current regulations at ksef.podatki.gov.pl or consult your accountant.

How is the 10,000 PLN threshold calculated?

The threshold is calculated as the total gross (including VAT) value of invoices subject to the KSeF obligation issued in a given calendar month, not total revenue or the number of invoices. Both VAT-taxable and VAT-exempt B2B invoices subject to KSeF count. Sales through cash registers, B2C invoices (for private individuals), and simplified invoices (receipts with NIP up to 450 PLN) do not count. If you are approaching the threshold or are unsure how the rules apply to you, consult your accountant: the regulations in this area have been amended.

When does KSeF apply to me if I'm below the threshold?

The KSeF obligation covers you from April 1, 2026, whether you are an active VAT taxpayer or VAT-exempt (from February 1, 2026 it covered only businesses whose 2024 sales exceeded 200 million PLN). Until December 31, 2026, however, you can issue invoices outside KSeF as long as their total gross value in a given month does not exceed 10,000 PLN (Art. 145m of the VAT Act). The invoice that takes you over the threshold, and every invoice after it, must be issued in KSeF, even if your sales drop below 10,000 PLN the following month (Art. 145m ust. 2). From January 1, 2027 there is no threshold.

Does a flat-rate farmer need to use KSeF?

The VAT Act does not list flat-rate farmers (rolnik ryczałtowy) among the KSeF exclusions (Art. 106ga ust. 2). What matters is whether you issue an invoice. As a flat-rate farmer supplying agricultural products, you are exempt from the duty to issue invoices (Art. 117 of the VAT Act), so you can document a sale with a rachunek (a simple bill) instead of an invoice (Podręcznik KSeF 2.0, cz. II). A VAT RR invoice is issued by the buyer, an active VAT taxpayer who buys agricultural products from you (Art. 116). From April 1, 2026 the buyer can issue it in KSeF voluntarily, if you submit a statement in KSeF that you are a flat-rate farmer and name that buyer as authorised. Without that statement, the VAT RR invoice is issued outside KSeF. If you issue invoices as a taxpayer, for example from another business activity, KSeF covers them under the general rules. Check with your accountant whether you keep flat-rate farmer status in that case.

Who is exempt from KSeF?

The VAT Act (Art. 106ga ust. 2) excludes from KSeF, among others, invoices to private individuals not running a business (you can issue them in KSeF voluntarily), invoices issued by taxpayers with no registered office or fixed establishment in Poland, invoices for transactions settled under the non-Union scheme, the import scheme (IOSS) and the special scheme for occasional international road passenger transport, and invoices issued by taxpayers from another EU country using the exemption in Art. 113a. Until December 31, 2026 you can also issue cash-register invoices outside KSeF (Art. 145n). Further cases are set out in the regulation issued under Art. 106s; if in doubt, check ksef.podatki.gov.pl.

Does a foundation or association need to use KSeF?

Yes, if it issues invoices. The legal form does not matter: a foundation or association that issues invoices as a VAT taxpayer, active or exempt, does so in KSeF from April 1, 2026 under the same rules as other taxpayers, with the same exclusions and the 10,000 PLN threshold until the end of 2026. An organisation that does not issue invoices is not subject to the obligation to issue them in KSeF.

Issuing Invoices

How do I issue my first invoice in KSeF?

First, gain access to KSeF: log in through the Taxpayer Application KSeF (ap.ksef.mf.gov.pl) or integrate your invoicing software with the KSeF API. Then prepare an XML file compliant with FA(3) and submit it to the system. After successful acceptance, you receive a KSeF number and UPO. From that moment the invoice is legally effective.

What if my invoicing software doesn't support KSeF?

Contact your software vendor and ask about an update to KSeF 2.0 with FA(3) support. Most popular invoicing programs already have or are planning such an update. As a temporary alternative, you can use the free Taxpayer Application KSeF from the Ministry of Finance. It is basic but sufficient for manual invoice issuance.

Are there free tools from the Ministry of Finance?

Yes. The Ministry of Finance provides the free Taxpayer Application KSeF (ap.ksef.mf.gov.pl) for issuing, receiving, and viewing KSeF invoices. It is a good solution for people issuing a few invoices per month. For higher volumes, a dedicated invoicing program with KSeF integration is more convenient.

What is e-mikrofirma?

e-mikrofirma is a free MF web application for the smallest businesses, enabling invoice issuance and tax settlement. It supports KSeF in a limited scope and is an alternative to commercial invoicing software. It works well for people who issue invoices occasionally.

What is the Taxpayer Application KSeF?

This is the official MF application (ap.ksef.mf.gov.pl) for managing invoices in KSeF. It allows you to issue invoices manually via a form, upload ready-made XML files, view received invoices, and manage permissions. You log in through login.gov.pl (Trusted Profile, mObywatel, online banking or e-ID) or with a qualified signature or seal. It is free and requires no installation.

How do I issue a corrective invoice in KSeF?

A corrective invoice in KSeF must include the KSeF number of the original invoice when that invoice was issued through KSeF. You submit it the same way as a regular invoice: as an XML file to KSeF. After acceptance, it receives its own KSeF number. The rules for agreeing corrections with the buyer remain unchanged.

How do I issue a foreign currency invoice?

On a foreign currency invoice you state the amounts in that currency and also convert the tax amount to PLN (Art. 106e ust. 11 of the VAT Act, fields P_14_1W to P_14_4W). As a rule you use the average NBP rate from the last business day before the tax point; if you issue the invoice before that day, you use the rate from the last business day before the issue date (Art. 31a). The FA(3) schema does not require the P_14_xW fields, so KSeF accepts the invoice without them, but the law still requires the tax to be shown in PLN.

How do I invoice a foreign buyer?

Invoices for EU or non-EU buyers submitted to KSeF use different VAT rates. For intra-EU supply (WDT) use 0%, for exported services the not-subject-to-VAT designation with the appropriate code. Enter the buyer's EU VAT number in the NrVatUE field. Validate the file before submitting, because errors in foreign buyer address fields are common.

What is self-invoicing in KSeF?

Self-invoicing is when the buyer issues an invoice on behalf of the seller — based on a prior agreement between the parties. In KSeF it requires special permissions: the seller must authorize the buyer to issue invoices in their name. The document in KSeF is marked as issued under self-invoicing.

Offline Mode and Failures

What should I do if KSeF is down?

You can issue the invoice outside KSeF in offline mode. If MF announces that KSeF is unavailable or declares an outage, separate rules and deadlines apply for sending those invoices to KSeF. In a total outage, invoices are not sent to KSeF at all (Art. 106ng of the VAT Act).

What is offline mode?

In offline mode (offline24) you issue the invoice outside KSeF and send it to KSeF no later than the next business day after the issue date (Art. 106nda of the VAT Act). The law does not tie this mode to an outage, so you can use it at any time. If you hand an offline invoice to the buyer outside KSeF, it carries two QR codes, and you need a type 2 KSeF certificate to generate the second one. The Taxpayer Application issues only online invoices, so offline mode requires software that supports it.

What is emergency mode?

Emergency mode is officially declared by the Ministry of Finance when KSeF is unavailable due to technical or administrative reasons. During this time the obligation to send invoices to KSeF is suspended — you issue invoices outside the system and commit to uploading them after the outage. Status updates appear on ksef.podatki.gov.pl.

How long do I have to submit invoices after an outage?

You send an invoice issued in emergency mode to KSeF within 7 business days of the day the outage ended, as stated in the MF announcement (Art. 106nf ust. 4 of the VAT Act). If MF announces another outage during that time, the period starts again. An invoice issued while KSeF was unavailable goes to KSeF no later than the next business day after the unavailability ends (Art. 106nh ust. 2), and an offline24 invoice no later than the next business day after its issue date (Art. 106nda ust. 2). Invoices issued during a total outage are not sent to KSeF (Art. 106ng).

What QR codes does an offline invoice carry?

An offline invoice that does not yet have a KSeF number carries two QR codes. The first, labelled "OFFLINE", links to the invoice in KSeF and lets the reader check its data. The second, labelled "CERTYFIKAT", confirms the issuer's identity. Your invoicing software generates both codes, and the second one requires a type 2 KSeF certificate that you must obtain in advance (Podręcznik KSeF 2.0, cz. II, pkt 5.4).

How do I know if KSeF is unavailable?

MF publishes outage announcements in the Public Information Bulletin (BIP) and in the KSeF interface software, unavailability announcements in the Bulletin, and total outage announcements in the mass media (Art. 106ne of the VAT Act). Your invoicing software should also display a message when it cannot connect to the MF API.

Access and Authorizations

How do I log in to KSeF?

You log in to the KSeF Taxpayer Application (ap.ksef.mf.gov.pl) through login.gov.pl (Trusted Profile, mObywatel, online banking or e-ID) or with a qualified signature or seal. Trusted Profile (Profil Zaufany) is the most convenient for most business owners, and you can set it up for free via online banking or at a government office. The KSeF certificate and token are for software that connects to KSeF through the API. You cannot use them to log in to the Taxpayer Application (Podręcznik KSeF 2.0, cz. I).

What is ZAW-FA?

ZAW-FA is a form notifying the tax office that KSeF permissions have been granted or revoked. You file it on paper, through e-Urząd Skarbowy (e-US) or via e-Doręczenia. It is only needed when the taxpayer is not a natural person and has no qualified seal, or when the signature or seal does not contain a NIP or PESEL. In all other cases permissions are granted electronically.

How do I authorize my accountant for KSeF?

You grant permissions electronically in the Taxpayer Application KSeF 2.0 (permissions panel) or via the API. The ZAW-FA form at the tax office is only needed in exceptional cases, for example when you are not a natural person and have no qualified seal. The authorization specifies whether the accountant can only read invoices or also issue them. Your accounting office will usually ask you for the appropriate authorization — check with your accountant.

What is a KSeF certificate?

A KSeF certificate is an electronic identity credential used for authentication in the KSeF API. It is downloaded from the MF system and allows software and integrators to log in to KSeF without a Trusted Profile. Certificate types are defined by function: type 1 is used for authentication in KSeF, type 2 for issuing invoices in offline mode. One certificate has one type.

What is the difference between a type 1 and type 2 certificate?

They differ by function, not by who holds them. A type 1 certificate (API name: Authentication) is used for authentication in KSeF. A type 2 certificate (API name: Offline) is used for issuing invoices in offline mode. One certificate has one type, so you need two certificates for both purposes.

What is an authentication token?

An authentication token is a string generated in the Taxpayer Application KSeF, used in place of a certificate for API authentication. Tokens are more convenient for integrators and smaller systems because they do not require managing PKI certificates. A token carries the permission scope set when it was generated and, according to Podręcznik KSeF 2.0 (cz. I), works until you revoke it in the Taxpayer Application. The regulation provides for tokens until December 31, 2026, but MF has decided to keep them. Details are in our post on KSeF tokens after 2026.

Validation and Errors

How do I check if my invoice is valid?

Before sending your invoice to KSeF, drop the XML file on ksefuj.to — validation runs entirely in your browser, data never leaves your computer. We check both FA(3) schema compliance and MF semantic rules. Errors are described in plain language — you'll know exactly what to fix.

What does an XSD validation error mean?

An XSD error means the XML file structure does not match the FA(3) schema. Common causes: missing required field, wrong element order, typo in element name, or invalid date format. The ksefuj.to validator describes each XSD error clearly and indicates the exact location in the file.

What are the most common errors in KSeF invoices?

The most common errors are: missing required annotation fields (P_16, P_17, P_18, P_18A, P_23 and other Adnotacje section fields), incorrect GTU format (should be GTU_01, not a separate element), missing PLN currency conversions, a Polish NIP entered in the EU VAT number field instead of the NIP field, and excessive decimal precision on amounts. The ksefuj.to validator detects all of these automatically and suggests how to fix them.

Does ksefuj.to store my data?

No. Your XML file never leaves the browser — all processing happens locally on your computer. We have no access to your invoices, do not transmit them to any servers, and keep no content logs. Invoices are sensitive data — which is why we designed ksefuj.to as a fully private tool.

Is ksefuj.to free?

Yes — forever. The ksefuj.to validator is free with no limits, no registration, no paywall. We believe basic KSeF tools should be available to everyone — especially small businesses and freelancers. The full source code is publicly available on GitHub.

How does ksefuj.to differ from the MF validator?

The MF does not provide a standalone XML validator — validation only happens when you submit an invoice to KSeF, meaning you find out about errors too late. ksefuj.to fills that gap: you can check your XML file before sending, without logging in and without risking invoice rejection. We also check semantic rules that the XSD schema alone cannot verify.