KSeF and BaseLinker: sending invoices automatically
In short: Base, formerly BaseLinker, has a built-in integration with KSeF (the Polish National e-Invoicing System), often searched for as "BaseLinker KSeF", available at no extra cost within the subscription. Invoices issued in Base can go to KSeF automatically, and the KSeF number and QR code come back onto the invoice. The most important rule: only one tool sends invoices to KSeF, otherwise the customer gets two invoices for the same order.
All information about Base's features comes from its public help pages, checked on 19 October 2026. We are not a Base partner and do not offer an integration with this system. Base's interface is described below with the Polish labels you will see in the panel, with an English explanation.
How BaseLinker sends invoices to KSeF
Base collects orders from many channels (stores, marketplaces) and issues invoices in its sales documents module. The KSeF integration sends these invoices to the Ministry of Finance system. According to Base's help:
- cost: the integration is available at no extra charge,
- document types: regular invoices and correction invoices; advance, final and VAT margin invoices are announced by Base as "coming soon",
- scope: only documents issued in Base are sent; the integration does not download purchase invoices or invoices from other programs,
- several companies: one account can have several KSeF integrations, each with a different NIP (Polish tax identification number) and separate number series,
- environments: test, pre-production and production.
Once KSeF accepts the invoice, Base adds the KSeF number, QR code, processing date and status to the printout.
Setting up BaseLinker KSeF step by step
- Generate a token in the taxpayer app, Aplikacja Podatnika KSeF, for the production environment. Base recommends ticking only the permission to issue invoices. The token is shown only once, so copy it straight away. Each environment needs a separate token. How to do it: KSeF token.
- Add the integration in Base: go to "Integracje" (Integrations), type "KSeF" in the search box, click the logo.
- Fill in the details: API key (the token), company NIP, environment.
- Set up document transfer. The most important options:
- "Przekazuj faktury automatycznie" (send invoices automatically): TAK (yes) means sending right after the invoice is created,
- "Przekazuj faktury bez NIP nabywcy" (send invoices without a buyer NIP): decides whether invoices for consumers also go to KSeF (for consumers it is voluntary, art. 106ga(2) point 4 of the VAT Act),
- "Traktuj stawkę VAT 0% jako" (treat the 0% VAT rate as): intra-EU supply of goods (WDT) or export of goods,
- the "Serie numeracji" (number series) tab: which series should go to KSeF.
- Add a certificate for offline mode (serial number, private key, password). Base needs it to put the QR code on invoices sent with a delay. This is what the offline type KSeF certificate is for, generated in Aplikacja Podatnika KSeF separately from the login certificate.
A note on the option "Dodaj prefiks VAT dla sprzedawcy" (add a VAT prefix for the seller). In the FA(3) structure, the seller's NIP is entered without "PL", and the prefix goes in a separate field only in some EU transactions, e.g. intra-EU supply (WDT) (FA(3) information brochure, Ministry of Finance). In normal domestic sales you do not need this option. If in doubt, ask your accountant or Base support.
Automatic actions
The KSeF integration by itself sends invoices that already exist. For invoices to be created without your involvement, you need an automatic action in Base. Example from Base's help:
| Action element | Setting |
|---|---|
| Event | "Ustawiono status: Spakowane" (status set: Packed), or another status in your process |
| Condition | "NIP: Podano numer NIP" (a NIP number was given) |
| Action | "Wystaw fakturę" (issue invoice) in a chosen number series |
A second action with the condition "no NIP" can issue a receipt or an invoice in a different series. Together with "Przekazuj faktury automatycznie: TAK" this gives full automation: a business order changes status, Base issues the invoice, and the integration sends it to KSeF.
What to watch out for when choosing the event:
- issue date: an online invoice is issued on the day it is sent to KSeF (art. 106na(1)); if in your store the customer pays upfront, issuing at packing instead of at payment may matter for deadlines (art. 106i), agree this with your accountant,
- statuses in KSeF: sending is asynchronous; an invoice without a response has the status "W przetwarzaniu" (processing), Base checks it every 60 minutes and changes it to "Zaakceptowana" (accepted) with the KSeF number,
- rejection: if KSeF rejects the invoice, Base clears its link to KSeF so it can be corrected and sent again,
- do not resend manually an invoice that is "W przetwarzaniu"; Base warns that this can end in a duplicate error.
Base also lets you send outstanding invoices in bulk, up to 12 months back (the "Eksportuj dokumenty" (export documents) tab), but it has no action that sends invoices at a set time: it recommends sending as you go because of KSeF limits.
When BaseLinker, when a platform app
| Situation | Sensible choice |
|---|---|
| You sell on Allegro, in your store and on other marketplaces, and already handle orders in Base | KSeF integration in Base |
| Your accounting runs in external software (e.g. iFirma, ERP) to which Base passes invoices | sending to KSeF only from that software |
| You have one store on one platform and do not use Base | the platform's KSeF app or invoicing software |
| You need to download purchase invoices | a separate tool, because Base does not download them |
The second row comes straight from Base's help: if you use an external accounting system, handle sending to KSeF only there. More on the architecture in online store KSeF integration, and on Allegro in KSeF and Allegro.
If Base passes invoices to Allegro orders (the "Faktura - przekazywanie" option in the Allegro integration settings, Base blog, 1.09.2026), check that the order receives the invoice already carrying the KSeF number and QR code. Base's help does not describe this order of steps (as of 27.10.2026). How Apilo, Sellasist, iFirma, Fakturownia and Bizin handle it is in the tools table in KSeF and Allegro.
Example for Shopify: a Shopify store that also sells on Allegro, with orders in Base, will usually issue all invoices in Base. A store only on Shopify, without Base, can use an app from the Shopify App Store, such as our KSeF Faktury. Overview of options: does Shopify support KSeF. Stores on other platforms are covered in KSeF for WooCommerce and KSeF for PrestaShop.
The risk of duplicate invoices
This is the most common problem when combining tools. Scenario: an order from Shopify reaches Base, Base issues invoice FV/BL/11/2026/15 and sends it to KSeF. At the same time a KSeF app in Shopify issues invoice FV/2026/11/42 for the same order.
KSeF rejects duplicates only when the seller's NIP, the invoice type and the invoice number all match (KSeF 2.0 manual, part II, chapter 3.4). Two invoices with different numbers will both go through. The buyer has two invoices in KSeF, and every accepted invoice is a document that cannot be deleted: one has to be corrected to zero (Ministry of Finance FAQ, category "Wystawianie i otrzymywanie faktur", question 18). A duplicate can also come from a single tool when an automatic action reacts to a status and the order enters it twice: duplicate KSeF invoices from order status changes.
How to protect yourself:
- choose one tool to send invoices to KSeF for each sales channel,
- in the other tool, turn off automatic invoicing or exclude orders from that channel,
- use separate number series in every tool that issues anything,
- after the first day of work, compare the list of sales invoices in Aplikacja Podatnika KSeF with your orders.
FAQ
Does Base download purchase invoices from KSeF?
No. Base's help says plainly that this is not possible and will not be.
Do invoices for private individuals from Base have to go to KSeF?
They do not. In the integration you can turn off sending invoices without a buyer NIP, or put them in a series that is not sent.
Is it better to give Base a token or a certificate?
The Base integration uses a token in production. The Ministry of Finance has announced that token login will stay after 2026 (Ministry of Finance FAQ, category "Uprawnienia i autoryzacja", question 39), but the regulation (§ 13) still says 31 December 2026 and had not been changed as of 19 October 2026, and the Ministry consulted a token validity of 1 to 365 days. Follow announcements from the Ministry and Base before the end of the year.
What if KSeF is down?
Base recognises an invoice sent later than its issue date as an offline invoice and can retry sending. The deadlines for sending depend on the mode: in offline24 it is the next working day after issue, during announced unavailability the next working day after it ends, and during an outage announced by the Ministry 7 working days from its end.
This article is general information and is not tax advice.
Sources
- Base: Jak zintegrować Krajowy System e-Faktur (KSeF) w Base? (help, checked 19.10.2026)
- Base: Wystawianie dokumentów, przykłady automatycznych akcji (help)
- Base: integracja KSeF
- Pytania i odpowiedzi KSeF 2.0 (KSeF 2.0 questions and answers), Ministry of Finance: category "Wystawianie i otrzymywanie faktur", question 18; category "Uprawnienia i autoryzacja", question 39
- Pliki do pobrania KSeF 2.0 (KSeF 2.0 downloads): KSeF 2.0 manual part II (06.08.2026), chapter 3.4; FA(3) information brochure
- Ministry of Finance regulation on using KSeF, Dz.U. 2025 poz. 1815: § 13
- Act on goods and services tax (VAT Act), consolidated text Dz.U. 2026 poz. 1263: art. 106ga(2) point 4, art. 106i, art. 106na(1)
Legal status as of 23 October 2026.