
Tax and Compliance
How to Register for KSeF: Step-by-Step Setup Guide for Polish Businesses
•Updated: •
9 min read
Tax & Compliance Series
This guide is part of a comprehensive series. Explore all 202 topics:
Registering for Poland's KSeF requires a valid NIP, authentication via Profil Zaufany or qualified electronic seal, and API configuration for automated invoice submission. The process takes 2-5 business days depending on your chosen authentication method, and the Ministry of Finance provides a full sandbox environment for testing before going live.
What Do You Need Before Registering for KSeF?
Active NIP: Your company's 10-digit Polish tax identification number, registered and active with the tax office REGON number: Your statistical identification number from GUS
Before starting KSeF registration, ensure you have:- Active NIP: Your company's 10-digit Polish tax identification number, registered and active with the tax office
- REGON number: Your statistical identification number from GUS
- KRS/CEIDG registration: Current company registration matching your legal name and address
- Authentication method: At least one of: Profil Zaufany, qualified electronic seal, or qualified electronic signature
- Invoicing software: A system capable of generating FA(2) XML and connecting to the KSeF API
How to Register for KSeF: Step-by-Step
Step 1: Access the KSeF Portal
Navigate to podatki.gov.pl/ksef and select "Rejestracja" (Registration). You'll need to authenticate as a person authorized to represent the company.Step 2: Choose Your Authentication Method
KSeF supports three authentication methods:- Profil Zaufany (Trusted Profile): Free government-issued digital identity. Most common for sole traders and small businesses. Set up at pz.gov.pl.
- Kwalifikowany podpis elektroniczny (Qualified Electronic Signature): A paid certificate from an accredited provider (e.g., Certum, KIR). Required for larger enterprises.
- Kwalifikowana pieczęć elektroniczna (Qualified Electronic Seal): A company-level certificate for automated, machine-to-machine invoice submission. Ideal for high-volume businesses.
Step 3: Configure API Access
For automated invoice submission, generate KSeF API tokens:- Log into the KSeF portal with your chosen credential
- Navigate to "Zarządzanie tokenami" (Token Management)
- Generate a new API token with appropriate permissions (send, receive, or both)
- Securely store the token — it cannot be retrieved after initial display
Step 4: Authorize Representatives
If accountants or other staff need KSeF access, configure authorizations:- Primary representative: Full access to send, receive, and manage tokens
- Secondary representatives: Limited access as defined by the primary representative
- Software providers: Specific API-level authorization for automated systems
Step 5: Test in the KSeF Sandbox
The Ministry provides a test environment at ksef-test.mf.gov.pl:- Register separately in the sandbox (it's independent from production)
- Submit test invoices in FA(2) format
- Verify KSeF numbers are assigned correctly
- Test error handling for rejected invoices
- Validate that your software correctly processes KSeF responses
Step 6: Go Live
Once sandbox testing is successful:- Switch your invoicing software to the production KSeF API endpoint
- Submit your first production invoice
- Verify the KSeF number appears and the invoice is visible to the buyer
- Monitor the KSeF dashboard for any submission errors
How Does Invoicemonk Simplify KSeF Registration?
Invoicemonk handles KSeF API integration out of the box. Simply enter your NIP and API token, and our system manages FA(2) generation, submission, status tracking, and error handling automatically. Our compliance dashboard shows real-time KSeF submission status for every invoice.More in this series (202 articles)
From this series
Stay audit-ready and compliant with tax regulations across different regions.
Related Topics
OO
Olayinka Olayokun
Digital Marketing, SEO Specialist, Content Creator & Product Professional
CIM Certified
MBA in Digital Marketing and Business Transformation
Olayinka is a digital marketer, content creator, growth and SEO specialist with 10+ years helping businesses in Nigeria, the UK, the US, Australia, and Dubai achieve their goals online.




