| 开发者 | lightspeedplusone |
|---|---|
| 更新时间 | 2026年6月3日 17:57 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | MIT |
| 版权网址: | 版权信息 |
[invovate_invoice_form] shortcode — drop a simple "create invoice" form on any page. Visitors enter a business name, client, and line items and get a downloadable PDF link (valid 7 days).invovate_generate( $invoice, $args ) helper — call from your theme or another plugin to generate invoices programmatically (e.g. on a WooCommerce order or form submission).invovate_generate() helper can still compute JSON totals without one.[invovate_invoice_form] accepts these attributes:
fields — comma list of inputs/controls to show. Available: from, to, items, currency, language, template, notes, qr, link. Items always show. Default: from,to,items,currency,language,qr,link.from, to — prefill (or, if not in fields, lock) the business and client name.currency (default USD), language (default en), template (default classic).tax — true/false: show the per-item Tax % field. Default true.qr — default state of the scan-to-view QR (true/false). When link is in fields, users get a checkbox; the QR is disabled while the link is off (it points at the link). Default true.link — default state of the shareable link (true/false): true = a 7-day shareable link; false = a direct PDF download with no link or QR. Default true.rows — number of starting line-item rows. Default 1 (an "Add item" button is always shown).button — submit-button label.[invovate_invoice_form]
Lock your business name; the client fills in the rest (EUR, German, navy template):
[invovate_invoice_form from="My Company GmbH" fields="to,items" currency="EUR" language="de" template="navy"]
Freelancer invoice in USD with a scan-to-view QR:
[invovate_invoice_form from="Jane Doe" currency="USD" qr="true"]
Direct PDF download instead of a 7-day shareable link:
[invovate_invoice_form link="false" button="Download invoice"]
Three starting rows, with the tax field and a notes box:
[invovate_invoice_form fields="from,to,items,currency,language,notes" rows="3" tax="true"]
Japanese invoice (JPY, consumption tax):
[invovate_invoice_form currency="JPY" language="ja" template="modern"]
Minimal — client name and items only:
[invovate_invoice_form fields="to,items" from="Acme Studio"]
Not regulated e-invoicing. PDF/UBL output is for interoperability and archival only — it does not provide Peppol, Factur-X, ZUGFeRD, XRechnung, or NF-e compliance or government-network delivery.
invovate-invoice-generator folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload.[invovate_invoice_form] to a page, or call invovate_generate() in your code.Yes for the invoice form — it generates a shareable PDF link, which requires a free key (set it under Settings → Invovate). The invovate_generate() helper can still compute JSON totals without a key.
Invoice data is sent to the Invovate API over HTTPS. Shareable PDF links are stored for up to 7 days, then deleted. See https://invovate.com/privacy.
No. It generates invoice documents but is not a Peppol/Factur-X/XRechnung/NF-e transmission service.
&& to &&), which broke the whole script.fields="...,qr,link"; on by default).fields, from/to defaults, currency/language/template, tax, qr (toggle the scan-to-view QR), link (shareable link vs direct PDF download), rows, button.[invovate_invoice_form] shortcode, and invovate_generate() helper.