KSeF and qualified signature. Your technical key for ERP Integration and automatic e-invoice sending
The revolution in Polish accounting is just around the corner. From February 1, 2026. obligation The use of the National e-Invoice System (KSeF) will cover the largest companies, and from April 1, 2026. All other taxpayers.
Many are wondering „how does it actually work from behind the scenes?”. Today we're getting into the technical details. We will explain why your system ERP (enterprise resource management system) needs „digital ID card”, i.e. qualified signature QES, to even begin a conversation with the Ministry of Finance's system.
Step 1: Digital identity, or why is a qualified signature essential?
Before your accounting system sends the first invoice, you must „introduce yourself” to KSeF. This is the most important technical requirement to get started. The system needs to be sure that it is your company, and not someone impersonating it, that you want to grant authorizations or send documents.
Specific methods are used for authentication in KSeF:
- Qualified Electronic Signature (QES) - For individuals (e.g., sole proprietors or representatives of companies).
- Qualified Electronic Seal (QSeal) - For entities that are not individuals (e.g., limited liability companies, foundations).
- Trusted signature - A free alternative for individuals, available through the National Node, among others.
Why a qualified signature? Although the Trusted Signature is sufficient for manual logins, in business it is the following that counts automation. A qualified signature or stamp is necessary to generate a so-called "seal". tokens or KSeF Certificates, which are the „fuel” for your ERP system. Without them, your accounting program will not connect to KSeF automatically.
AUTHENTICATION METHOD IN KSeF | PHYSICAL PERSON | ENTITY THAT IS NOT A NATURAL PERSON (PNF) |
Trusted Signature /. National hub (as of April 1, 2026). | YES | NO |
Qualified signature | YES | NO |
Qualified Electronic Seal | NO | YES |
Token (until December 31, 2026). | YES | YES |
Certificate KSeF | YES | YES |
Step 2: ERP integration with KSeF - how does it work?
Integration is nothing more than connecting your sales system to the Ministry of Finance system by means of a API (application programming interface). This allows invoices to send themselves „by themselves” in the background, without having to manually log into the government website.
For this magic to work, you need to perform a one-time setup:
- Authenticate yourself in KSeF as a taxpayer (using a qualified signature or seal).
- Generate Token or Certificate:
- Token, is a string of characters (digital key), which you paste in the settings of your ERP. Important: tokens will only be supported until the end of 2026.
- Certificate KSeF is a state-of-the-art solution that replaces tokens as the target authorization method for systems as of November 1, 2025. The certificate can be used for both login (type 1) and offline emergency invoice signing (type 2).
Step 3: How to send an e-Invoice via KSeF? (technical process)
Sending an e-invoice is a process that happens in a fraction of a second in an integrated system, but it's worth knowing what's going on „under the hood.”
- Generate an XML file.
- Your ERP system creates an invoice in the format XML. This is not a PDF file! It's structured text file compatible with logical structure FA(3). It must contain all mandatory fields, such as NIP of the seller and buyer.
- Verification
- Before sending, the system checks that the XML file does not contain technical errors (e.g., that the issue date in the P_1 field is not a future date - which would cause rejection).
- Shipping (Interactive or Batch Session):
- Interactive Session - For fast shipping of individual invoices.
- Batch Session - Ideal for large companies. Allows you to send a package (ZIP) containing up to 10,000 invoices at once.
- Assignment of KSeF Number and UPO
- When an invoice is accepted, the KSeF system assigns a unique identification number to the invoice and generates a UPO (Official Certificate of Receipt). This is the point at which the invoice is considered to have been issued and delivered to the contractor.
Who will KSeF cover and from when?
The obligation enters in stages:
- As of February 1, 2026. - entrepreneurs, whose Gross sales value in 2024 exceeded PLN 200 million, they must exhibit KSeF invoices. As of this date All VAT payers (including exempt) must be ready answer invoices via KSeF. (Gov.pl)
- As of April 1, 2026. – other entrepreneurs must exhibit invoices in KSeF. (Gov.pl)
- As of January 1, 2027. - There is a provision for a shift for the smallest entities (sales of up to about PLN 10,000 - announcement on KSeF). (National e-Invoicing System)
Until these dates, KSeF can be used voluntarily. The key is to prepare the system, people and authorizations so that the launch does not surprise the company.
Important! Invoices for consumers (B2C) remain outside the obligation to issue in KSeF (you can voluntarily), but if you conduct B2B sales - the obligation will cover you according to the thresholds/dates. Foreign entities without a permanent place of business in Poland are excluded from mandatory issuance. (Interpretations)
What if the system doesn't work?
Technology can be unreliable, so the KSeF provides for a mode of OFFLINE. If you don't have access to the network, you can issue an invoice in your system, stamp it with a special QR code (you need a KSeF Type 2 Certificate for this!) and send it to KSeF later - usually the next business day.
Is it worth investing in a qualified signature and a qualified electronic seal and integration?
Definitely yes! Although the Ministry provides a free „Taxpayer Application KSeF”, it is mainly designed for the smallest companies issuing a few invoices per month. For medium and large business, manual transcription of invoices is a waste of time and a risk of errors.
Qualified Signature (QES) i Electronic Stamp (QSeal) are the foundations that allow your ERP system to operate automatically, securely and legally.
Do you want to prepare your company for KSeF? We invite you to cooperate with us. We will answer your concerns related to cider services.
On podpisano.pl you will find the necessary digital trust tools that will open the door to digital accounting.
The article is based on Handbook KSeF 2.0 (MF, September 2025) and information from ksef.podatki.gov.pl.