Linux 软件免费装
Banner图

Paperwork – Invoices & Documents for WooCommerce

开发者 bycrik
更新时间 2026年10月26日 21:32
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce invoice packing slip pdf invoice credit note

下载

1.0.0

详情介绍:

Paperwork issues the documents a WooCommerce shop is required to keep, and keeps them the way an auditor expects to find them: numbered without gaps, stored as issued, and explainable months later. A default install does one thing — an invoice on a paid order — and stays out of the way. Five further document types are there when a shop needs them and switched off until then, and ten more come with the premium version. What it does E-invoicing (premium) For shops that have to file electronically, the premium version serialises one EN 16931 semantic model into UBL 2.1, Peppol BIS 3.0, CII D16B, Factur-X and ZUGFeRD, and XRechnung. Each document is validated against a shipped XSD before it is allowed out, and the report says which business rules were checked rather than implying an official rule set was run. E-invoicing is off by default and stays off until you review your VAT categories, because a wrong VAT category is a filing error rather than a rendering glitch. An unmapped tax rate produces no document and names the rate instead of guessing. Free and premium Everything above is free except where the premium version is named. Premium adds the fulfilment, sales, automation and compliance capabilities: shipping labels, pick lists, per-shipment documents, returns, quotes, statements, deposit and balance invoices, the export centre, cloud backups, automatic printing, the REST API, the payment helpers, VAT validation, e-invoicing and Peppol delivery. The plugin in the WordPress.org directory is the free version and contains none of the premium code. The premium version is a separate download from https://paperwork.u2code.com/, and a shop that stops paying for it keeps every document it has ever issued: losing access stops new documents being made, it never removes old ones. External services Paperwork does not need an account or an API key for anything it does. Two connections can exist, both of them yours to make: Source code The template designer is a React application. It ships compiled, in assets/designer/, and as source, in js-source/. To rebuild it from source: cd js-source && npm install && npm run build Everything else is plain PHP, CSS and JavaScript, shipped as written. The PHP libraries in vendor-prefixed/ are unmodified copies of their upstream releases, namespaced to avoid clashes. Built to be checked This plugin is developed against acceptance scripts that run on a real shop rather than only against unit tests: a thousand numbers pulled by twenty parallel workers, five hundred orders exported at once, and every admin screen opened over real HTTP. Where something cannot be verified — a service with no account, a format whose official validator will not run on PHP — the plugin says so in its own diagnostics rather than claiming otherwise.

安装:

  1. Install and activate WooCommerce 8.0 or newer. Paperwork declares WooCommerce as a required plugin and will not run without it.
  2. Upload the plugin through Plugins → Add New → Upload Plugin, or install it from the plugin directory, then activate it.
  3. The setup wizard opens on activation. Seven short steps: your company details, which documents you want, how they are numbered, how they look, and when they are sent. Skip it and the defaults issue an invoice on a paid order.
  4. Settings afterwards live under WooCommerce → Settings → Paperwork.
Requires PHP 8.1 or newer. No external service, account or API key is needed for anything described under "What it does".

屏幕截图:

  • The invoice, as a customer receives it.
  • The template designer, with blocks arranged per document type.
  • The setup wizard's document step, choosing which types a shop needs.
  • Numbering settings, with the format preview and the next number.
  • A document's history: allocated, issued, emailed, voided — with who, when and why.
  • Bulk export from the orders list.
  • Diagnostics, reporting what is configured and what is not.

升级注意事项:

1.0.0 First public release.

常见问题:

Does it work with High-Performance Order Storage?

Yes. Paperwork declares HPOS compatibility and reads orders through the WooCommerce order API, never through post meta, so it behaves the same with the legacy tables or with HPOS.

Will my invoice numbers have gaps?

Not from Paperwork's side. Numbers are allocated atomically, so concurrent orders cannot collide or skip, and a voided document keeps its number, so voiding leaves no gap either. A gap can still appear when a render fails after its number was drawn; the audit trail records that as an orphaned allocation. The Status page counts the gaps of every sequence, and wp paperwork gaps lists each missing number with the reason from the audit trail, which is the answer an auditor is actually asking for.

What happens to my documents if I switch a document type off?

Nothing. Switching a type off stops new documents of that type being created. Every document already issued stays in the archive, stays downloadable from My Account, stays attached to the emails your customers have already received, and stays in bulk export. Disabling is not deletion.

Can I edit an invoice after it has been issued?

Not in place, deliberately — that is the point of an archive. You can regenerate a document, which issues a new version and retires the old one while keeping both, and you can void one with a reason. Both are recorded in the audit trail.

Do Factur-X and ZUGFeRD produce a single PDF?

E-invoicing is part of the premium version. There, Factur-X and ZUGFeRD embed their XML in a PDF/A-3, which needs an optional second PDF engine the premium version can install on request; without it, the XML is produced alongside the PDF and a warning is recorded, and an ordinary PDF is never labelled as Factur-X.

Can Paperwork send my invoices over Peppol?

Peppol delivery is part of the premium version, and requires an account with an access point provider: Paperwork builds and signs the request and hands it over. It is not a Peppol access point itself, and it will tell you it is not connected until you have configured one.

Are my PDFs publicly accessible?

No. Documents are stored outside the web root's reach with directory listing and direct access blocked, and customer links are signed and time-limited.

Can I change the templates in my theme?

Yes. Copy a template out of the plugin's views/frontend/ directory into your-theme/paperwork-for-woocommerce/ and edit it there. Everything a template needs is passed to it explicitly, so a template never has to query anything.

Is there WP-CLI support?

Yes: generating, regenerating, voiding, listing, exporting, renumbering and a gap report, plus wp paperwork doctor, which runs every diagnostic check and exits non-zero if one fails.

更新日志:

1.0.0 - 2026-09-16