Title: apifirme for WooCommerce
Author: apifirme
Published: <strong>November 26, 2026</strong>
Last modified: November 26, 2026

---

Search plugins

![](https://ps.w.org/apifirme-for-woocommerce/assets/icon.svg?rev=3825823)

# apifirme for WooCommerce

 By [apifirme](https://profiles.wordpress.org/apifirme/)

[Download](https://downloads.wordpress.org/plugin/apifirme-for-woocommerce.0.1.0.zip)

 * [Details](https://wordpress.org/plugins/apifirme-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/apifirme-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/apifirme-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/apifirme-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/apifirme-for-woocommerce/)

## Description

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](https://apifirme.dev)
and fills in:

 * the company’s name, as registered;
 * its trade register number (J40/372/2002);
 * the address: street, locality, county, postal code;
 * the CUI as it is written on an invoice, with RO where the company is registered
   for VAT.

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

 * It does not issue invoices; it gives your invoicing plugin correct data.
 * On the block-based checkout it does not fill the fields yet: use the classic 
   checkout (the `[woocommerce_checkout]` shortcode) for now.

#### Care for the data

 * The API key stays on your server. The browser talks to your shop, and your shop
   to apifirme.dev.
 * The CUI’s check digit is verified in the shop before anything is asked, so a 
   mistyped code costs nothing.
 * A 13-digit number is a personal identity number (CNP), not a CUI: it is refused
   in the shop and never sent anywhere.
 * An answer about a company is kept for a day, so the same company costs one request
   a day however often it buys.
 * A visitor can look up at most 12 companies in ten minutes.

### External services

This plugin connects to the apifirme.dev API (operated by Cubus Arts S.R.L., Romania)
to obtain a company’s public registration data. It sends **only the CUI typed at
the checkout**, together with your API key, when a buyer who ticked “Cumpăr pe firmă”
leaves the CUI field. Nothing about the buyer, the cart or the shop is sent.

 * Service: [https://apifirme.dev](https://apifirme.dev)
 * Terms: [https://apifirme.dev/termeni](https://apifirme.dev/termeni)
 * Privacy policy: [https://apifirme.dev/confidentialitate](https://apifirme.dev/confidentialitate)

You need an API key from apifirme.dev. The free plan answers 100 requests a month.

## Installation

 1. Install and activate the plugin. WooCommerce must be active.
 2. Open an account at [apifirme.dev](https://apifirme.dev/cont) 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.

## FAQ

### 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`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“apifirme for WooCommerce” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ apifirme ](https://profiles.wordpress.org/apifirme/)

[Translate “apifirme for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/apifirme-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/apifirme-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/apifirme-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/apifirme-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/apifirme-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.0

 * First version: classic checkout, lookup by CUI, order meta, settings.

## Meta

 *  Version **0.1.0**
 *  Last updated **1 hour ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [anaf](https://wordpress.org/plugins/tags/anaf/)[cif](https://wordpress.org/plugins/tags/cif/)
   [cui](https://wordpress.org/plugins/tags/cui/)[romania](https://wordpress.org/plugins/tags/romania/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/apifirme-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/apifirme-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/apifirme-for-woocommerce/reviews/)

## Contributors

 *   [ apifirme ](https://profiles.wordpress.org/apifirme/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/apifirme-for-woocommerce/)