Skip to Content

Checking Romanian VAT numbers against ANAF from your ERP: the public service's limits and how to get around them

November 4, 2026 by
Checking Romanian VAT numbers against ANAF from your ERP: the public service's limits and how to get around them

Almost every invoicing program in Romania does the same thing when you add a new customer: it takes the CUI (the company's tax ID), asks ANAF and fills in the name, address, Trade Register number and VAT status on its own. It's a small step, but it decides whether the invoice comes out right and whether it can be sent through e-Factura.

That step relies on ANAF's public web service. And the public service has its limits.

Where the lookup gets stuck

Maintenance windows. The ANAF service goes down periodically, most often at weekends or at night, and slows down after updates. That is exactly when an online shop takes orders from companies and an ERP wants to create the partner.

Volume limits. The public service accepts at most 100 CUIs per request and one request per second. If you want to recheck your whole partner base, say 20,000 companies before month-end closing, that means whole minutes of back-to-back requests, with the risk of being blocked halfway.

Response time. A lookup usually takes a few seconds. For a single partner it doesn't matter. For an order import or a nightly sync, the seconds add up.

Scattered data. VAT status lives in one service, balance sheets in another, tax debts in a separately published list, the e-Factura registry somewhere else. Each with its own format.

What api-date.ro does

api-date.ro is the NextERP service that collects company data from ANAF every day and serves it from its own infrastructure. To your software, it looks just like ANAF:

  • the same JSON format as ANAF's VAT lookup service (found, notFound, date_generale, inregistrare_scop_Tva...), so the code that reads the response stays unchanged;
  • typical response under 50 ms, because the data comes from our database, not from a real-time call to ANAF;
  • up to 1,000 CUIs per request, instead of 100;
  • it keeps working when ANAF is down: during maintenance or at weekends you get the latest collected data, and syncing resumes when the public service is back;
  • you only pay for companies found: CUIs that ANAF doesn't know show up in notFound and use no credits.

Integration: change the URL and add a key

If your software already checks CUIs against ANAF, switching takes two changes: the address you send the request to and a header with the API key.

```python import requests

r = requests.post( "https://api-date.ro/api/company/get", json=[{"cui": 12345678, "data": "2026-11-03"}], headers={"x-api-key": "ad_..."}, ) for firma in r.json()["found"]: print(firma["date_generale"]["denumire"]) ```

You generate the key from your api-date.ro account, right after signing up. The full documentation is at api-date.ro/docs.

In Odoo: two system parameters

The Romanian localization module that creates partners from their CUI (l10n_ro_partner_create_by_vat, from the OCA localization) already lets you change the service address and send an API key. There is nothing extra to install.

In Settings → Technical → System Parameters you add:

Key Value
l10n_ro_partner_create_by_vat.anaf_url https://api-date.ro/api/company/get
l10n_ro_partner_create_by_vat.anaf_api_key your key, ad_...

The module's default header is x-api-key, exactly the one api-date.ro expects. From then on, the button that fills in the partner from the CUI and the partner checks go through api-date.ro, with no other change to how you work.

More than VAT status

Under the same API key you also get other company data, each at one credit per response:

  • the annual balance sheet filed with ANAF, by indicator (/api/company/bilant);
  • tax debts from the latest list published by ANAF, by budget (/api/company/restante) — a "not found" answer means the company isn't listed with debts;
  • registration in the e-Factura registry and the registration date (/api/company/efactura);
  • the Farmers' Register, for the special VAT scheme in agriculture (/api/company/regagric).

Monitoring: find out when something changes at your partners

For anyone tracking a whole portfolio — an ERP with thousands of partners, an accounting firm with clients, a credit control team — there is also the reverse option. You give us the list of CUIs, we check them every day and send to your endpoint only the companies that changed: they became inactive, lost their VAT number, were deregistered. Messages are signed (HMAC), so you know for sure they come from us.

Monitoring is paid by capacity, not per check: you choose how many companies you track, from 100 to 75,000. For a large list, it's much cheaper than rechecking it yourself every day.

What it costs

Plan Requests per month Price per month (VAT included)
Free 100 0 lei, no card
Startup 5,000 75 lei
Pro 25,000 199 lei
Business 100,000 499 lei

Need a different amount? On the pricing page you pick exactly how many requests you need, and the price is calculated automatically. The quota resets monthly and the subscription can be cancelled at any time.

Launch offer: 15% off paid plans until 31 December 2026.

How to start

  1. Create an account on api-date.ro — you get 100 free lookups a month, no card required.
  2. Generate an API key from the portal.
  3. Change the URL in your software or add the two parameters in Odoo.

If you work with NextERP on Odoo and want us to do the setup, write to us at contact@nexterp.ro.

Checking Romanian VAT numbers against ANAF from your ERP: the public service's limits and how to get around them
November 4, 2026
Share this post
Archive