KSeF Pro M2

KSeF Pro M2

Magento 2v1.0.0

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.

Buy for โ‚ฌ129โ‰ˆ$140.00
Last updated: March 2026Tested up to: Magento 2 2.4.6+Version: 1.0.0License: Single-site, lifetime
KSeF Pro M2 overview

Everything you need for KSeF Pro M2

Feature 1

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
Feature 2

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
Feature 3

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
Feature 4

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
Feature 5

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

โ‰ˆ$140.00one-time

โ‚ฌ130.00

incl. VAT

  • 1 production site license
  • Full source code included
  • 1 year of free updates
  • Email support
Best Value

Multi-store

Up to 5 stores

โ‰ˆ$280.00one-time

โ‚ฌ260.00

incl. VAT

    Enterprise

    Unlimited stores

    โ‰ˆ$560.00one-time

    โ‚ฌ520.00

    incl. VAT

      Screenshots

      PrestaShop Admin โ€” FakturaPL
      ksefpl-magento Connection

      ksefpl-magento Connection

      KSeF API Integration

      Direct KSeF API โ€” no third-party subscription required
      FA(2) XML generation fully compliant with KSeF schema
      XAdES-BES digital signature for MF compliance
      KSeF token authentication (production and test)
      UPO download โ€” official receipt confirmation
      KSeF-ID stored in Magento order extension attributes

      Cron & Session Management

      Magento cron-based session lifecycle management
      Open, submit, close, and terminate KSeF sessions
      Batch invoice submission for high-volume stores
      Cron retry queue with exponential backoff
      Real-time status polling via scheduled cron job
      Session status in Magento admin UI component grid

      Document Generation

      Auto-generate FA(2) XML on Magento order status change
      Per-status submission via Magento events and observers
      Correction FA(2) documents (FK type) on credit memo
      Cancellation requests for cancelled orders
      VAT RR and VAT exempt handling in FA(2) XML

      Magento Architecture

      Native DI โ€” constructor injection, no ObjectManager calls
      Declarative schema โ€” db_schema.xml for submission queue
      Service contracts and repository pattern
      Plugin (interceptor) pattern โ€” no core rewrites
      Extension attributes for KSeF-ID on order entities
      ACL resource definitions for admin permissions
      Adobe Commerce (Cloud) compatible

      Paired Mode & Compliance

      Paired mode with Fakturownia Pro M2 โ€” dual channel: government + customer
      Standalone mode โ€” KSeF only, no Fakturownia needed
      Production and test KSeF environment support
      Full NIP validation before every submission
      Seller NIP and KSeF subject config in Magento system config
      Submission logs with full XML audit trail
      Magento 2.4.6+ | PHP 8.2+ | Adobe Commerce

      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.

      Write a Review

      Frequently Asked Questions

      โ‰ˆ$140.00one-time

      โ‚ฌ130.00 one-time

      incl. VAT

      14-day money-back guarantee
      Instant download after payment
      Full source code included
      12 months of free updates
      12 months email support included

      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.