Black November: −35% on all modules until 30 November Black November: −35% until 30 November Choose a module

Get in touch
WooCommerce

FGO Invoices for WooCommerce — FGO invoices from orders, CUI and e-Factura (Romania)

An FGO invoice from every WooCommerce order: the CUI at the checkout, VAT rates, PDF, no duplicates; Pro adds invoices by status, payments, storno, e-Factura.

Download Free
Pro · one-year licence Staging copies are included. The more sites, the cheaper each one
Compatibility
WordPress 6.4+ · WooCommerce 8.6+ (HPOS, block checkout) · PHP 7.4+ · languages: English, română (in Pro)
Licence
a site + a staging copy, annual
Trial
7 days, no card, one per site
Or all 509 Pro modules with All Access — 3 244 UAH / year ≈ €66

What Free has,
and what Pro adds

The free version works with no time limit. Pro adds the rest of the features in the table.

Feature Free Pro
Connection to the FGO API v2: key (encrypted), CUI, Live or Test environment, key rights check ✔ ✔
Company, CUI and Reg. Com. fields on the classic and block checkout, optional check digit test ✔ ✔
An invoice by a button on the order: products, shipping, fees, a discount as its own row, the VAT rate of every row ✔ ✔
An invoice for the company by CUI or for a private person ✔ ✔
Retries without duplicates: order reference and FGO's duplicate check ✔ ✔
Invoice number, state and PDF link on the order, a list of invoices ✔ ✔
Series, document type, VAT payer, unit, product code, payment term, text on the invoice ✔ ✔
Works next to e-Factura ANAF, SmartBill, Oblio and Keez from CatCode ✔ ✔
Invoices automatically by order status and a bulk action — ✔
Payments (încasări) after the invoice, by status or by a button — ✔
Cancelling the invoice by status or by a button — ✔
Storno when the whole order is refunded, withdrawing a storno — ✔
e-Factura (SPV): automatically or by a button, the state of the document — ✔
The invoice e-mailed by FGO and the PDF link in My account and e-mails — ✔
AWB on the invoice: an order field or a shipping plugin's meta key — ✔
A separate series for private buyers and a storno series — ✔
Translation: română — ✔
Updates from catcode.com.ua — ✔

What it looks like

Company fields at the checkout
The WooCommerce block checkout: optional fields for the company name, the CUI and the trade register number.
The FGO box in a WooCommerce order
On the left, the order box with an issued invoice in the free version: number, state, the PDF button and the CUI fields. On the right, the same box in Pro: payment, e-Factura, e-mail to the buyer, storno and cancel.
Invoice and checkout settings
WooCommerce → FGO invoices: series, document type, VAT, unit, product code, payment term, text on the invoice, payment methods paid later and the checkout fields.

Key points

What the buyer sees

The checkout gets optional fields “Denumirea firmei”, “CUI / cod TVA” and “Nr. Reg.

What happens to an order

The order gets an “FGO invoice” box.

Settings

WooCommerce → FGO invoices: enter the API key, your company’s CUI and the shop address registered in FGO and press “Check connection”: the plugin shows the rights of the key and loads the VAT rates and document types.

The trial starts when you ask

A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy

Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.

Technical requirements

  • WordPress 6.4+, WooCommerce 8.6+ (HPOS, block checkout), PHP 7.4+.
  • An FGO account with an API v2 key (Premium or Enterprise subscription) and your company’s CUI.
  • The order currency goes to FGO as it is (usually lei, RON); the shop address on https, registered in FGO.

Version history

v1.0.0 Current

November 2026.

Frequently bought with FGO Invoices

All Access Need more? All modules (509) under one licence, new ones are added automatically. 3 244 UAH≈ €66 Learn more →

Full module description

FGO Invoices for WooCommerce creates an invoice (factura) in the Romanian service FGO from a shop order through the API v2. The buyer enters a CUI, a company name and a trade register number at the checkout, and a button on the order creates the invoice in your series with the right buyer, rows and VAT (TVA) rates. The invoice number and the PDF link stay with the order. The plugin uses your own FGO account and is made for shops in Romania.

What you need in FGO. A company with an FGO account and an API v2 key: FGO gives such keys on the Premium and Enterprise subscriptions. The key is created in FGO under eCommerce → API, where the address of your shop is registered too. The order currency goes to FGO as it is (usually lei, RON).

What the buyer sees

The checkout gets optional fields “Denumirea firmei”, “CUI / cod TVA” and “Nr. Reg. Com.”, on the classic and on the block checkout. A buyer who enters a CUI gets an invoice for the company; one who does not gets it as a private person. The check digit test of the Romanian CUI can be switched on: the checkout then refuses a wrong CUI and says why. If another CatCode plugin for Romanian invoices already runs on the site, this one does not repeat the fields.

What happens to an order

The order gets an “FGO invoice” box. The button issues the invoice: products, shipping and fees go as separate rows, each with its VAT rate, a negative fee becomes a “Discount” row, and the invoice total equals the order total to the last ban. A buyer with a CUI gets an invoice for the company, without a CUI for a private person. The CUI, the name and the register number can be corrected in the box itself.

Each invoice carries its own order reference and FGO checks for a duplicate: when the answer from FGO is lost, the retry links the invoice FGO already made and no second one appears. FGO errors (another company’s CUI, a shop address that is not registered, an unknown series, a service that is down) are shown in the box in plain words with a “Try again” button.

The invoice number, its state and the PDF link are kept with the order, and the “Invoices” tab lists every order with its FGO invoice, the state, the total and the reason when something stopped.

Settings

WooCommerce → FGO invoices: enter the API key, your company’s CUI and the shop address registered in FGO and press “Check connection”: the plugin shows the rights of the key and loads the VAT rates and document types. Below are the series, the document type, VAT payer or not, the unit, the product code (SKU), the payment term, the text on the invoice with the order number, the payment methods paid “later” (cash on delivery, bank transfer) and the checkout settings. The debug mode writes a WooCommerce log without the key.

What Pro adds

Invoices by status. Pick the order statuses (for example “Processing”): the invoice is created in the background and the checkout never waits for FGO. The orders list gets the bulk action “Issue FGO invoices”.

Payments (încasări). The payment is recorded in FGO right after the invoice for orders paid at the checkout, when the order reaches a status (for example “Completed” for cash on delivery) or with a button; the payment type is set separately for cash on delivery.

Cancelling and storno. The invoice is cancelled by a status or a button; when the whole order is refunded the storno invoice is made, and a storno can be withdrawn (repune in vigoare). A partial refund leaves a note on the order.

e-Factura (SPV). FGO sends the invoice to SPV right after it is made (to companies or to everyone); a button and the SPV state of the document are there too.

E-mail to the buyer and the link. FGO e-mails the invoice to the buyer itself; the PDF link appears in My account and in the order e-mails.

AWB and series. The AWB is typed on the order or read from your shipping plugin and goes on the invoice. A separate series for private buyers and one for storno invoices.

Languages and updates. Interface: English and română; updates from catcode.com.ua.

Limits

  • FGO API v2 keys are available on the Premium and Enterprise subscriptions: a shop on a lower plan cannot connect the plugin.
  • The shop address on the settings page must equal the one registered in FGO (eCommerce → API) character for character; otherwise FGO refuses the invoice.
  • A storno in FGO reverses the whole invoice: a partial refund is only noted on the order and you correct it in FGO.
  • A VAT rate FGO does not take (it takes 21%, 19%, 11%, 9%, 8%, 5% and 0%) stops the sending with an explanation.
  • The rows must add up to the order total: otherwise no invoice is made and the box shows the reason.
  • When the e-mail to the buyer is on and the buyer’s e-mail is not valid, the invoice is made and the sending of the e-mail stops with a status on the order.
  • The document type, series and VAT rates for your company are for you and your accountant to agree: the plugin gives no tax advice.

How it works, step by step

  1. Install the plugin and activate it (WooCommerce must be active).
  2. In FGO (eCommerce → API) create an API key and register the address of your shop.
  3. In WooCommerce → FGO invoices enter the key, your company’s CUI and the same shop address and press “Check connection”.
  4. Set the invoice series, the document type and VAT, and save.
  5. Open an order and press the button that issues the invoice in the “FGO invoice” box.
  6. In Pro switch on invoices by status, payments, e-Factura and the e-mail to the buyer.

Under the hood

  • FGO API v2 (api.fgo.ro): requests leave your server only after the key is saved and only for actions you run or switch on; in the test environment they go to api-testuat.fgo.ro.
  • FGO gets the data an invoice needs: the CUI, the buyer’s company or name, e-mail, phone, address, the order rows with price and VAT rate, the currency, dates and the order number.
  • The API key is stored encrypted, never printed to the browser and never written to the log.
  • Invoices by status and retries run in the background through Action Scheduler.
  • Compatibility: next to e-Factura ANAF, SmartBill, Oblio or Keez from CatCode one sale gets one document.

How to install

  1. Plugins → Add New → Upload Plugin: choose the zip and activate it.
  2. WooCommerce → FGO invoices: enter the API key, the CUI and the shop address and press “Check connection”.
  3. Set the invoice series and the document type and save the settings.
  4. For Pro: paste the licence key or start the trial in the “Licence” section on the same page.

Selling on OpenCart? There is a separate module for it: FGO Invoices for OpenCart (4.x, 3.x, 2.3).

Questions
about the module

Didn't find the answer? Message us on Telegram and we'll reply within a business day.

@catcode_support Setup, compatibility, activation
Is this the official FGO plugin?

No, it is an independent integration by CatCode through the public FGO API. FGO is a trademark of its owner; the plugin is not affiliated with or endorsed by FGO.

Which FGO subscription do I need?

FGO API v2 keys are available on the Premium and Enterprise subscriptions. To get acquainted there is FGO's test environment (testuat.fgo.ro).

Why does FGO refuse the invoice with an unknown platform?

The shop address on the plugin settings page must equal the address registered in FGO (eCommerce → API) character for character: with https and without a trailing slash.

What if the answer from FGO does not arrive?

The plugin tries again with the same order reference. FGO answers with the invoice it already made and the plugin links it, so there is never a second invoice.

What about a buyer without a CUI?

The invoice goes to a private person; Pro has a separate series for such buyers.

Can invoices be issued automatically?

Yes, in Pro: by the order statuses you choose, in the background. By hand from the order box it works in the free version too.

Is the invoice sent to e-Factura?

In Pro: FGO sends the invoice to SPV right after it is made (to companies or to everyone) or by a button, and the state of the document shows on the order.

What about a partial refund?

FGO reverses a whole invoice, so a partial refund is only noted on the order and you make the correction in FGO.

What happens after the trial?

Pro switches off and the free part keeps working: the connection, the checkout fields, an invoice from the order, the PDF and the list of invoices.

How many sites does a key cover?

One key covers two sites: the shop and its test copy.

Not quite what you are looking for?

We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.

Order a custom module