Linux 软件免费装
Banner图

Autoanaf E-Invoicing for WooCommerce

开发者 autoanaf
更新时间 2026年10月2日 18:44
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

romania invoicing e-invoicing e-factura anaf

下载

0.2.0

详情介绍:

Romanian law requires B2B invoices to be transmitted to ANAF's e-Factura (SPV) system. Autoanaf E-Invoicing for WooCommerce does it for you, automatically: What you need External service disclosure This plugin transmits order data to Autoanaf (https://autoanaf.ro), an e-invoicing service operated by FISCAL LINK S.R.L. (Romania). What is sent, and when: Autoanaf's terms and privacy policy: https://autoanaf.ro/terms and https://autoanaf.ro/privacy. Free tier and paid plans The plugin is free. The Autoanaf API has a free Developer tier (100 calls/month, ANAF test environment) — enough to wire the plugin up and validate the flow end to end. Real submissions to the production SPV need a paid plan (Starter and above); paid plans also cover higher volume, credit notes, OCR capture and more. Deactivating the plugin leaves your WooCommerce store untouched — no data remains on your site except the settings you entered.

安装:

Hosted step-by-step guide: https://autoanaf.ro/connect/woocommerce
  1. Download the plugin zip from that page and install it in WordPress: Plugins → Add New → Upload Plugin → Install Now → Activate. (Once the WordPress.org directory listing is approved you will also find it under Plugins → Add New.)
  2. Create an account at https://autoanaf.ro. Your account email is the tenant ID the plugin needs; an API key is only necessary if you also call the REST API directly.
  3. Open Settings → Autoanaf and fill in:
  4. Tenant ID — your Autoanaf account email.
  5. Webhook secret — any long random string you invent, e.g. openssl rand -base64 32. It signs each push (HMAC-SHA256) and travels in the request URL; keep it secret, like a password. (Do not use wp config shuffle-salts — rotating your WordPress salts logs out every user on the site.)
  6. Company name (issuer) — your legal company name; it appears on the e-invoice.
  7. Company CIF / VAT ID (issuer) — your Romanian fiscal code (e.g. RO12345678); it must be authorized in the ANAF SPV.
  8. Company country — ISO 3166-1 alpha-2 code (defaults to RO); the county below is required only while this is RO.
  9. Company county — the ISO 3166-2:RO code of your registered address county (e.g. RO-NT). Required for a Romanian issuer only.
  10. Issuer address fields — street, city and postal code, as they appear on invoices.
  11. Save. Completed orders now flow to ANAF automatically. The settings page shows an Active state once the configuration is complete.

屏幕截图:

  • The order screen: shows whether the order was filed to the ANAF SPV, with the UTC timestamp, or a **Push to Autoanaf now** button when it was not.
  • The **CIF firmă** buyer field on the WooCommerce Checkout block.

升级注意事项:

0.1.8 Recommended. Fixes the buyer-CIF field being missing on stores that use the WooCommerce Checkout block (the modern default), and adds an order-screen panel showing whether each order was filed to ANAF. 0.1.7 Cosmetic/listing fixes only: correct links, WooCommerce version tested, explicit requirements. No behaviour change from 0.1.6. 0.1.6 Documentation only — no behaviour change from 0.1.5. It corrects the setup instructions (webhook secret, install path, free-tier wording). 0.1.5 New "Company country" setting; the county is now required only for a Romanian issuer. Romanian stores see no change — keep your county filled in. 0.1.4 Requires the new "Company county" setting. Without it ANAF rejects every e-invoice for the missing country subdivision (BR-RO-110); fill it in under Settings → Autoanaf right after updating.

常见问题:

Which orders are submitted?

Only orders that reach the completed status. Use the WooCommerce status workflow (processing → completed) as usual.

What does Autoanaf do with the order?

Maps it to an EN 16931 / CIUS-RO UBL 2.1 invoice, submits it to the ANAF SPV with your authorized CIF, and tracks the government answer (accepted/rejected) in your dashboard.

Do I need a Autoanaf account?

Yes. The plugin is the sender; Autoanaf is the service that builds and files the e-invoice. A free tier is available.

Is Polish KSeF supported?

Not yet. This plugin currently targets the Romanian ANAF SPV (e-Factura) only. Autoanaf is working on KSeF support; the product site will announce it when it ships.

Is my WooCommerce data safe?

The payload is exactly the order data WooCommerce's own REST API exposes, sent over HTTPS with an HMAC-SHA256 signature. Your Autoanaf webhook secret is stored in your WordPress database (as any plugin setting is); no ANAF credentials are stored in the plugin or sent from your site.

Why do I need to enter my company name and CIF?

They identify you as the invoice issuer on the ANAF e-invoice. The CIF must be registered and authorized in the ANAF SPV (e-Factura) — the same one you use to log in and send invoices manually.

更新日志:

0.2.0 0.1.8 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0