How do I validate Adószám (Hungarian tax-ID) + VIES for EU B2B in Magento?

Two Hungarian B2B identifiers, two validators:

  • Adószám, the 11-digit Hungarian tax-ID, format 12345678-1-23 where the first 8 digits are the unique taxpayer ID, the middle digit is the ÁFA status (1-5), and the last 2 digits are the regional code. Validated against NAV’s public taxpayer register (free SOAP / REST API).
  • EU VAT (HU prefix), Hungarian EU VAT format HU + 8-digit core. Validated via the VIES VAT service (EU-wide) for cross-border B2B.

For Magento B2B we:

  1. Add Adószám + EU VAT fields to the customer entity (or B2B company on Adobe Commerce).
  2. Validate Adószám against NAV’s register on registration, rejects invalid / suspended / closed entities, auto-fills company name + ÁFA status.
  3. Validate EU VAT against VIES for cross-border zero-rated B2B sales (intra-EU reverse charge).
  4. Apply 0% ÁFA on B2B intra-EU sales with a valid VIES-validated EU VAT number; 27% on HU-domestic B2C and HU→HU B2B without VIES; 5%/18% for reduced-rate categories.
  5. Cache validations 30 days, re-validate on any address change.
Kishan Savaliya
Kishan Savaliya
Adobe Certified Magento Commerce Developer
Ahmedabad [IN]working hours, replies within four hours
When do you need it

Read personally. Never shared. Or email the brief.

More on magento developer hungary

Need it fixed, not just explained?

Send the brief with your store URL; the written quote comes back within 24 hours.