KSeF Faktury
EN
Join the start list

Free KSeF module for PrestaShop: download and connect

In short: Is there a free KSeF module for PrestaShop? Yes. Ksefshop Invoices version 0.2.1 is a free KSeF module for PrestaShop 1.7.8, 8.x and 9.0: you download the zip from this page at no cost, and invoices reach KSeF (the Polish National e-Invoicing System) in the current FA(3) structure through the KSeF 2.0 API. When PrestaShop issues the invoice for a paid order with a Polish buyer NIP (tax identification number), the module passes the order to the Ksefshop service. The service issues an FA(3) invoice in KSeF under the PrestaShop invoice number and returns the KSeF number and a PDF with a QR code. A credit slip becomes a correction invoice. You can download the module now; you open a service account yourself, no invite code needed. Other options (a paid module from Addons, invoicing software, a module from GitHub) are compared in the table below.

Download the free KSeF module for PrestaShop (.zip) · version 0.2.1 · PrestaShop 1.7.8, 8.x, 9.0 · PHP 7.4 or newer

What the KSeF module for PrestaShop does

PrestaShop on its own issues only a PDF invoice. Since 2026 an invoice for a business is an XML file in the FA(3) structure with a KSeF number, so the store needs an add-on. A wider comparison of modules, invoicing software and integrations is in KSeF for PrestaShop. Our module works like this:

Your KSeF certificate and token are not stored in the shop, only in the Ksefshop service. Ksefshop is an independent service, not affiliated with the Polish Ministry of Finance.

Who the module is for

If you also sell on Allegro or other channels and invoice everything in one program, first read the comparison in online store KSeF integration.

KSeF modules for PrestaShop compared (as of 28.10.2026)

Below are the routes to KSeF for a PrestaShop store that we could check in public sources. This is not a ranking or a recommendation, only a description based on the vendors' own pages. We have not installed other vendors' modules, and features and prices may change. The first row is our module.

Solution Who sends the invoice to KSeF FA(3) and KSeF 2.0 Price model (per vendor) Corrections Source
Ksefshop Invoices 0.2.1 (ours) the Ksefshop service; the module passes the order, the service builds FA(3) and sends it to KSeF with the company's certificate or token yes, FA(3) through the KSeF 2.0 API module free; service in early access, open sign-up yes, a credit slip creates a correction invoice with the KSeF number of the original invoice this page, module manual
KSeF 2.0 - Poland's e-Invoice System Integration (PrestaShop Addons, module 96702) the module itself, in the store KSeF 2.0 in the name and description; listing as of 19.10.2026: version 1.3.11 of 17.04.2026, PrestaShop 1.7.0 to 9.1, token, signed XML or certificate paid licence for one store with a year of support; the price is on the Addons listing yes, correction invoices on returns (per the listing as of 19.10.2026) PrestaShop Addons
Fakturownia, PrestaShop module Fakturownia; the module moves orders into the program, which sends invoices to KSeF manually or automatically KSeF integration in the program; export of invoices to KSeF XML in the FA(3) schema module bought in the PrestaShop Marketplace (current plugin for PrestaShop 1.7.0.0 to 8.1.0) plus a Fakturownia subscription; the KSeF integration is free in every plan the module help does not describe corrections from refunds Fakturownia help: PrestaShop, Fakturownia: KSeF, Fakturownia: apps
iFirma, PrestaShop integration iFirma; checks buyer data in GUS (the national business register) and sends invoices to KSeF automatically per the page, invoices follow the latest structured invoice format up to 100 orders a month in the Faktura+ package at no extra charge, above 100 orders PLN 41.50/month; 30-day trial the integration page does not describe corrections iFirma: PrestaShop integration
inFakt, wFirma (through Base) the invoicing program; Base connects to PrestaShop through the store API, without a module, and passes documents to the program inFakt: all issued invoices go to KSeF; wFirma: the invoice is sent to KSeF straight away according to the integration settings, corrections too Base subscription plus the program's subscription wFirma: corrections sent to KSeF; inFakt: not described Base: PrestaShop and wFirma, inFakt: program do KSeF, wFirma: integracja z KSeF
SoftwarePizza/ksef (GitHub) the module itself, in the store no: the README states FA(2), and the code refers to the FA(2) schema and KSeF 1.0 API addresses (ksef.mf.gov.pl/api) free, described as open source; the repository has no licence file the README does not describe corrections GitHub: SoftwarePizza/ksef

How to read this table:

Requirements

Item Requirement
PrestaShop 1.7.8, 8.x or 9.0 (we tested on 1.7.8, 8.2 and 9.0)
PHP 7.4 or newer, with the cURL extension
PrestaShop invoices enabled (recommended), or Ksefshop numbering when invoices are off
Account an account in the Ksefshop cabinet (early access, open sign-up)
KSeF access your company's KSeF certificate or token; KSeF TEST is enough for testing

Installation in 6 steps

  1. Download the file. Save ksefshop-invoices-prestashop.zip. Do not unzip it.
  2. Upload the module. In the PrestaShop back office go to Modules > Module Manager, click "Upload a module" and choose the zip. The module Ksefshop Invoices appears in the list. Click "Configure".
  3. Create an account and get an API key. In the Ksefshop cabinet you create your company and receive a test key. Details are in the next section.
  4. Connect the module to the service. Enter https://app.ksefshop.pl in "API URL", paste the sk_test_... key in "API key" and click "Save".
  5. Test the connection to KSeF TEST. Click "Test connection". The module shows the KSeF environment, the seller and whether the KSeF login works.
  6. Place a test order. Order something with a Polish NIP in the invoice address, set the status to "Payment accepted" and check the KSeF block on the order.

Each step is described in more detail below.

How to create an account and get an API key

The Ksefshop cabinet is at app.ksefshop.pl/panel, in Polish and English (switch the language in the menu). You sign in with a link sent by e-mail, without a password.

1. Sign up

Sign-up is open, no invite code is needed:

  1. Open app.ksefshop.pl/panel/signup.
  2. Enter your company "Email address". The partner code field is optional, you can leave it empty.
  3. Click "Send link".

2. Confirm your e-mail address

You receive a link. It works for 15 minutes and only once. No message? Check your spam folder. Open the link and click "Sign in". The cabinet takes you to the company details form.

3. Company details

The "Company details" go on every invoice, so enter them exactly as in CEIDG or KRS (the Polish business registers):

Click "Create company".

4. Test key

Once the company is created, the cabinet shows the "API address" and the "Test key" (it starts with sk_test_). The key is shown only once, copy it right away. If you lose it, create a new one under "Stores and API keys": enter a "Key name", choose the mode "Test (KSeF TEST)" and click "Create key". You can revoke the old key there. A test key sends invoices to KSeF TEST, without legal effect. Click "Next: connect to KSeF".

5. KSeF connection

Under "KSeF connection" you enter the KSeF credentials for the selected store and mode. The page shows the seller NIP, the environment (test or production) and the connection status. You have three options:

After saving, reload the page in a moment. The status should change to "connected". The private key and token are encrypted before they are stored and never go back to the browser. Which permissions to give the app, and which not: KSeF permissions for a store app.

On the cabinet "Dashboard", the "First steps" list shows what is done: company details, KSeF connection, store connected with an API key and first invoice accepted by KSeF.

Configuring the module in PrestaShop

Open Modules > Module Manager > Ksefshop Invoices > "Configure". The "Connection and invoices" section has these fields:

Field What to enter
API URL https://app.ksefshop.pl
API key the sk_test_... key from the cabinet (later sk_live_...); once saved the field may stay empty and the key is kept
Invoice numbers "PrestaShop invoice and credit slip numbers (recommended)": the order goes to KSeF when PrestaShop issues its invoice. "Ksefshop numbers": only when PrestaShop invoices are off; the order goes once it is paid and the service assigns the number
Buyer NIP field "VAT number of the invoice address" (default) or "Identification number (DNI) of the invoice address"
E-mail the KSeF PDF to the buyer "No" by default: the buyer's e-mail is not sent to the service, and the PDF link is in the customer account

Click "Save". The module passes the numbering mode to the service and registers a signed webhook for status updates. Then:

  1. Click "Test connection". A good result is "Connected. KSeF environment: ..." with the seller name and "KSeF login works.". If the module says the KSeF login is not configured yet, go back to "KSeF connection" in the cabinet.
  2. If the page warns that the Polish address form has no NIP field, click "Add NIP to the Polish address form".
  3. Read the other warnings on the configuration page. In PrestaShop's invoice settings, enable invoices, use one prefix for all languages, and if numbering restarts every year, enable "Add current year to invoice number". Why this matters: connect PrestaShop to KSeF.

Optionally the configuration page shows a cron URL with a secret token. Call it every 5 to 15 minutes only if the store has neither back office visits nor webhooks. In normal operation you do not need it.

First test order

  1. Place an order in the store as a business: invoice address in Poland, company name and a valid NIP. On KSeF TEST the invoice has no legal effect, but the NIP must be valid because the module checks its checksum.
  2. In the PrestaShop back office set the order to a status that issues the invoice, for example "Payment accepted".
  3. Open the order. The KSeF block shows the status (for example "Queued for KSeF", then "Accepted by KSeF"), invoice number, KSeF number and a PDF link. Invoices made with a test key are marked TEST. The "Refresh status" button fetches the latest state.
  4. In the Ksefshop cabinet open "Invoices" (app.ksefshop.pl/panel/invoices). You see the number, order, amount, status and KSeF number, and the PDF for accepted invoices.
  5. Also check an order without a NIP: it should not go to KSeF, and the block on the order explains why.

A full list of test scenarios is in KSeF test environment.

What happens on a refund

When you tick generating a credit slip during a partial or full refund, the module sends it to the service. The service issues a correction invoice in KSeF under the credit slip number, referring to the KSeF number of the original invoice. The correction appears on the order and in the customer account like the invoice. A refund without a credit slip does not create a correction. Rules: KSeF correction invoice for returns.

Module limitations

Going to production

After testing you switch the store to production KSeF:

  1. In the cabinet header change "Mode" to "Live".
  2. Under "KSeF connection" upload a certificate or token generated on production KSeF. Credentials from KSeF TEST do not work in production.
  3. Under "Stores and API keys" create a key in "Live" mode (it starts with sk_live_).
  4. In the module configuration paste the new key, click "Save" and "Test connection". The result should show the production KSeF environment.

During early access live mode is not switched on yet: the cabinet shows it as "Live (soon)", and live keys start working once it is enabled.

What data the module sends to the service

Order number, dates, currency, payment method, buyer company name, NIP and address, product names, references, quantities, gross prices and VAT rates, discounts and shipping. The buyer's e-mail only when the PDF e-mail option is on. No customer IDs, phone numbers or IP addresses. Nothing is sent before an API key is saved.

Early access

You can download and install the module now and create your Ksefshop cabinet account yourself at app.ksefshop.pl/panel/signup, no invite code needed. Questions: kontakt@ksefshop.pl.

Download the free KSeF module for PrestaShop (.zip)

Frequently asked questions

How much does the KSeF module for PrestaShop cost?

The module is free. During early access the service is free as well, and testing on KSeF TEST is free with no limit. Paid plans come later; they are described in the pricing section on the home page.

Does the free KSeF module from GitHub support FA(3)?

As of 28.10.2026, no. The SoftwarePizza/ksef module states the FA(2) structure in its README, and its code uses KSeF 1.0 API addresses. Since 1 February 2026 invoices are issued in FA(3) through KSeF 2.0, so such a module needs rework before use. See the comparison table above.

Is the module on PrestaShop Addons?

Not yet. We are preparing it for the PrestaShop Addons catalogue. Until then you download the zip from this page and upload it through the module manager.

Does the module issue invoices to consumers?

No. Only orders with a valid Polish NIP in the invoice address go to KSeF. Invoices for consumers can be issued outside KSeF: KSeF invoices for consumers.

Will the customer get two invoices?

No. The invoice in KSeF carries the PrestaShop invoice number, so it is the same document.

Does it work with multistore?

Yes. Each shop connects to the Ksefshop cabinet with its own API key.

What does uninstalling remove?

The module's table and settings in the shop. Invoices sent to KSeF stay in KSeF and in your Ksefshop account.

This article is general information and not tax advice.

Sources

As of 28 October 2026.

KSeF Faktury

Join the launch list

We will write once, on launch day in the Shopify App Store (December 2026), and help you set up.