Access Tokens in KSeF 2.0: A Guide for Accountants and ERP Users

Access Tokens in KSeF 2.0: A Guide for Accountants and ERP Users

Fast and secure invoice transmission is critical to a company’s financial liquidity. In the new KSeF 2.0 (National e-Invoicing System), access tokens in KSeF 2.0 serve as digital keys that grant your ERP system entry to the Ministry of Finance’s platform.

Without a valid token, invoices may not be delivered on time, and accounting processes can grind to a halt. This guide explains what KSeF access tokens are, how they benefit accounting departments and ERP users, and how to ensure they remain valid without diving into overly technical details.

What Is an Access Token in KSeF 2.0?

An access token is a digital authorization granted to your ERP system after your company’s identity is verified by KSeF. It ensures:

  • Your system is authorized to send and receive invoices.
  • Every API request is secure and protected from unauthorized access.
  • Token-based access is the simplest and safest way to interact with KSeF.

Without a valid token, it is not possible to exchange invoices or download official confirmations (UPOs).

How to Log In and Create Your First Token

To start using KSeF with an ERP system, you need authorization for your company’s NIP (Tax ID). This is done by submitting a UPL-1 form, either:

Once authorized:

  1. Visit the KSeF web portal: https://ksef.mf.gov.pl/web/login
  2. Log in using your authorized credentials.
  3. In the left-hand menu, go to “Tokens”.
  4. Choose what your token will be used for:
    • Accessing invoices
    • Issuing invoices
    • Managing permissions
  5. Generate the token.

The token will only be shown once. Be sure to copy and save it securely. It will not be displayed again.

Key Benefits of KSeF Tokens

  • Convenience – Once configured, they don’t need updates.
  • Reliability – Avoid downtime from expired permissions.
  • Security – Tokens are tied to specific apps and roles.
  • No Expiry – Tokens remain valid until manually revoked.

FAQs About Tokens in KSeF 2.0

How long is a token valid?
Indefinitely – tokens don’t expire but can be revoked at any time.

Do I need to renew tokens manually?
No, as long as they’re not revoked and remain secure.

Can I check the token status?
Yes, most ERP systems display basic token information (but not the token value itself).

Best Practices for ERP Users and Accounting Teams

  • Verify configuration – Ensure the token was entered correctly into your ERP.
  • Train your team – IT and finance staff should know how to identify and resolve token-related issues.
  • Protect your token – Never share it with unauthorized users or external parties.

Need Help?

If you need assistance configuring or monitoring the KSeF connection in your SAP system, the Haergi team offers:

  • Setup and configuration audits
  • Notification and monitoring tools
  • Training and technical support

Contact: contact@haergi.com
Phone: +48 791 754 999

SEE HOW WE CAN DIGITALIZE YOUR BUSINESS

Let's meet on social media: