# KSeF in Guilder Desk

Guilder Desk builds FA(3) invoices, validates them against the XSD and sends them to KSeF after you confirm, then stores the KSeF number and adds a QR code.

Guilder Desk sends VAT invoices and corrections to KSeF in the FA(3) format: it checks the XML against the XSD schema, sends it once you confirm, and after acceptance stores the KSeF number and puts a QR code on the PDF.

## Dates worth knowing

According to the Polish Ministry of Finance, KSeF is mandatory from 1 February 2026 for taxpayers whose 2024 sales (including VAT) exceeded PLN 200 million, and from 1 April 2026 for everyone else. Until the end of 2026, taxpayers with monthly sales up to PLN 10,000 gross may issue invoices outside KSeF; from 1 January 2027 the obligation covers them too. Receiving invoices in KSeF is mandatory for everyone from 1 February 2026. Check the dates at [ksef.podatki.gov.pl](https://ksef.podatki.gov.pl/), because rules and notices change. This is not tax advice.

## What the app does versus doing it by hand

| Step | By hand | In Guilder Desk |
|---|---|---|
| Building FA(3) XML | your own tool or the MF form | automatic, from the issued invoice |
| Validation | send and read the errors | XSD check at issue time and before every send |
| Sending | log in to the MF application | one button, with confirmation |
| KSeF number and UPO | download and match to the invoice | stored with the invoice |
| QR code on the PDF | a separate generator | added after the invoice is accepted |
| Retries | manual | a job queue with retries, no duplicates |

## How it works

1. You issue a VAT invoice or a correction. At that point the app builds FA(3) and validates it against the XSD. A failure rolls the issue back, so no number is burned.
2. You choose **Send to KSeF** and confirm that the action cannot be undone.
3. A background job sends the invoice and tracks the status: queued, sent, accepted or rejected.
4. After acceptance you get the KSeF number, the stored UPO and a PDF with a QR code.

Sending is idempotent: clicking twice does not send the invoice twice, and an interrupted send resumes where it stopped. A rejection is final, so you fix the data and issue a new invoice.

## Connecting to KSeF

In Settings → KSeF you save a token from the KSeF Taxpayer Application separately for the test, demo and production environments. The token is encrypted (AES-256-GCM) and is never shown in full again. Start with the test environment. See [connecting to KSeF](https://guilder-desk.dev/en/help/ksef/connect-ksef) and [sending to KSeF](https://guilder-desk.dev/en/help/ksef/send-to-ksef).

## Limits

- Invoices accepted by KSeF are fixed with a [correction invoice](https://guilder-desk.dev/en/features/corrections), which needs an accepted original with a KSeF number.
- There are no correction notes: the rules for them were repealed on 1 February 2026.
- The offline24, unavailability and failure modes of KSeF are not supported today. When KSeF is down, follow the Ministry's notices.
- Proformas and bills do not go to KSeF.

For error help see [KSeF errors](https://guilder-desk.dev/en/help/ksef/ksef-errors) and [what is KSeF](https://guilder-desk.dev/en/help/ksef/what-is-ksef).

You can also trigger sending through the [REST API or MCP](https://guilder-desk.dev/en/developers), with the same confirmation requirement.

*Updated 2026-11-15*
