Linux 软件免费装
Banner图

Kitgenix PDF Invoicing for WooCommerce

开发者 kitgenix
更新时间 2026年9月1日 03:49
捐献地址: 去捐款
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

woocommerce packing slips credit notes pdf invoices invoice generator

下载

1.1.0 1.1.1 1.0.1 1.1.2 1.0.0 1.1.3 1.0.5 1.0.4 1.0.3 1.0.6 2.0.0

详情介绍:

Kitgenix PDF Invoicing for WooCommerce generates PDF order documents locally from WooCommerce data. It supports invoices, receipts, packing slips, credit notes, pro forma invoices, delivery notes and statements, with configurable numbering, templates, email attachments and customer downloads. PDF rendering happens on the WordPress server using the bundled Dompdf library. The plugin does not require a hosted Kitgenix invoicing account and does not send order contents to an external invoicing service in order to produce the PDF. It is designed for store owners, finance teams, fulfilment staff and support teams that need repeatable WooCommerce paperwork and a controlled record of document numbers/history. Developed by Kitgenix. WooCommerce PDF Document Types The codebase defines seven document types: Each type can use its own generation rules and can be enabled/disabled according to the plugin's settings. Rules can consider WooCommerce order status and payment state so a document is only offered/generated when it makes sense for the store's workflow. PDF Invoice Features Four Bundled Invoice Templates Standard, Simple, Modern and Business templates are included in the plugin. They share the configured business identity but use different layout/presentation choices. The template files are local to the plugin; PDF output is not generated by loading a hosted HTML template from Kitgenix. Document Numbering and Sequences Document identity is more than a filename. The plugin includes a sequence table and token-based formatting so invoices/other documents can receive consistent identifiers with prefixes and zero-padding. Sequence periods can be configured so numbering can continue indefinitely or reset according to the supported calendar/fiscal-year rules. The sequence table is used to avoid two concurrent generation requests selecting the same next number. Credit notes have their own mapping/history logic so refund-related documents can be tracked separately from the main invoice sequence where configured. Generation Rules A document type can be gated by order status/payment conditions. This lets stores avoid, for example, exposing a final invoice at a point in the order lifecycle where their accounting workflow expects a pro forma document instead. The same availability checks are used by customer/admin output paths so a document button is not simply cosmetic if the order does not meet its configured rule. Automatic Email Attachments Administrators can map document types to WooCommerce email IDs. When a mapped email is generated and the document is available for the order, the plugin can create/use the relevant PDF and attach it to the outgoing message. A test-send workflow is included so administrators can verify email attachment configuration without placing a real new order for every test. Temporary files generated for email delivery are cleaned up after use. Customer Downloads Customer-facing actions can add document downloads to WooCommerce My Account/order areas. The plugin includes invoice and credit-note download handling and validates the order/customer context before serving protected order documents. Guest access can use WooCommerce's order key in the supported flow, allowing legitimate guest purchasers to retrieve an eligible document without being treated as an arbitrary anonymous request. Persistent PDF Archive and History When persistent archive mode is enabled, generated documents can be stored under a hardened uploads subdirectory with metadata tracking the archived entries. Administrators can regenerate or void documents, with history events recorded against the order/document. This provides a clearer audit trail than silently replacing a previous PDF without recording that an administrator regenerated it. The exact accounting/legal retention period remains the site owner's responsibility; the plugin does not claim to determine jurisdiction-specific compliance requirements automatically. Bulk Document Export WooCommerce order bulk actions can generate a batch archive for selected orders/documents. The plugin creates a downloadable archive file for the requested set instead of requiring an administrator to open every order and download each PDF individually. Tax and Localisation The document display layer includes configurable tax terminology and localisation packs so labels can be adapted for VAT, GST, Sales Tax or other terminology supported by the plugin's configuration. Order totals and line items are taken from WooCommerce's order data, helping PDFs reflect the taxes/totals WooCommerce has already calculated rather than introducing an independent tax-calculation engine. Branding, Custom Fonts and CSS Business identity settings include company details, logo and visual choices. The plugin also contains a custom-font manager that accepts supported font files and registers them with Dompdf for local rendering. Custom document CSS can be filtered/sanitised through the plugin's rendering pipeline. Administrators should keep custom CSS print-focused and test all enabled templates after significant visual changes. Security and Data Handling PDF generation uses local WooCommerce order data. Download/admin actions are protected by the applicable WooCommerce/WordPress capability, order-key and nonce checks in their context. Persistent archive directories are hardened by the plugin, and temporary generated files are removed after use where the workflow does not require long-term storage. The plugin does not transmit order contents to Kitgenix to generate PDFs. External requests used by the shared admin Hub/fonts are documented separately under External Services. Developer Extensibility The codebase exposes filters/actions for document output and generation decisions, custom CSS, custom order fields and other integration points. Document types and renderer modules are separated into classes so integrations can modify supported output without editing bundled template files directly. The developer section below lists the hooks currently documented by the plugin. Typical Uses

安装:

  1. Install via Plugins → Add New (search for "Kitgenix PDF Invoicing"), or upload the plugin ZIP file.
  2. Activate the plugin. WooCommerce must already be installed and active – the plugin will deactivate itself with a notice if it isn't.
  3. Go to WooCommerce → Orders and open any order to see the "Kitgenix PDF Invoicing" meta box with document download actions.
  4. Go to the Kitgenix PDF Invoicing settings page to configure your company details, logo, numbering, template style, and email attachment mapping.
  5. Optional: enable customer-facing downloads and My Account order actions in settings.
PDFs are rendered with the bundled Dompdf library; no external service or API key is required. Batch ZIP export uses the PHP zip extension when available, with an automatic fallback to WordPress's built-in ZIP support if it isn't.

屏幕截图:

  • WooCommerce order screen: the Kitgenix PDF Invoicing meta box showing the invoice number with Preview and Download PDF actions.
  • A generated PDF invoice streamed directly in the browser.
  • WooCommerce order screen on a refunded order: invoice and credit note actions shown together in the meta box.
  • My Account → Orders: customers can use "View Invoice" to download their own order invoice.

升级注意事项:

2.0.0 Recommended for all websites. Adds document status/regenerate/void controls with a per-document history log, an atomic invoice-numbering table that closes a race condition under concurrent load, a redesigned admin UI, and several security hardening and bug-fix improvements. Existing counters and credit note history are migrated automatically.

常见问题:

Does this plugin require WooCommerce?

Yes. WooCommerce must be installed and active. Every document type, download, and email attachment is generated from WooCommerce order data.

Are PDF invoices generated automatically?

Documents are generated on demand – when downloaded, or when a WooCommerce email is sent with that document type mapped to it. There is no scheduled/cron-based bulk generation; each document is rendered the first time it is needed and then archived for reuse.

Can customers download their own invoices?

Yes, if enabled in settings. Customers can download invoices and (once refunds exist) credit notes from the order details screen and the My Account Orders table. Guests can also be authorised with a valid WooCommerce order key.

Can I bulk-generate or bulk-download invoices?

Yes. From the WooCommerce orders list, select a set of orders and run a batch ZIP export for invoices, packing slips, receipts, credit notes, pro forma invoices, delivery notes, or statements.

Where are the generated PDFs stored?

Once a document is issued, an immutable copy is archived in the uploads directory and reused for later downloads instead of re-rendering a different version. Temporary files used for email attachments and batch ZIP exports are deleted automatically after use. No customer data is sent to a third-party PDF generation service.

Can I customise the invoice template?

Yes. Choose from four bundled template packs (Standard, Simple, Modern, Business), fine-tune the layout with the built-in visual designer (header alignment, logo scale, density, panels, table style, totals emphasis, footer alignment), or copy templates into your theme at kitgenix-pdf-invoicing-for-woocommerce/{style}/ for full control.

Can I add my company logo, address, and tax/VAT number?

Yes. Company name, address, email, phone, logo, and tax/VAT ID are all configurable and appear on every generated document.

Can I show custom order fields, such as tracking numbers?

Yes. Add custom order meta rows in settings using one entry per line in the format meta_key|Label.

Does it support VAT, GST, or Sales Tax terminology?

Yes. A localisation pack switches document titles and tax wording (for example, "Tax Invoice" for Australia GST), with manual overrides available for the tax label and tax registration label. You can also switch between tax-inclusive and tax-exclusive price display.

Is this compatible with WooCommerce HPOS (High-Performance Order Storage)?

Yes. The plugin declares HPOS compatibility and its order integrations, meta box, and admin order-list filter work with both HPOS and legacy post-based order storage.

How does credit note numbering work?

Credit notes become available once an order has at least one refund, and are numbered against the refund itself (not its position in a list), so deleting or reordering refunds can't desynchronise or duplicate numbers.

Can documents be regenerated or voided?

Yes. Staff can regenerate an issued document from the order's current data (the previous file is kept, not overwritten) or void/unvoid a document without touching its archived file. Both actions are logged in a per-document history on the order screen. This provides an audit trail but does not by itself guarantee compliance with local invoicing or record-keeping requirements.

Can I attach PDFs to WooCommerce emails?

Yes. Map document types to WooCommerce email workflows in settings, preview which documents are mapped for a specific order, and send a test email with only the PDF attachments before relying on the live workflow.

Does the plugin support custom document types?

Developers can extend the document type registry via the kitgenix_pdf_document_types filter to add custom document types alongside the built-in ones.

Does this plugin add any shortcodes or REST API endpoints?

No. The plugin does not register any shortcodes, REST API routes, custom post types, or custom taxonomies. All functionality lives in the WooCommerce order screen, plugin settings, and My Account area, and is extendable via the actions and filters listed in the Developers section.

What happens to my invoices if I uninstall the plugin?

Archived PDF files, document history, and order meta are intentionally preserved on uninstall so you don't lose invoice, receipt, packing slip, or credit note records. Only the plugin's own settings and tracking options are removed.

更新日志:

2.0.0 (31 August 2026)