
FakturFlow – Faktury KSeF (E-Invoicing for KSeF)
v0.4.0SYMONOV · 2026年7月11日 上架
KSeF invoices (faktury KSeF) from WooCommerce orders: FA(3) e-invoices, corrections, PDF with QR, NIP field. No middlemen, no per-invoice fees.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 543
- 最近更新
- 2026年11月25日
贡献者
截图





KSeF (Krajowy System e-Faktur) is Poland’s national e-invoicing system. Issuing structured invoices in it has been mandatory for large taxpayers since 1 February 2026 and for all other businesses since 1 April 2026. The last group — the smallest sellers, invoicing up to 10 000 zł gross a month — joins on 1 January 2027. If you sell to businesses through WooCommerce, your invoices have to go through KSeF.
FakturFlow sends faktury KSeF (e-faktury in the FA(3) format) straight from the WooCommerce order screen — faktura VAT, faktura korygująca, UPO and a PDF for the buyer, without an accounting subscription.
FakturFlow is a standalone plugin: it talks directly to the official Ministry of Finance API 2.0. No external accounting system, no intermediary, no per-invoice fees. Generate, validate and submit a FA(3) structured invoice straight from the order screen — one click per step.
Po polsku: FakturFlow to wtyczka KSeF dla WooCommerce. Wystawia faktury KSeF (e-faktury FA(3)) prosto z zamówienia i wysyła je bezpośrednio do Krajowego Systemu e-Faktur przez oficjalne API 2.0 Ministerstwa Finansów — bez pośredników, bez abonamentu i bez opłat za fakturę. Faktury korygujące ze zwrotów, UPO, PDF z kodem QR dla nabywcy, pole NIP w zamówieniu, faktury dla konsumentów, mechanizm podzielonej płatności. Interfejs wtyczki jest w całości po polsku.
Features
- Generate FA(3) structured invoice XML from any WooCommerce order.
- Validate against the official Ministry of Finance schema before sending.
- Submit to KSeF (test, demo and production environments) using the official API 2.0.
- Track submission status and download the UPO (Urzędowe Poświadczenie Odbioru — official proof of receipt).
- KOD I verification QR code, generated per the official Ministry of Finance specification.
- NIP field at checkout (classic and block checkout) with checksum validation — orders with a NIP are detected as B2B automatically.
- Correction invoices (faktury korygujące) from refunds — every refund gets its own KOR document referencing the original invoice by KSeF number; generate, send and download its UPO from the order screen.
- Invoice PDF for the buyer, built from the invoice exactly as KSeF holds it, with the KOD I code — attached to the order emails and downloadable from My Account (signed links for guests).
- Consumer (B2C) invoices through KSeF, if you want them: off, on request (“I want an invoice” checkbox at checkout) or for every order.
- Payment terms on the invoice: paid date or due date, payment method and your bank account.
- Split payment (mechanizm podzielonej płatności) marked automatically for annex 15 goods on B2B invoices above 15 000 zł.
- Seller address and bank account in the plugin settings, independent of the WooCommerce store address.
- Two ways to log in to KSeF: a KSeF token or a KSeF certificate (signed login, XAdES). Both are stored encrypted at rest and never logged; the certificate’s private key never leaves your server.
- HPOS (custom order tables) and checkout-blocks compatible.
- For VAT-exempt sellers (zwolnienie z VAT, e.g. art. 113): the legal basis of the exemption is printed on the invoice.
- Buyer NIP can be added or corrected on the order screen — for phone orders and typos.
- Plain-language errors: a rejected token, a duplicate invoice, a missing address or an invalid NIP are explained on the order instead of a raw schema message.
- Interface in Polish, Ukrainian and Russian (plus English).
Why FakturFlow?
- Direct connection, no middlemen. Most KSeF options for WooCommerce route your invoices through an external accounting SaaS or a vendor’s cloud. FakturFlow talks straight to the Ministry of Finance API — your invoice data never touches a third-party server.
- Free means free. No invoice limits, no per-invoice fees, no monthly subscription for the core flow. Invoicing services usually cap their free tier at a handful of invoices a month and charge monthly above it; here the full manual flow costs nothing, forever.
- One plugin, not a plugin + paid add-on. You don’t need a separate invoicing plugin as a base — KSeF is not a bolt-on here, it’s what this plugin is built around: FA(3) with local XSD validation, UPO, the KOD I verification QR, and corrections.
- Built for modern WooCommerce. HPOS, checkout blocks, a checksum-validated NIP field in both checkout variants.
- Private by design. Encrypted token and certificate storage, zero telemetry — the only server your store talks to is the Ministry’s.
Who it’s for
Any WooCommerce store that invoices Polish businesses and must comply with the KSeF mandate — without a SaaS subscription, without per-invoice fees, and without needing a separate accounting package. Consumer (B2C) invoices are optional in KSeF: by default consumer orders flow through the normal checkout untouched, and you can switch KSeF invoices for consumers on when you want them.
FakturFlow Pro (separate add-on)
When invoice volume grows, FakturFlow Pro automates the whole flow: automatic submission when an order is paid (with retries and backoff), automatic correction invoices from refunds, an offline24 mode that keeps issuing invoices when KSeF is unreachable and delivers them within the statutory deadline, and a compliance dashboard with a full audit log and CSV export. This Free plugin always covers manual generate/validate/send, corrections, UPO, the NIP field and the QR code — no functionality is ever removed to push the paid tier.
Third-party libraries
This plugin ships the following open-source runtime libraries, all GPL-compatible. They are bundled under the plugin’s own PHP namespace (FakturFlow\Vendor\), so they never clash with the same libraries bundled by other plugins:
- phpseclib/phpseclib 3.x (MIT) — RSA-OAEP-SHA256, required for the KSeF session-key handshake (PHP’s own openssl extension cannot do OAEP with SHA-256).
- chillerlan/php-qrcode (MIT) — pure-PHP QR code rendering for the KOD I verification code (no GD/Imagick requirement).
- dompdf/dompdf (LGPL-2.1) with dompdf/php-font-lib and dompdf/php-svg-lib (LGPL) — PDF rendering of the invoice for the buyer, with the bundled DejaVu Sans font (free license) for Polish characters.
- masterminds/html5 and sabberworm/php-css-parser (MIT) — dependencies of dompdf.
- paragonie/constant_time_encoding and paragonie/random_compat (MIT) — dependencies of phpseclib.
External services
This plugin connects to KSeF (Krajowy System e-Faktur), the official structured e-invoicing API of the Polish Ministry of Finance. It is required for the plugin’s core purpose: submitting structured invoices, checking their status and downloading UPO confirmations.
- What is sent: invoice data derived from the WooCommerce order (seller NIP, name and address, buyer NIP — or none for consumers — name and address, line items, amounts, VAT, payment terms and your bank account if set), and, to log in, your KSeF authentication token (encrypted for KSeF) or a login request signed with your certificate — the signed request contains the public certificate, never the private key. Data is sent only when you explicitly send an invoice or refresh its status from the order screen, or click Test connection in the settings (or when a Pro add-on triggers the same documented actions).
- Where it is sent, depending on the environment chosen in settings:
https://api.ksef.mf.gov.pl(production),https://api-demo.ksef.mf.gov.pl(demo),https://api-test.ksef.mf.gov.pl(test). - The KOD I verification QR code embeds a public verification link pointing to
https://qr.ksef.mf.gov.pl(or the matchingqr-demo/qr-testhost), per the official verification-code specification. The link is only opened when someone scans the QR code. - Service provider: Ministry of Finance of the Republic of Poland. Service information: https://ksef.podatki.gov.pl/ — the taxpayer application, with its terms and data-processing information: https://ap.ksef.mf.gov.pl/
No other external service is contacted. The invoice PDF is generated on your own server and sent to the buyer with your store’s own emails. The plugin sends no telemetry.