Wie validiere ich USt-IdNr in Magento für B2B-Kunden?
Categories:
Magento Developer Germany
USt-IdNr (VAT-ID) validation against the EU VIES service is mandatory for two reasons: (1) it lets you apply reverse-charge VAT (zero-rated B2B between EU member states), and (2) it’s a defence against fraud / refund-fraud audits.
Magento setup:
- Native VAT-ID validator — Magento ships a built-in VIES integration in Stores → Configuration → Customers → Customer Configuration → Create New Account Options. Toggle “VAT Number Validation” to Yes
- Customer-group auto-assign — valid USt-IdNr + non-DE country → reverse-charge group; valid + DE → standard 19% group; invalid → B2C group
- Cache the result — VIES is rate-limited; we cache valid responses for 7 days, invalid for 1 hour
- B2B portal gate — for module-based B2B (Adobe Commerce B2B), USt-IdNr is the primary trust signal for company onboarding
We also emit a per-invoice VIES validation receipt so your finance team can audit reverse-charge eligibility in retrospect.
Was this helpful?