KSeF Pro M2
Direct KSeF integration for Magento 2. Built with native Magento DI, declarative schema, and service contracts. Generates FA(2) XML invoices, applies XAdES-BES digital signatures, manages KSeF sessions via Magento cron, and downloads UPO confirmations. Adobe Commerce compatible.

Everything you need for KSeF Pro M2
Direct KSeF API โ No Subscription Required
Connect straight to the Polish Ministry of Finance's KSeF API from Magento. No Fakturownia account or third-party service required in standalone mode. Authenticate with your MF-issued KSeF token via Magento system config.
- Authenticates with KSeF using your MF-issued token via system config
- Supports production (prod.ksef.gov.pl) and test (ksef-demo.mf.gov.pl)
- No third-party invoicing subscription required
- One-time purchase โ unlimited KSeF submissions
- Credentials stored encrypted in Magento config โ never in logs
Native Magento Architecture
Every Magento best practice applied. Native DI, declarative schema for the submission queue table, service contracts for data access, extension attributes for KSeF-ID on order entities, and the plugin pattern throughout โ zero core rewrites.
- Native DI โ constructor injection, no ObjectManager::getInstance()
- Declarative schema โ db_schema.xml for KSeF submission queue
- Extension attributes on order and invoice entities for KSeF-ID
- Service contracts and repository interfaces for queue data access
- Plugin (interceptor) pattern โ no core class rewrites
Cron-Based Retry Queue
KSeF submissions are processed via a dedicated Magento cron job. Failed calls are stored in a declarative-schema queue table and retried automatically with exponential backoff. Configurable retry limit. No lost invoices from transient KSeF API errors or outages.
- Dedicated Magento cron job for KSeF session lifecycle
- Failed submissions stored in db_schema.xml queue table
- Exponential backoff prevents API flood during KSeF outages
- Configurable maximum retry attempts
- Queue status visible in Magento admin UI component grid
FA(2) XML Generation & XAdES-BES Signing
Generates fully compliant FA(2) XML invoices from Magento order data and signs them with XAdES-BES digital signatures before KSeF submission. Correction FA(2) documents (FK type) generated automatically on Magento credit memo creation.
- FA(2) XML schema compliance โ validated against MF's official XSD
- XAdES-BES digital signature applied automatically
- Correction FA(2) (FK type) triggered by Magento credit memo
- All mandatory FA(2) fields mapped from Magento order and invoice entities
- VAT RR (Reverse Charge) and VAT exempt annotations in XML
Paired Mode with Fakturownia Pro M2
Use KSeF Pro alongside Fakturownia Pro for Magento for the complete invoicing workflow. One Magento order status change triggers both: KSeF Pro submits the FA(2) XML to the government portal, Fakturownia Pro creates the PDF invoice for the customer.
- Shared observer configuration with Fakturownia Pro M2
- One status change: FA(2) to KSeF + PDF invoice to customer
- KSeF-ID written to the Fakturownia invoice extension attribute
- Single system config section for both modules when paired
- Standalone mode โ KSeF only, no Fakturownia account needed
Choose Your License
All tiers include full source code, free updates for 1 year, and email support.
Single
1 production store
โฌ130.00
incl. VAT
- 1 production site license
- Full source code included
- 1 year of free updates
- Email support
Multi-store
Up to 5 stores
โฌ260.00
incl. VAT
Enterprise
Unlimited stores
โฌ520.00
incl. VAT
Screenshots

ksefpl-magento Connection
KSeF API Integration
Cron & Session Management
Document Generation
Magento Architecture
Paired Mode & Compliance
What's Included
Module ZIP
Ready to install, no build steps
Full Source Code
No obfuscation, no license server
6 Languages
PL, EN, DE, FR, ES, IT
Upgrade Script
Smooth updates to future versions
Email Support
Direct from the developer
Documentation
Installation, config, troubleshooting
Customer Reviews
No reviews yet. Be the first to review this product.
Frequently Asked Questions
โฌ130.00 one-time
incl. VAT
After 12 months, renew updates & support for EUR 52/year.
Magento 2.4.6+ | PHP 8.2+ | Adobe Commerce
VAT rate depends on your country. Final amount shown at checkout.
โฌ130.00 one-time
incl. VAT
After 12 months, renew updates & support for EUR 52/year.
Magento 2.4.6+ | PHP 8.2+ | Adobe Commerce
VAT rate depends on your country. Final amount shown at checkout.