Linux 软件免费装
Banner图

eInvoice Viewer for PEPPOL & EN16931

开发者 naranili
更新时间 2026年9月25日 23:41
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

factur-x peppol e-invoice xrechnung zugferd

下载

2.14.11 2.4.10 2.14.10

详情介绍:

➜ Try the live demo – upload an XRechnung, ZUGFeRD/Factur-X or Peppol BIS invoice and see it rendered instantly. eInvoice Viewer for PEPPOL & EN16931 turns an uploaded electronic invoice into a clear, structured HTML view directly on your page - without any external service and without storing the file. Add the [einvoice_viewer] shortcode to a page and your visitors can drag and drop an electronic invoice into the viewer. The document is read and rendered entirely in the visitor's own browser - it is never uploaded to your server. The result (invoice header, parties, order and delivery data, payment details, line items, VAT breakdown and totals) appears instantly, without a page reload and without a single byte of the invoice ever crossing the network. The layout is inspired by the official ZUGFeRD Quba viewer and is rendered inside a Shadow DOM, so it looks identical in every theme. Supported formats Highlights Third-party libraries Since reading moved into the browser, the only bundled third-party code is Mozilla pdf.js (assets/js/pdfjs/, Apache License 2.0, license text next to the files), used to pull the embedded XML out of a ZUGFeRD / Factur-X PDF. Everything else in vendor/ is this plugin family's own code under GPL-2.0-or-later; composer.lock lists it.

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install it through the WordPress plugins screen.
  2. Activate the plugin through the "Plugins" screen in WordPress.
  3. Add the shortcode [einvoice_viewer] to any page or post. To show the EN 16931 business-term numbers initially, use [einvoice_viewer bt="1"].
  4. Optionally adjust the options under Settings -> E-Invoice Viewer (daily upload limit, maximum file size, proxy header, default BT visibility, layout template).

屏幕截图:

  • A rendered invoice with the structured Quba-inspired layout.
  • The same invoice with the EN 16931 business-term numbers enabled.
  • The settings page under Settings -> E-Invoice Viewer.

升级注意事项:

2.10.1 Fixes a real data-correctness bug: the buyer's contact card could show the seller's phone/e-mail instead of the buyer's own (or none). Also fixes a duplicated Buyer reference field and a missing Seller legal-information field. Recommended for everyone. 2.10.0 Adds a structured-data JSON export (model_json()) and a spev_register_templates action so companion add-ons (Validator, Exporter, Visualizer) can extend the viewer without touching its code. No breaking changes. 2.6.1 IMPORTANT: now requires PHP 8.2 (was 7.4). Code values show as "code - name"; more scheme codes resolve to their designation. The uploader dialog now follows the visitor's own language, not only the site's. 2.2.0 Dates, numbers and code values now follow the site language instead of being hard-coded German, and an unknown document type code is no longer reported as an invoice. Also: consistent section headers for nested business groups, and the license of every bundled dependency documented in full. 2.1.0 Complete EN 16931 coverage (all 164 business terms), trilingual business-term tooltips, a French interface translation, and two important fixes: uploads failed on Windows servers, and charge rows were labelled with the wrong business-group code. 2.0.1 Business-term corrections, hardened input handling and the rename to "invoicePress - e-Invoice Viewer".

常见问题:

Is the uploaded invoice stored anywhere?

No. The invoice is read and rendered entirely in the visitor's own browser - it is never sent to your server, so there is nothing to store, log or delete. Nothing is written to the uploads directory or the database. (Paid sibling extensions that genuinely need server-side processing, such as validation or export, do their own upload and say so.)

Which invoice formats are supported?

ZUGFeRD and Factur-X PDFs (the embedded XML is extracted), plus CII (UN/CEFACT) XML and UBL / XRechnung XML.

Why does the view not look pixel-perfect like the Quba viewer?

The Quba viewer transforms the invoice with the KoSIT XRechnung XSLT 3.0 via Saxon-JS. PHP only supports XSLT 1.0, so an own, Quba-inspired PHP template is used instead - functionally equivalent, but not the identical KoSIT markup.

Can I limit how many invoices a visitor can upload?

Yes. Under Settings -> E-Invoice Viewer you can set a daily upload limit per visitor (logged-in users are counted by user ID, anonymous visitors by hashed IP address).

更新日志:

2.14.11 2.14.10 2.14.9 2.14.8 2.14.7 2.14.6 2.14.5 2.14.4 2.14.3 2.14.2 2.14.1 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.10.10 2.10.9 2.10.8 2.10.7 2.10.4 2.10.3 2.10.2 2.10.1 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.6.0 2.5.3 2.5.2 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 2.0.0