Linux 软件免费装
Banner图

FakturFlow – Faktury KSeF (E-Invoicing for KSeF)

开发者 simmotorlp
更新时间 2026年11月25日 17:48
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce faktury ksef e-faktura faktura vat

下载

0.2.7 0.2.6 0.3.0 0.4.0 0.2.3 0.2.4 0.2.2 0.2.5

详情介绍:

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 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. If you are VAT-exempt, enter the legal basis of the exemption; otherwise make sure taxes are configured in WooCommerce.
  6. Log in to the KSeF Taxpayer Application for the chosen environment (production: https://ap.ksef.mf.gov.pl/) with your Trusted Profile or qualified signature and generate a token with InvoiceWrite and InvoiceRead permissions. Paste it into the settings — it is stored encrypted. (Or choose Certificate and upload a KSeF certificate with its private key.)
  7. Use Test connection: it checks that your hosting can reach KSeF and that KSeF accepts your token or certificate.
  8. 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.

升级注意事项:

0.4.0 Important fixes for invoice status, VAT rates, issue dates and the first token save; adds login with a KSeF certificate. VAT-exempt sellers must enter their exemption basis in the settings after updating.

常见问题:

When is KSeF mandatory, and are there penalties?

  • Since 1 February 2026: businesses whose 2024 sales exceeded 200 million zł must issue invoices in KSeF, and every business receives invoices through it.
  • Since 1 April 2026: all other businesses must issue their B2B invoices in KSeF.
  • From 1 January 2027: the smallest sellers too — until then you may still issue invoices outside KSeF if they total no more than 10 000 zł gross a month (the relief ends with the invoice that exceeds the limit).
  • Also from 1 January 2027: invoices from cash registers and receipts with a NIP up to 450 zł no longer count as invoices, and a payment for a KSeF invoice between businesses must quote its KSeF number.
  • Penalties: under the law in force, the KSeF-specific fines apply from 1 January 2027. On 6 November 2026 the Sejm passed an amendment moving them to 1 January 2028; at the time of this release (late November 2026) it had not completed the legislative process. The duty to use KSeF is not postponed either way.
This is general information, not tax advice — confirm your own situation with your accountant. Official source: https://ksef.podatki.gov.pl/

I am a small seller below 10 000 zł a month — do I need this now?

Not until 1 January 2027, but nothing stops you from starting earlier: set the plugin up on the Test environment now, issue a trial invoice, and switch to Production when you are ready.

I am VAT-exempt (zwolnienie z VAT). Can I use it?

Yes. Enter the legal basis of your exemption under WooCommerce → KSeF Invoices → Seller (for example "art. 113 ust. 1 ustawy o VAT"). Invoices for orders without VAT are then issued as exempt ("zw") with that basis. If you do charge VAT, leave the field empty and make sure taxes are switched on and configured in WooCommerce — the plugin refuses to issue an invoice that would wrongly show a taxed sale as exempt.

Token or certificate — how does the plugin log in to KSeF?

Either way; you choose under WooCommerce → KSeF Invoices → Authentication method, and both send exactly the same invoices.

  • Token — a line of text generated in the KSeF Taxpayer Application. The quickest way to start.
  • Certificate — a KSeF certificate of the "Authentication" (uwierzytelnianie) type, or a qualified seal / signature certificate, together with its private key. The plugin signs each login with it on your server (XAdES); the private key is never sent anywhere.
You can save both and switch at any time — only the selected one is used. Test connection logs in with the selected one and tells you whether KSeF accepted it.

Will KSeF tokens keep working after 2026?

The regulation in force ends token login on 31 December 2026; the Ministry of Finance has published a draft that keeps tokens (tokens created before 2027 would work until 30 November 2027 at the latest, newer ones for up to a year), but at the time of this release it was not yet law. You do not have to wait for the outcome: FakturFlow also logs in with a KSeF certificate, which is not affected. Set the certificate up now (see the next question) and switch the Authentication method when you are ready. If KSeF stops accepting your token, the plugin says so in plain words on the order and in "Test connection".

How do I set up login with a KSeF certificate?

  1. Log in to the KSeF Taxpayer Application for your environment, open the certificates section and request a certificate of the Authentication type (not "Offline" — that one cannot log in). You get a certificate file and a private key file protected with the password you set.
  2. In WooCommerce → KSeF Invoices choose Certificate, upload the certificate file and the key file (or one .p12 / .pfx file that holds both), type the key password and save. You can also paste the two PEM texts instead of uploading.
  3. Click Test connection.
The plugin checks that the key belongs to the certificate, stores both encrypted and never shows the key or its password again. RSA keys (2048 bits or more) and elliptic-curve keys (P-256 or larger) are supported. The certificate's owner must have the right to issue and view invoices for the seller NIP — the plugin tells you if KSeF recognises the certificate but finds no permissions. Certificates expire: the Status panel shows the date and warns you a month ahead. Each environment (Test, Demo, Production) needs its own certificate.

The invoice shows "Sent" but has no KSeF number

KSeF had not finished processing it when the plugin stopped waiting. Click "Refresh status" on the order after a moment — the KSeF number, the QR code and the PDF appear once KSeF confirms it. Do not send it again.

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 in to the KSeF Taxpayer Application (Aplikacja Podatnika KSeF, https://ap.ksef.mf.gov.pl/) with your Trusted Profile (Profil Zaufany), qualified signature or seal, open the tokens section and generate a token with the InvoiceWrite (issue invoices) and InvoiceRead (view invoices) permissions. Paste the whole token into the plugin settings (WooCommerce → KSeF Invoices) — it is stored encrypted. Each environment has its own application and its own tokens; the test and demo applications are linked from https://ksef.podatki.gov.pl/. After saving, click Test connection: it logs in with your token and tells you whether KSeF accepted it. Prefer a certificate? See "How do I set up login with a KSeF certificate?" above.

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, certificate and its key) are removed. If you also want the stored files gone, remove them manually after archiving/exporting them.

Are the stored invoice files private?

They are never linked or listed, their names contain a random part that cannot be guessed, and the folder carries an access-deny rule for Apache and LiteSpeed. Downloads always go through WordPress with a permission check. On nginx, which ignores such rules, you can additionally block the folder in the server configuration: location ~* /uploads/ksef-invoices/ { deny all; }.

Which languages does the plugin speak?

English, Polish, Ukrainian and Russian. The invoice itself (the PDF for the buyer) is always in Polish, as it is a Polish tax document.

更新日志:

0.4.0 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