Linux 软件免费装
Banner图

FakturFlow – E-Invoicing for KSeF

开发者 simmotorlp
更新时间 2026年9月26日 18:00
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce invoice faktura ksef e-faktura

下载

0.2.7 0.2.6 0.3.0 0.2.3 0.2.4 0.2.2 0.2.5

详情介绍:

KSeF (Krajowy System e-Faktur), Poland's national structured e-invoicing system, became mandatory for large taxpayers on 1 February 2026 and for micro, small and medium businesses on 1 April 2026. Penalties for not issuing structured invoices apply from 1 January 2027 — the same date the last wave (smallest taxpayers, under 10,000 zł/month invoiced turnover) joins the mandate. If you sell B2B through WooCommerce and issue invoices to businesses, you need KSeF now. 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. Wtyczka łączy Twój sklep WooCommerce bezpośrednio z KSeF przez oficjalne API 2.0 Ministerstwa Finansów — pełny polski opis i tłumaczenie interfejsu (pl_PL) są dołączone do wtyczki. Features Why FakturFlow? 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:

安装:

  1. Install and activate the plugin (WooCommerce must be installed and active).
  2. Go to WooCommerce → KSeF Invoices.
  3. Choose the environment — start with Test.
  4. Enter your seller NIP, name and address (prefilled from the WooCommerce store address), and your bank account if you want it on unpaid or transfer invoices.
  5. Log into the KSeF web application (https://ksef.mf.gov.pl/) with your Trusted Profile or qualified certificate and generate a token with InvoiceWrite and InvoiceRead permissions. Paste it into the settings — it is stored encrypted.
  6. Use Test connection to confirm your hosting allows outgoing HTTPS to KSeF.
  7. Open a B2B order (one with a buyer NIP), generate and validate the FA(3) invoice, send it to KSeF and download the UPO. Once a full test cycle works, switch the environment to Production.

屏幕截图:

  • Order edit screen metabox — generate/send/refresh actions, status and the KOD I verification QR code.
  • Checkout NIP field — block checkout.
  • Orders list — the "KSeF" status column.
  • The invoice PDF the buyer receives, with the KOD I verification code.

常见问题:

Does the plugin work without an accounting system?

Yes. It talks directly to the official KSeF API 2.0 of the Ministry of Finance — no intermediary and no per-invoice fees. You generate, validate and submit FA(3) invoices from the WooCommerce order screen.

What about consumer (B2C) orders?

By default only orders with a buyer NIP (tax ID) go to KSeF. Under WooCommerce → KSeF Invoices → Consumer invoices you can also issue KSeF invoices to consumers: on request (the buyer ticks "I want an invoice" at checkout) or for every order. A consumer invoice then goes to KSeF without a tax ID, and the buyer receives the PDF with its verification code.

Where does the buyer get the invoice?

Once KSeF accepts the invoice, the PDF is attached to the "Completed order" and "Order details" emails, and the email contains a download link (valid for 30 days, also for guest orders). Logged-in customers can download it any time from My Account. The PDF is generated on your server from the invoice exactly as KSeF holds it, with the KOD I verification code. If the invoice was accepted after the order email went out, the order gets a note — resend it with "Send order details to customer".

Does it handle split payment (MPP)?

Yes. Tick "Split payment (annex 15)" on products listed in annex 15 to the VAT Act. A B2B invoice above 15 000 zł that includes such a product is marked "mechanizm podzielonej płatności" and carries your bank account (set it under Payments).

Which orders can FakturFlow invoice?

Orders in PLN from buyers in Poland — with a NIP, or consumers when you turn consumer invoices on — issued by a store based in Poland. Orders in other currencies and orders from buyers outside Poland are refused with a clear message on the order screen (nothing is numbered or sent) — foreign B2B invoices (EU VAT ID, reverse charge, WDT/export) and other currencies are planned.

Does it work with HPOS and the block checkout?

Yes. The plugin is fully compatible with High-Performance Order Storage (custom order tables) and with the Checkout block — the NIP field is registered through the Additional Checkout Fields API and behaves identically in both checkout variants.

Where do I get a KSeF token?

Log into the KSeF web application (https://ksef.mf.gov.pl/) with your Trusted Profile (Profil Zaufany) or qualified certificate, go to permissions management, and generate a token with InvoiceWrite and InvoiceRead permissions. Paste it into the plugin settings (WooCommerce → KSeF Invoices) — it is stored encrypted.

Does the plugin send data to third parties?

No. Invoice data is sent only to the official Ministry of Finance API (test, demo or production environment, as chosen in your settings). The one exception is the verification link encoded in the KOD I QR code itself — when scanned it points to the Ministry of Finance's public invoice-verification lookup, per the official verification-code specification. See the "External services" section below for the exact endpoints.

Does uninstalling the plugin delete my issued invoices?

No. Generated invoice and UPO XML files (under wp-content/uploads/ksef-invoices/) are legal/tax records and are not deleted on uninstall — only the plugin's own settings (environment, seller data, token) are removed. If you also want the stored files gone, remove them manually after archiving/exporting them.

更新日志:

0.3.0 0.2.7 0.2.6 0.2.5 0.2.4 0.2.3 0.2.2 0.2.1 0.2.0