# KSeF — National e-Invoicing System

> How Smakład issues and sends FA(3) structured invoices, works in offline modes and fetches purchase invoices from KSeF.

> Machine translation, editorial review pending.

Source: https://docs.smaklad.pl/en/compliance/ksef/

KSeF (*Krajowy System e-Faktur*) is the state system through which VAT payers issue and receive structured invoices (*faktury ustrukturyzowane*). An invoice legally exists only once KSeF has accepted it and assigned a KSeF number. Smakład supports KSeF 2.0 — both sales invoices and purchase invoices received from suppliers.

**For information only**
This page is not tax advice. It describes the law as of December 2026.

## Legal basis and dates

- **VAT Act** of 11.03.2004 — obligation to issue invoices in KSeF (art. 106ga), assignment of the KSeF number (art. 106na).
- **Mandatory dates:** the largest taxpayers (sales above PLN 200 million a year) from 1 February 2026, everyone else from 1 April 2026. Taxpayers whose invoiced sales do not exceed PLN 10,000 gross a month may issue invoices outside KSeF until 31.12.2026.
- **Invoices from a cash register:** until 31.12.2026, invoices issued with a cash register (including a receipt with the buyer's NIP up to PLN 450) stay outside KSeF. From 1.01.2027 a receipt with NIP is no longer a simplified invoice — a simplified invoice can then only be issued in KSeF.
- **Working days** in offline deadlines exclude Saturdays, Sundays and public holidays; since 2025, 24 December is also a public holiday.

## What Smakład does

### Sales invoices

- Builds the invoice in the current **FA(3)** structure, with 23%, 8%, 5%, 0%, zw (exempt), np and oo (reverse charge) rates, GTU codes and annotations.
- Checks the data before sending: an unknown rate, an invalid GTU code, a foreign currency without an exchange rate or an exemption without a legal basis block the invoice instead of sending a wrong file.
- Sends the invoice, receives the **KSeF number** and the **UPO** (*urzędowe poświadczenie odbioru*, official confirmation of receipt) and stores them with the invoice.
- An invoice rejected by KSeF gets the status "Rejected by KSeF" with the error description; after fixing it, it can be resent. The same invoice is never sent twice.
- A correction invoice requires the number and date of the corrected invoice.

### Offline modes

| Mode | When | Deadline for sending to KSeF |
|---|---|---|
| Offline24 | by the issuer's choice | end of the next working day after the issue date |
| Offline (KSeF unavailable) | KSeF unavailability announced by the Ministry of Finance | end of the next working day after it ends |
| Emergency mode | failure announced by the Ministry of Finance | 7 working days after the failure ends |

An offline invoice is "frozen" when it is issued, so exactly the same file is sent later. The system retries automatically and watches the deadline. For offline invoices it generates the data for the verification QR codes (CODE I and CODE II; the latter requires an offline-type KSeF certificate).

### Purchase invoices

- When fetching is switched on, Smakład regularly reads from KSeF the invoices in which your company is the buyer and creates **draft purchase invoices** from them (lines and amounts from the file).
- The supplier is recognised by NIP (Polish tax ID); duplicates are detected — an invoice entered earlier by hand is linked, not duplicated.
- You can start a goods receipt straight from a KSeF invoice: map the lines to products and add lots and expiry dates. Quantities and prices from the invoice cannot be changed — a difference is settled by a correction from the supplier.
- Correction and advance invoices from suppliers wait for the accountant's decision. A file downloaded from the taxpayer app can also be imported by hand.

### Invoice for a receipt and advances

- An **invoice for a receipt** (*faktura do paragonu*) copies the lines and amounts from the receipt and is marked FP. For a business buyer it requires the NIP on the receipt (art. 106b(5)) — an invoice to a business for a receipt without NIP carries a penalty of 100% of the VAT on that invoice, so the system will not issue it. A consumer may ask for an invoice within 3 months from the end of the month of sale. Only one invoice can be issued per receipt.
- A receipt with NIP up to PLN 450 gross sold until 31.12.2026 is a simplified invoice — the system will not issue a second invoice for it.
- **Advance invoices (ZAL) and final invoices (ROZ)** — e.g. for banquets for businesses: an advance invoice for money received, a correction when part of the advance is returned, and a final invoice reduced by the advances.

## What the owner and accountant need to do

1. Generate a **KSeF token** for the company's NIP in the Ministry of Finance app and enter it in the KSeF settings in Smakład (the token is stored encrypted and is not shown again).
2. Check the connection with *Test connection* — it performs full authentication without sending any invoices.
3. Remember that until it is configured the system runs in **test mode**: it prepares the files but sends nothing. Such invoices can be sent once the connection works. Switching to live sending also requires the Smakład administrator to configure your installation.
4. Regularly review rejected invoices and the incoming invoice inbox.
5. In offline mode, do not switch the mode off before the Ministry of Finance announces the end of the failure.

## Limitations

- QR codes are generated and stored but not yet printed on the invoice PDF.
- The wording "mechanizm podzielonej płatności" (split payment) is not yet added to sales invoices. It applies to invoices above PLN 15,000 gross for goods listed in Annex 15 to the VAT Act — rare in food service; for now such an invoice has to be issued outside Smakład.
- Authentication uses a KSeF token only — no qualified certificate or electronic seal.
- Correction invoices are sent as differences (without "before" lines); check with your accountant that this matches your company's practice.
- Purchase invoices for services and utilities and reverse-charge purchases do not go through goods receipt — they are booked by hand.
- In the "Offline (KSeF unavailable)" mode the deadline is counted from the issue date; during a longer outage the system simply keeps retrying.

## Where in Smakład

- [Finance: invoices, KSeF, invoice for a receipt, advances](https://docs.smaklad.pl/en/guide/finance/)
- [Purchasing and goods receipt](https://docs.smaklad.pl/en/guide/purchasing/)
- [POS till — invoice for a receipt from the sales history](https://docs.smaklad.pl/en/guide/sales-pos/)
- Related: [JPK](https://docs.smaklad.pl/en/compliance/jpk/), [Fiscal printers](https://docs.smaklad.pl/en/compliance/fiscal-printers/)
