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:
- The certificate of a sole proprietor (JDG owner) gives the app everything the owner can do, including granting permissions. The app connects in the context of your NIP (Polish tax number), but technically the certificate works wherever you have permissions.
- An accountant's certificate, when the accountant serves several companies, works in the context of each of them (example in Podręcznik KSeF 2.0, part I, chapter 2.5.7). Do not upload it to one client's app.
- A token can be limited to issuing invoices and to one company only. Its weakness is the uncertain status after 2026, described in the article on the KSeF token.
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:
- whether the token, certificate and key are encrypted, and where the encryption key is kept,
- whether the key password is stored or used once,
- in which country the servers are and who has access to them,
- whether the data ever goes back to the browser,
- what happens to the data after you uninstall the app.
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
- Log in to Aplikacja Podatnika KSeF (ap.ksef.mf.gov.pl) in the context of the company NIP.
- Token: in the menu choose "Lista tokenów" (list of tokens), select the app's token and click "Unieważnij" (revoke).
- 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.
- 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
- Which permissions do you need, and what is each one for?
- Token or certificate, and if a certificate, whose?
- Where and how do you store KSeF login data?
- What happens to invoices in the queue when I cut off access?
- 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
- Podręcznik KSeF 2.0, cz. I (06.08.2026) (KSeF manual, part I), chapters 2.5.7, 2.5.9, table 3
- Podręcznik użytkownika Aplikacji Podatnika KSeF 2.0, wersja 2.6 (user manual), chapters 5.5, 5.6, 5.7
- Pytania i odpowiedzi KSeF 2.0, Ministerstwo Finansów (MF FAQ): category "Certyfikaty KSeF", questions 8 and 9; category "Uprawnienia i autoryzacja", questions 22, 29, 39
- Rozporządzenie w sprawie korzystania z KSeF, Dz.U. 2025 poz. 1815 (regulation on using KSeF), § 3 and § 13
- Dokumentacja API KSeF 2.0 (MF, GitHub) (KSeF 2.0 API documentation): permissions required by each operation
- Regulation (EU) 2016/679 (GDPR), Article 28
Legal status as of 23 October 2026.