Home / Use cases
EU VAT API Integration Guides
Practical guides for integrating EU VAT validation into your product. Each guide covers the implementation steps, working code examples, and API response handling — scoped to the platform or workflow you're building on.
All guides use the TaxID API: GET /api/v1/validate/:country/:vat — VIES-backed, sub-10ms for cached results, 100 free validations/month.
Platform integrations
Add EU VAT validation to existing checkout and commerce platforms.
Validate EU VAT numbers in Stripe Checkout
Add EU VAT validation to your Stripe checkout flow. Verify customer VAT numbers server-side before applying B2B zero-rate exemptions, ensuring you only exempt valid registered businesses.
UK VAT validation in Shopify B2B
Validate UK VAT numbers for B2B customers in Shopify. Required under UK Making Tax Digital rules for businesses selling cross-border to UK companies.
WooCommerce Spain NIF/CIF validation
Validate Spanish NIF and CIF numbers in WooCommerce checkout. Automatically apply B2B tax exemptions for verified Spanish businesses and autonomos.
Code & framework guides
Language-specific examples for Node.js, Python, PHP, React, and Next.js.
EU VAT validation in Node.js
Implement EU VAT number validation in a Node.js or Express application. Includes error handling, caching strategy, and TypeScript types for the API response.
EU VAT validation in Python / Django
Validate EU VAT numbers in Python applications using the TaxID REST API. Works with Django, FastAPI, Flask, and any HTTP-capable Python code.
EU VAT validation in PHP / Laravel
Validate EU VAT numbers in PHP applications with Laravel, Symfony, or plain PHP. Includes service class, validation rule, and database storage pattern.
Real-time VAT validation in React checkout
Add real-time VAT number validation to your React checkout form. Validates as the user types, shows company name confirmation, and handles loading/error states.
Next.js server action for VAT validation
Use Next.js 14 Server Actions to validate EU VAT numbers server-side in a React form. No API route needed — validation runs securely on the server with full TypeScript types.
Business workflows
Implement VAT validation across billing systems, onboarding flows, and compliance pipelines.
EU VAT compliance for SaaS billing
Handle EU VAT for SaaS subscriptions. Validate customer VAT numbers at signup, determine B2B vs B2C tax treatment, and generate compliant invoices with the correct VAT amount.
DAC7 marketplace seller VAT verification
Verify seller VAT numbers during marketplace onboarding for DAC7 compliance. EU platforms must collect and validate tax IDs for sellers earning above the reporting threshold.
ERP supplier VAT number validation
Validate supplier VAT numbers in SAP, NetSuite, or Xero during onboarding. Prevent invalid numbers from entering your accounting system and causing rejected invoices.
Bulk VAT number validation via CSV import
Validate hundreds of EU VAT numbers in batch using parallel API requests. Ideal for CRM data cleansing, supplier audits, and initial data migrations.
Validate VAT numbers before invoice generation
Automatically validate customer VAT numbers before generating B2B invoices. Prevent invalid numbers from appearing on invoices that could be rejected by tax authorities.
EU OSS VAT validation for digital services
Validate customer registration status for EU One Stop Shop (OSS) digital services compliance. Determine whether B2B reverse charge applies or you must collect and remit local VAT.
Build a tax compliance platform with VAT validation
Integrate EU VAT validation as a core module in a tax compliance SaaS platform. Includes webhook notifications, audit logging, and multi-tenant architecture patterns.
Country-specific guides
Format details, common edge cases, and validation quirks for major EU markets.
Validate German USt-IdNr. (DE VAT numbers)
Specifically validate German Umsatzsteuer-Identifikationsnummern (USt-IdNr.) via VIES. Understand the difference between the local Steuernummer and the EU VAT number.
Validate French TVA numbers (FR VAT)
Validate French Numéro de TVA intracommunautaire. French VAT numbers have a unique format with alphanumeric characters that can include letters O and I.
Validate Dutch BTW numbers (NL VAT)
Validate Dutch BTW (Belasting over de Toegevoegde Waarde) numbers. Dutch VAT numbers include a unique B-sequence that identifies subsidiaries within a group.
Validate Spanish NIF and CIF numbers
Validate Spanish tax identifiers (NIF/CIF/NIE) through the VIES system. Understand the different formats for companies, individuals, and foreign nationals in Spain.
Validate Italian Partita IVA
Validate Italian Partita IVA numbers for B2B transactions. Includes local checksum validation (Luhn algorithm) and VIES lookup for active registration status.
Ready to integrate?
100 validations/month free. No credit card. API key in two minutes.