All modulesMagento 2 module

VAT number company lookup

A business customer types the VAT number and the store fills in company name, street, postcode and city. At checkout, in registration, in My Account and in the admin.

€190 + VAT · one-off licence, installation optional

www.degriz.eu
At the checkout the shopper types the VAT number, clicks Get company data and the form fills itself in
About the module

What it does.

"Business customers type their company name and address by hand, make mistakes, and the invoice is wrong." A company's VAT number is public, and the data is already in the registers.

What it looks like

At checkout the customer types SI73078492. Company, street, postcode and city are filled in at once, and under the field it says "Company data filled in from the FURS taxpayer list (as of 14.10.2026). Registered for VAT: yes." If the number is not in a register or a register is down, the customer fills in the fields as before. They are never blocked.

What changes

  • Name and address from public sources. Slovenia: the official FURS taxpayer lists (free open data, kept as a copy on your server and refreshed every day; they also know companies and sole traders not registered for VAT), then VIES. The Inetis directory is an optional fallback and is off by default. Croatia: VIES and the Sudreg court register. Other EU countries: VIES, the European Commission's system.
  • Everywhere a customer enters a company. Checkout (Luma and Firecheckout), registration, My Account › Addresses (Luma and Hyvä), and a "Check" button in the admin for customer addresses and new orders.
  • Honest when it fails. Messages for "number not in the register", "register unavailable", "this register has no postcode" and "please check the address". An outage is never remembered as an answer.
  • Fits Magento's own VAT validation. A checked number is written to the address so customer groups and tax rules see it without another call. Optionally, Magento's check runs over VIES REST instead of SOAP, which often fails to connect.
  • Control. A lookup log with no tax numbers in clear text, hourly limits, a connection test per register and a diagnostic command.
  • English, Slovenian, Croatian and German.

Who it is for

Stores with business customers in Slovenia, Croatia and the EU that want fewer invoice errors and less typing at checkout.

How to set it up

Under Stores › Configuration › Magelan › VAT lookup choose where the module works, the trigger (on leaving the field, a button or both), the allowed countries and the registers. The VAT number field has to be visible first (Customers › Customer Configuration › Show VAT Number on Storefront). Tell us what you want and we can set it up for you.

Good to know

  • The FURS lists are official open data (licence CC BY 4.0) that the module downloads to your server once a day, so nothing is sent while the customer waits. Inetis is not an official FURS interface, is off by default and we have no contract with it. VIES is a European Commission system; the module is not affiliated with it.
  • VIES only knows businesses registered for VAT, and some countries keep the company data back; then we tell the customer the number is valid and they fill in the fields.
  • Outside Slovenia and Croatia the address arrives as one line and is split on a best-effort basis, so the customer is always asked to check it.
  • The Sudski registar keeps no postcode and no sole traders.
  • The data is informative. The customer sees it before placing the order and can correct it; the merchant, not the source, is responsible for the data on the invoice.
  • Slovenian numbers are looked up in the local copy of the FURS lists and go nowhere; only a number that is not on the list is sent on (VIES, Sudreg, Inetis if you switch it on). For sole traders the tax number, name and address are personal data (also in the local copy; you can leave the sole traders list out), so describe the check in your privacy policy; a suggested wording is in the module's README. The log stores keyed hashes only, never the number.
  • A validity confirmation without a VIES consultation number is not sufficient proof for an intra-EU VAT exemption; keep your own evidence (VIES record, order, transport documents).

Want it in your store?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
The VAT number field at the checkout with its lookup button
www.degriz.eu
Company, street, postcode and city are filled in from the official list and the shopper stays on the same page
www.degriz.eu
The lookup log in the admin: country, register, outcome and duration
www.degriz.eu
Settings: where the lookup works, the registers and the connection to them
Installation

How to install it.

We install the module from our repository with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install it for you.

In the root of the Magento 2 store run the commands (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriznet/m2_vatlookupphp bin/magento module:enable Magelan_VatLookupphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

Setup

In the admin open Stores › Configuration › Magelan › Checkout VAT Lookup.

  1. Switch the module on, choose the trigger (on leaving the field, a button or both) and the countries (SI,HR by default).
  2. In the Registers group check the order: Inetis (Slovenia), VIES and Sudreg (Croatia). Enter the Client ID and Secret for Sudreg.
  3. Save and clear the cache, then test the lookup at checkout with a known VAT number.

The lookup display at checkout belongs to the theme and we adapt it to your checkout during installation.

Where do I get the user name and the access key?

After the payment we e-mail you a link to create the access key. Keep the key safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Create a new one in your account under Module licences; the old one stops working.

Technical details

Compatibility.

Just the facts.

Code
degriz_vatlookup
Platform
Magento 2
Licence
One-off
Testing
Fully tested on our staging stores with demo content, not yet running in a live shop. When we install it, we check it together with you and adjust it to your shop.
Change log

Version 2.1.1 · 14 Oct 2026

  • Once the official FURS lists work for the first time, the Inetis fallback source is switched off once automatically; if you switch it on again, it stays on.

Version 2.1.0 · 14 Oct 2026

  • The official FURS taxpayer lists are the first source for Slovenia; they are imported into a local table by a command, cron and a button in the settings.
  • Settings for sole traders and natural persons registered for VAT, and for a daily or weekly refresh.
  • The customer sees that company data was filled in from the FURS list, with the date of the list.
  • More reliable download with a retry.

Version 2.0.2 · 14 Oct 2026

  • Corrected texts: sources are named more precisely as public sources.

Version 2.0.1 · 13 Oct 2026

  • Fix: the lookup log grid in the admin no longer interferes with other grids.
  • Lookup results are stored in the default cache.

Version 2.0.0 · 13 Oct 2026

  • A company lookup field by tax number at checkout (Luma and Firecheckout), in registration and My Account (Luma and Hyvä), and a Check button in the admin.
  • Company data is filled in automatically; if nothing is found, the customer fills it in as before.
  • A lookup log in the admin.

Version 1.0.1 · 11 Oct 2026

  • Company data from public sources: the Slovenian FURS list via Inetis, Croatian Sudreg and VIES as a fallback.
  • Settings follow the common Magelan layout.

Version 1.0.0 · 3 Aug 2026

  • First release.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes 12 months of free updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

VAT number company lookup

€190 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. We agree on a date after reviewing the request.

Frequently asked questions

Questions we get most often.

Which countries does it cover?

Slovenia (the official FURS taxpayer lists, kept on your server, then VIES), Croatia (VIES and the Sudreg court register) and other EU countries through VIES. You choose the allowed countries yourself.

What if there is no register or the number is not in it?

The customer fills in the fields themselves, as before. The module never blocks them, and the message tells them what happened.

Does it work in Firecheckout and Hyvä?

Luma checkout and Firecheckout, registration and My Account on Luma and Hyvä, and the administration. Hyvä Checkout has not been tested yet.

Why does the customer check an address outside Slovenia and Croatia?

The register returns the address on a single line. We split it as best we can, so we ask the customer to review it.

Where does the Slovenian data come from, and is Inetis still used?

From the official free taxpayer lists that FURS publishes as open data (licence CC BY 4.0). The module downloads them to your server and refreshes them every day (or every week), so the answer is instant and nothing is sent while the customer waits. The lists also know companies and sole traders without VAT. The Inetis directory is an optional fallback and is off by default; it is not an official FURS interface.

Do you store tax numbers, and what do I put in my privacy policy?

The query log keeps only keyed hashes, not numbers or addresses. A Slovenian number is looked up in the local copy of the FURS lists and goes nowhere; only a number that is not on the list is sent on (VIES, Sudreg, Inetis if you switch it on). For sole traders the number, name and address are personal data, also in the local copy (you can leave the sole traders list out). The module's README has a suggested privacy-policy paragraph for you to adapt.

Does it replace Magento's VAT validation?

No. It writes the verified number to the address so that customer groups and tax rules can see it. Optionally Magento's own validation can run through VIES REST instead of SOAP.

Is the check proof for a VAT exemption?

Not on its own. The VIES answer is only one piece of evidence, and this version does not obtain a VIES consultation number. Keep the evidence for tax audits yourself. This is not tax advice.

Is the data from the sources always correct?

Not necessarily. A source returns what it holds in its register; the customer sees the data and can correct it. The merchant is responsible for the correct data on the invoice. The European Commission expressly does not accept responsibility for the accuracy of VIES.

What if the FURS lists cannot be downloaded?

The import quietly tries again, the old copy stays in use, and the error is visible in the settings (Last import). Until the first import has finished, the module handles Slovenian numbers with the next register (VIES).

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · +386 40 807 231

VAT number company lookup€190 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.