KSeF Faktury
EN
Join the start list

KSeF permissions for a store app: the minimum to grant

In short: when you connect a store to KSeF, an app that issues invoices needs the permission to issue invoices, and the permission to view invoices only if it downloads or checks them. A KSeF token contains only the permissions you tick when generating it. A KSeF certificate works with the full permissions (uprawnienia) of the person who generated it, so it matters whose certificate you upload to the app.

KSeF integration: which permissions a store app needs

The regulation on using KSeF provides for several kinds of permissions, including permissions to grant and remove permissions and to issue or access invoices (§ 3(1) of the regulation, Dz.U. 2025 poz. 1815). In Aplikacja Podatnika KSeF (the Ministry of Finance's taxpayer app) you see them as separate fields: issuing invoices, viewing invoices, viewing permissions, managing permissions, managing subordinate units and viewing session history.

The KSeF 2.0 API documentation lists, for each operation, which permission it requires. For a store app it looks like this:

What the app does Permission needed
Sends an invoice or a correction to KSeF Issuing invoices
Checks sending status, reads the KSeF number, downloads the UPO (official receipt) Issuing invoices
Downloads an invoice from KSeF, for example to compare it with its own copy Viewing invoices
Downloads purchase invoices Viewing invoices
Grants permissions to other people Managing permissions (not needed by a store app)

So the minimum for an app that only issues invoices is issuing invoices. Viewing invoices gives access to all of the company's invoices, including purchase invoices. Grant it only if the vendor explains why they need it. Never give managing permissions to a store app.

Certificate or token for the app

This is the most important difference when connecting an app. The MF manual says it directly: a token contains the permissions declared when it was generated, while a KSeF certificate does not carry permissions; it is only a means of authentication, similar to a qualified signature (Podręcznik KSeF 2.0, part I, chapter 2.5.9 and table 3).

Feature KSeF token KSeF certificate
Scope of permissions Only those ticked when generating All permissions of the person who holds it
Contexts (company NIPs) Only the one it was generated in Every context where the person has permissions
Validity Today until revoked; MF is considering 1-365 days Up to 2 years
Status after 2026 MF says it stays; the regulation still says 31.12.2026 No change
Revoking "Lista tokenów" -> "Unieważnij" "Lista certyfikatów" -> "Unieważnij"

What this means in practice:

If you want to use a certificate with a narrow scope, there is a third way: grant a person, for example an employee, only the permission to issue invoices in your NIP. That person generates their own certificate, and the app works within that person's permissions. How to grant a permission is described in the article KSeF permissions for your accountant. Remember that a certificate issued to an individual is that person's personal credential (MF FAQ, category "Certyfikaty KSeF", question 8), while a certificate issued to a company may be given by the company to selected employees, and the company is responsible for it (MF FAQ, category "Certyfikaty KSeF", question 9).

To connect an app you need a certificate with the purpose "Uwierzytelnienie w systemie KSeF" (authentication in KSeF). The second kind, "Podpis linku weryfikacyjnego wystawcy" (signing the issuer verification link), is needed for the QR code on offline invoices. Instructions: how to generate a KSeF certificate.

Where the vendor keeps your token or certificate

Whoever has a token, or a certificate with its private key and password, can act in KSeF in your name. Before you upload anything, find out:

What to do with integration keys when an invoicing vendor is breached, using the 2026 Fakturownia incident as an example: Fakturownia breach and store API keys.

Buyer data on invoices is personal data under the GDPR (RODO in Polish). The app vendor processes it on your behalf, so it should act as a processor under a contract (Article 28 GDPR).

An example from our own product: in KSeF Faktury for Shopify, we store the certificate or token encrypted with AES-256 on servers in the EU, we do not store the key password, and when you connect with a token we ask you to tick issuing and viewing invoices (we use viewing to check an invoice when a duplicate number is suspected). Details on the Security page.

How to disconnect an app in a minute

  1. Log in to Aplikacja Podatnika KSeF (ap.ksef.mf.gov.pl) in the context of the company NIP.
  2. Token: in the menu choose "Lista tokenów" (list of tokens), select the app's token and click "Unieważnij" (revoke).
  3. Certificate: in the menu choose "Lista certyfikatów" (list of certificates), select the certificate, click "Unieważnij", choose a reason and confirm. You can only revoke your own certificate, so it must be done by the person it was issued to.
  4. Permissions of the person whose certificate the app uses: "Zarządzaj uprawnieniami" (manage permissions) -> "Odbierz uprawnienie" (remove permission).

Note: removing permissions does not revoke either a token or a certificate (Podręcznik KSeF 2.0, part I, table 3). A token works again when the permissions come back. To be sure, revoke the token or certificate itself.

Questions to ask the vendor before connecting

  1. Which permissions do you need, and what is each one for?
  2. Token or certificate, and if a certificate, whose?
  3. Where and how do you store KSeF login data?
  4. What happens to invoices in the queue when I cut off access?
  5. Will you sign a data processing agreement?

Frequently asked questions

Does a store app need the permission to manage permissions?

No. To issue invoices, the permission to issue invoices is enough.

Can I have a separate token for each app?

Yes. There is no limit on the number of tokens, and you can name and revoke each one separately (Podręcznik KSeF 2.0, part I, table 3).

Does changing the scope of permissions revoke a certificate?

No. The certificate stays valid, but it works only within the permissions the person has at that moment.

This article is general information and is not tax advice.

Sources

Legal status as of 23 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.