Linux 软件免费装
Banner图

Completez E-Invoicing for WooCommerce

开发者 nicunarcisbodea
更新时间 2026年11月14日 03:40
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

romania invoicing e-factura anaf spv

下载

1.0.0

详情介绍:

Your shop receives an order and the invoice appears on its own: numbered from the company's series, carrying the order's VAT, filed with ANAF through RO e-Factura (SPV) and sent to the customer by e-mail. Nothing has to be copied by hand from one system into another. Quick setup. Paste an API key, choose the order status that triggers issuing, and that's it — three steps, no XML to configure and no digital certificate to install. The settings screen shows you at a glance the company tied to the key, the environment (test or production), whether the ANAF authorisation is valid, and how many invoices you have left this month. The plugin does not generate invoices itself and does not talk to ANAF directly. It sends the order to the invoicing service facturare.completez.ro, which assigns the number from the series, builds the UBL 2.1 XML according to CIUS-RO and files it with the Romanian tax authority's SPV. The result: an invoice issued from the shop looks exactly like one issued from the service, and numbering stays a single series — not two sources overwriting each other. RO e-Factura is Romania's national electronic invoicing system, mandatory for business transactions. This plugin is the bridge between your WooCommerce shop and that obligation. Completez E-Invoicing is an independent product by Completez. It is not affiliated with, endorsed or sponsored by WooCommerce, Automattic or ANAF (the Romanian tax administration). WooCommerce is a trademark of Automattic Inc.; RO e-Factura and SPV are public services of ANAF, named here only to describe what the plugin connects to. What it does Don't lose invoices Issuing does not happen during checkout. A call that includes filing with ANAF can take seconds, and ANAF does go down now and then; placed at payment completion, it would keep the customer on the processing page and, on a timeout, throw an error over an order that was already paid. That is why the order enters the WooCommerce queue (Action Scheduler) and goes out right after. If issuing fails, the plugin retries on its own, with growing pauses (2 minutes to 12 hours, six attempts). Errors that a retry cannot fix — an incomplete address, a wrong key — stop on the first try, with the reason written into the order note. The same order never receives two invoices: every request carries a unique identifier (wc_order_1024), and the service returns the invoice already issued instead of making another. Built for invoices that pass at ANAF The things that, in practice, decide whether an invoice is accepted or rejected: What you need An account on facturare.completez.ro with the company authorised at ANAF, and an API key with write permission, created under Integrations.

安装:

  1. Install and activate the plugin. WooCommerce must be active.
  2. Create an API key in the invoicing service, under Integrations. Give it write permission. The key is shown only once, at creation.
  3. In WordPress, go to WooCommerce → Settings → Integration → Completez E-Invoicing and paste the key. At the top you will see the company tied to it, the environment (test or production), the ANAF authorisation status and the available series.
  4. Issue the first invoice manually, from the "e-Factura" box on an order, to see the result.
  5. If it looks right, tick "Issue invoices for new orders" and choose the order status that triggers issuing.
Optionally, so the ANAF status reaches the order instantly: copy the notifications URL from the plugin settings into the API key in the service, and paste here the secret generated there. Without a webhook, the plugin polls a few times on its own (at 5 minutes, 30 minutes, 2, 6 and 24 hours).

屏幕截图:

  • The getting-started steps, while no key is configured yet.
  • The "e-Factura" column in the order list: each invoice's status, at a glance.
  • The box on the order: invoice number, ANAF index and the buttons for retry, PDF, e-mail and credit note.
  • The order notes, where everything that happened at issuing and filing is written.

升级注意事项:

1.0.0 First release.

常见问题:

Can I test without issuing real invoices?

Yes, in two ways. Tick "Test environment" in the settings, or use a test key created in the service. Test invoices go to the ANAF test environment, have no fiscal value and do not count against your monthly plan. A test key stays in test even if the tick is removed — no combination of settings accidentally reaches the real SPV.

What happens if the customer does not fill in a tax ID (CUI)?

The invoice is issued to the individual, from the billing address. For companies, the plugin looks for the CUI in the fields used by Romanian checkout plugins (_billing_cif, _billing_cui, _vat_number and others); if your shop uses a custom field, you set it in the settings.

An order did not get an invoice. Where do I see why?

In the order notes, where the reason is written, along with whether a retry is coming. In more detail, under WooCommerce → Status → Logs, source completez-e-invoicing-for-woocommerce. The status also shows in the "e-Factura" column in the order list.

I issued on an order by mistake. What do I do?

"Unlink invoice" from the order box: the order becomes free for a new issue. The invoice stays in the invoicing service — a fiscal document is not deleted remotely, it is reversed with a credit note.

Can the shop use a different invoice series?

Yes. The series is chosen in the invoicing service, on the API key (under Integrations): keep the company's default series to share numbering with invoices issued manually, or pick a dedicated series so the shop gets its own number range. No plugin setting is needed — the key carries the series, and the plugin settings screen shows which one the shop issues on. Series are created in the service.

Two shops on the same company?

Yes, but change the "Identifier prefix" on the second one. Without that, order 1024 from both would look like a single one, and the second shop would receive the first shop's invoice.

Does it work with HPOS (High-Performance Order Storage)?

Yes. The plugin reads and writes only through the WooCommerce orders API and declares compatibility, so it does not block enabling HPOS.

Is the plugin interface only in Romanian?

Yes. It is built for a Romanian fiscal obligation, with terms that have no useful equivalent in another language ("SPV", "stornare", "CIUS-RO"). This readme is in English as required by the plugin directory; a Romanian translation can be contributed separately.

更新日志:

1.0.0