
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.
- 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
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.
What it looks like
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
November 2026.
Frequently bought with FGO Invoices


Romania Couriers for WooCommerce — FAN Courier, Sameday and Cargus: home delivery and lockers

Abandoned Cart Recovery for WooCommerce

eMAG Marketplace Connector for WooCommerce — eMAG prices, stock and orders in your store
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
- Install the plugin and activate it (WooCommerce must be active).
- In FGO (eCommerce → API) create an API key and register the address of your shop.
- In WooCommerce → FGO invoices enter the key, your company’s CUI and the same shop address and press “Check connection”.
- Set the invoice series, the document type and VAT, and save.
- Open an order and press the button that issues the invoice in the “FGO invoice” box.
- 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
- Plugins → Add New → Upload Plugin: choose the zip and activate it.
- WooCommerce → FGO invoices: enter the API key, the CUI and the shop address and press “Check connection”.
- Set the invoice series and the document type and save the settings.
- 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.
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.
No reviews yet. Be the first.
No questions yet. Ask one — we answer within 24 hours.
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
Buying the module
—
Charged in UAH; your bank converts it to your currency. EUR price is approximate.

















