| 开发者 | autoanaf |
|---|---|
| 更新时间 | 2026年10月2日 18:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Requires Plugins is only enforced from there), WooCommerce 7.0+ (tested to 11.1) and PHP 7.4+.RO-NT) — required for a Romanian issuer, because ANAF rejects e-invoices whose Romanian party has no country subdivision (CIUS-RO BR-RO-110). An issuer outside Romania leaves it empty and the plugin sends no subdivision at all.completed status (the plugin's only outbound trigger).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.)RO12345678); it must be authorized in the ANAF SPV.RO); the county below is required only while this is RO.RO-NT). Required for a Romanian issuer only.Only orders that reach the completed status. Use the WooCommerce status workflow (processing → completed) as usual.
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.
Yes. The plugin is the sender; Autoanaf is the service that builds and files the e-invoice. A free tier is available.
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.
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.
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.
wc_get_orders().autoanaf.ro apex returns 503), "WC tested up to" is corrected to 11.1 (the version the plugin is actually exercised against), the readme states the WordPress/WooCommerce/PHP requirements explicitly, the plugin declares Requires Plugins: woocommerce (WordPress now refuses activation without WooCommerce), and Requires at least is raised from 6.0 to 6.5 — the version from which Requires Plugins is enforced.wp config shuffle-salts for the webhook secret (that rotates your WordPress salts and logs every user out) — they now use openssl rand -base64 32. Installation points at the hosted guide (https://autoanaf.ro/connect/woocommerce), describes the manual zip upload while the WordPress.org listing is in review, and no longer implies the plugin needs an API key. The free-tier description now matches the pricing page: 100 calls/month on the ANAF test environment, production submissions on a paid plan.RO) drives it: the county is required — and sent as issuerCounty — only for a Romanian issuer (issuerCountry RO, or a RO… VAT id). A store outside Romania can now activate and push orders with no county, and the plugin sends no issuerCounty parameter at all. Saving an RO configuration without a county is rejected with an explicit settings error instead of silently filing invoices ANAF refuses.RO-NT), sent as the issuerCounty query parameter and required for the plugin to report as Active. ANAF rejects any e-invoice whose RO party lacks a country subdivision (CIUS-RO BR-RO-110, "Erori de validare identificate") — previously every pushed order was filed and rejected. The customer's subdivision is derived from the WooCommerce billing state, so no store-side change is needed for it.issuerAddress/issuerCity/issuerPostalCode/issuerCountry.billing_vat_id) with official RO checksum validation — required for RO company buyers and stored normalized with the RO prefix.billing.vat_id, so core can emit the buyer VAT id in the UBL e-invoice.issuerName/issuerVat (new settings fields) — core rejected unsigned pushes with HTTP 400.X-WC-Webhook-Topic header so orders are actually processed, not just acknowledged.total_tax + rate_percent) — e-invoices now carry the correct tax rate.processed: true).