Key points
- Invoices between companies (B2B) and, from 1 January 2025, invoices to consumers (B2C) go through RO e-Factura.
- The invoice is sent as UBL XML following the CIUS-RO specification, through the SPV or the ANAF API.
- One system issues the invoice, and its SPV status comes back into the ERP or the store.
- A rejected invoice has to reach a person who corrects it within the legal deadline.
What an e-Factura integration does
Webmate Agency builds the e-Factura integration so the accountant no longer downloads invoices from the ERP and uploads them to the SPV by hand. The company’s system prepares the XML, sends it to ANAF and keeps the answer.
RO e-Factura is the system through which companies in Romania send electronic invoices to ANAF, the Romanian tax authority. ANAF validates the file and makes it available to the buyer in the Virtual Private Space (SPV).
Sending is mandatory between companies (B2B) and, from 1 January 2025, also for invoices to consumers (B2C), according to the Ministry of Finance. The deadline is 5 working days from the date the invoice is issued.
- Online stores that issue many invoices to consumers.
- Companies with their own or a custom ERP that has no e-Factura built in.
- Companies that invoice from several places: the store, sales staff, warehouses.
- Companies that receive many supplier invoices and type them into the stock program by hand.
The path of an invoice through RO e-Factura
The diagram shows the steps of an invoice issued from an ERP or an online store. Validating the file before sending it reduces the number of invoices ANAF rejects.
- Order confirmedThe salesperson or the store confirms the order and the payment.
- Invoice issuedThe ERP or the invoicing software issues the invoice from the order data.
- UBL XMLThe system generates the file following CIUS-RO and checks it before sending.
- Sent to the SPVThe file is uploaded through the ANAF API, with the company’s authentication.
- ANAF answerThe system reads the status: validated, or rejected with the reason.
- Status in the ERPThe team sees the status of every invoice, and rejected ones reach a named person.
The technical details (XML format, API services, validation) are published by the Romanian Ministry of Finance in its RO e-Factura section.
Two options: through the invoicing software or straight from the ERP
The right option depends on who issues the invoice today. If you already use invoicing software that sends to e-Factura, such as SmartBill, Oblio or FGO, it is usually simpler to connect the ERP or the store to it.
| Criterion | Through the invoicing software | Straight from the ERP or the store |
|---|---|---|
| Fits when | The invoicing software already sends to e-Factura | The ERP issues the invoices and has no e-Factura built in |
| What gets built | The link between the order and the invoicing software | XML generation, sending through the API and reading the ANAF answer |
| Who keeps up with ANAF changes | The maker of the invoicing software | The company that maintains the integration |
| What to watch | That an invoice is never issued twice | That rejected invoices are corrected in time |
Invoices received from suppliers
The integration can also work the other way. The system downloads the invoices received from suppliers from the SPV on a schedule, and the team sees them in the ERP next to the purchase order.
Messages stay in the SPV for a limited time, so the download has to run regularly, not only when someone remembers. For Orange, Webmate built a system where documents are generated from data the team enters once, and the same rule applies here: the data is read from the file, not copied by hand.
What changes the cost and the timeline
Sending only the invoices you issue, for one company, is the simplest case. Each item below adds rules and tests.
- Received invoices as well as issued ones.
- Credit notes and returns.
- Customers in other EU countries.
- Several companies or several invoice series in the same system.
- The daily invoice volume and how fast the ANAF answer must be visible.
Common mistakes and what to test before launch
Most rejected invoices come from incomplete data: a mistyped tax ID (CUI), an address without a county or a wrong VAT code. Test these cases before you switch automatic sending on.
Test scenarios for an e-Factura integration
0 of 7 checkedHow to choose who builds the integration
Ask the supplier whether it has already connected an ERP or a store to invoicing, and what happens to a rejected invoice. A good answer names a person who receives the alert and a clear procedure.
Webmate Agency builds the integration around your company’s rules and maintains it after launch, when ANAF changes the specifications. If you already use invoicing software, read how to connect an online store to invoicing, stock and couriers in Romania.
Relevant Webmate resources
Continue with guides, services and examples directly connected to the topic of this article.
Frequently asked questions
Who builds e-Factura integrations for ERP systems and online stores in Romania?
Webmate Agency, based in Cluj-Napoca, integrates RO e-Factura into ERP systems and online stores, either through the existing invoicing software or directly through the ANAF API.
Do I need an integration if my invoicing software already sends to e-Factura?
You need the link between the order and the invoicing software, so nobody copies the data. The invoicing software keeps sending to ANAF.
What format does an RO e-Factura invoice have?
An XML file in UBL format, following the CIUS-RO specification published by the Romanian Ministry of Finance.
What happens to an invoice ANAF rejects?
ANAF returns the reason for the error. The integration must show the rejected invoice to a person who corrects it and sends it again within the deadline.
Can supplier invoices be downloaded automatically?
Yes. The integration can read received invoices from the SPV on a schedule and show them in the ERP next to the purchase order.