| 开发者 | gwii |
|---|---|
| 更新时间 | 2026年10月3日 17:39 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
GET_LOCK, or an atomic row lock on SQLite) so that two orders completed at the same time cannot break the chain.nif, numserie, fecha and importe.gwii-invoice-hash-for-woocommerce folder to /wp-content/plugins/, or upload the .zip from Plugins > Add New > Upload Plugin.No. It implements the hash calculation and the QR URL exactly as defined by the regulation, and the calculation is checked against the official AEAT test vectors. But the regulation also requires generating the XML record, signing it or submitting it to the AEAT, keeping an event log and having a responsible declaration from the software manufacturer. None of that is done by this plugin.
When the order changes to the Completed status. The invoice date and the timestamp are taken at that moment, in the time zone configured in WordPress.
A chained cancellation record is generated and stored in the order. Partial refunds do not generate any record.
Yes. With WooCommerce PDF Invoices & Packing Slips active, the plugin uses that plugin's invoice number and date (creating the invoice when the order is completed if it does not exist yet), so the PDF shows a single invoice number and the hash and QR refer to it. The hash and the verification URL are added as text rows to the PDF. You can switch back to the plugin's own numbering in the settings. The data is also stored as order meta (_verifactu_num_serie, _verifactu_hash, _verifactu_qr_url, among others).
Yes. On activation the plugin copies the settings and the last hash saved by version 1.0.x, so the chain continues without gaps.
gwiih_ prefix; previous settings and the last hash are migrated automatically.nif, numserie, fecha and importe parameters.Requires Plugins: woocommerce header.