Linux 软件免费装

apifirme for WooCommerce

开发者 apifirme
更新时间 2026年11月26日 15:57
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

romania woocommerce cui cif anaf

下载

详情介绍:

For shops in Romania that sell to companies. At the checkout the buyer ticks "Cumpăr pe firmă" and types the company's fiscal code (CUI / CIF). The plugin asks apifirme.dev and fills in: It also tells the buyer whether the company is a VAT payer, and warns when it is fiscally inactive or struck off. The CUI and the register number are kept with the order, shown on the order's page and printed with the billing address in the order's e-mails. Pe scurt, în română: clientul bifează „Cumpăr pe firmă”, scrie CUI-ul, iar denumirea, numărul din registrul comerțului și adresa se completează din datele oficiale (ANAF, ONRC). Fără greșeli de tastare pe factură. What it does not do Care for the data

安装:

  1. Install and activate the plugin. WooCommerce must be active.
  2. Open an account at apifirme.dev and create an API key.
  3. Go to WooCommerce > Settings > Advanced > apifirme and paste the key. (Or define APIFIRME_API_KEY in wp-config.php, which keeps it out of the database.)
  4. Place a test order as a company.

常见问题:

What happens when the month's requests are used up, or apifirme.dev cannot be reached?

The buyer is told to fill in the company's details by hand, and the order goes through as before. The settings page shows how many requests are left.

Where are the CUI and the register number stored?

As order meta _billing_apifirme_cui and _billing_apifirme_reg. They are part of the order's formatted billing address (placeholders {apifirme_cui} and {apifirme_reg} of Romania's address format), so invoice plugins that print that address have them.

Can I use another address for the API?

Yes: the filter apifirme_wc_api_base.

更新日志:

0.1.0