← KSeF Guide
Setup & Tokens10 min read

How to connect invoicing software to KSeF with a token

Learn how to create a KSeF token, select permissions, connect software and distinguish token access from certificate authentication.

Contents

Connecting software to KSeF usually requires an authentication method and permissions for the intended company context. A token can make repeated API access convenient, but its permission scope is selected when the token is generated and cannot be expanded inside the invoicing app.

Before connecting the programme

  • Confirm the taxpayer NIP and your authority in that context.
  • Decide whether the app only needs invoice viewing or also issuing.
  • Check that the software supports KSeF 2.0 and your device.
  • Protect the phone or computer where the token will be stored.

Connect using a token

  1. Sign in to the appropriate KSeF environment.
  2. Select the company context for which the token is being created.
  3. Generate and name the token, selecting only the permissions needed.
  4. Copy the token once and add it directly to the trusted app.
  5. Check that the app connects and displays the correct company’s invoices.
  6. If issuing is required, test it in Test or Demo before using production.

Token vs certificate

A token carries a selected scope of KSeF permissions. A type 1 certificate authenticates the person or entity; available actions follow permissions assigned in KSeF. A certificate is not simply a token with a different file format.

If your existing token only allows viewing, create a new token with the issuing permission. Faktino cannot change the scope of an existing token.

Protect and revoke access

Do not transmit a token in ordinary email or chat. If it is exposed or the device is lost, revoke access through KSeF and review permissions. Keep credential labels clear so you can identify the company, app and purpose.

Frequently asked questions

Can I generate a token for another company?

Only if you are authorised to act in that taxpayer’s KSeF context.

Is token generation paid?

KSeF credential management is provided through the official system; check current Ministry guidance for the process.

Can the app provider see my token?

In Faktino, the token is stored locally and is not sent to Faktino servers. Check the storage model of any app you use.

Can a certificate have the same scope as a token?

The methods differ: the token carries selected permissions, while certificate actions depend on permissions assigned in KSeF.

Key takeaways

  • Generate a token in the correct NIP context.
  • Choose the permission scope before generation.
  • A read-only token cannot issue invoices.
  • Certificate actions depend on KSeF permissions.
  • Revoke exposed or unnecessary credentials.

For more practical guidance, visit the KSeF Guide or read the Polish version of this article.

Want to keep KSeF invoices under control?

Faktino helps you review purchase and sales invoices, follow payment status and issue sales invoices on your phone. Data stays on your device.

Get Faktino

Related guides