VATID Validation PRO for B2B

Product number: LenzPlatformVatIdValidation

Icon: Self Hosted / Cloud
Icon: Shopware Version (5 / 6)
Kompatibilität: mind. SW 5.x.x

Video
Description
Feature-Request
Installation manual
Changelog
Plugin configuration

Videos to "VATID Validation PRO for B2B"

No Videos here

 

Product information "VATID Validation PRO for B2B"

Enchance the vat id validation in your Shopware shop with our app "VAT-ID Validation PRO". This app adds many functions that are important for you if you deliver to companies in the European Union. Here are the functions of our app:

Functionallity:

  • Checks vat id of companies in the European Union
  • Every request to an api is logged in the database, so you can prove, that you checked if the vat is valid.
  • Validation takes place automatically 1x per day when the customer is active in the online shop or when the address changes. In the event of a change of address, the new delivery address is checked immediately.
  • A validation of the USTID during registration is optionally possible.
  • When the USTID is stored in the customer account, it is validated and checked for validity.
  • Your customers are shown directly on the order confirmation page (checkout) whether the validation was successful and if not, the validation errors are displayed directly in an overview with suggested solutions.
  • The validation of the USTID takes place for your customers who have their registered office in countries that are marked as tax-exempt, at the conclusion of the order. If the USTID is correct, the order will be displayed without VAT.
  • Please note: The countries that are tax-free must be set for each country under Settings -> Shop -> Countries. This was previously possible in the app and has now changed to the Shopware standard. 
  • Please note: German USTIDs are not validated.
  • Note: During registration, the billing address is always checked, regardless of the app settings.
  • For the validation of companies from Northern Ireland, Northern Ireland must be created as a separate country and activated there "Tax free for companies". The country ISO for Northern Ireland must be GB or XI.
  • From version 2.0.22: In the customer account, the validation type for this customer can be individually adjusted via an custom field.

Notices to APIs:

EU-API:
  • Bulgaria: Api currently not responding. Will marked as validated.
  • Estland: No validation of city possible.
  • Ireland: Zipcode can not be validated.
  • Litauen: Zipcode can not be validated.
  • Romania: Zipcode can not be validated.
  • Spain: No validation possible. Spain is always marked as valid. Please check spain vat ids manually.

Please check with you tax accountant if the app is suitable for you. We cannot take responsibility.

Requirements:

  •  php-soap
Compatibility: min. 6.4.x.x
Shopware Version: Shopware 6
Useable in: Self-Managed

 

Plugin configuration for "VATID Validation PRO for B2B"
Your vat id

Enter your vat id here, that the app can validate your customers vat id.

Address for validation

You can specify which address is to serve as the basis for validation. You can choose between the billing address or the delivery address. We recommend that you always use the delivery address.

Validation on registration

The validation of the UST-ID takes place during registration. You can choose between "None", "Offline", "Simple" and "Extended". "Offline" triggers only offline validation (more than 3 characters and less than 15). "Simple" checks if vat is is valid. "Extended" checks if vat id is valid and vat id belongs to address and suitable suggestions for correction are displayed.

Validation on profile update

The validation of the UST-ID takes place when the USTID is changed in the profile of your customer. The validation types "None", "Offline" and "Simple" are available for selection. With "Offline", only the offline plausibility check (more than three characters and less than 15 characters) is carried out. With "Simple" it is checked whether the VAT ID is valid.

Validation on taxfree delivery + checkout

You can determine which validation type is selected for your customers who can order tax-free due to their country. You can choose between the validation types "Offline", "Simple" and "Extended". With "Offline", only the offline plausibility check (more than three characters and less than 15 characters) is carried out. With "Simple" it is checked whether the VAT ID is valid. With "Extended", the system checks whether the VAT ID and the address match each other and displays suitable suggestions for correction.

Accept Validation if all APIs return an error

active/ inactive

Additional validation for taxfree shipping

There are the validation types "None", "Same address" and "Same country for billing and shipping". The app checks whether the selected address matches the address of the USTID for "Same address". This way you can prevent foreign customers from entering the USTID of a company and then having the goods delivered tax-free to their private address. With "Same country for billing and shipping" it is checked whether the delivery country of the delivery and billing address is identical.

Show notice if empty vat id on /checkout/confirm page and "Tax-free (B2B)" for that country enabled.

active / inactive

Translate address suggestion to latin alphabet?

active / inactive

Block order with invalid vat id check
With this function you can prevent orders from being completed if the USTID check is not valid. Only when the USTID check is valid, the order can be completed.


Installation manual for "VATID Validation PRO for B2B"
  1. Install and activate the extension.
  2.  Configure the app. The following settings are necessary for the plugin to work correctly:
    - Your USTID must be entered.
    - The validation on change of address must be active.
    - The validation before saving the order must be active. 
  3. Under Settings -> Shop -> Login/Registration the option "Show selection between company and customer account" must be activated.
  4.  For countries that are tax-free, the option "Tax-free for companies" must be activated under Settings -> Shop -> corresponding country.
  5. Done.
Configuration hints:
  • Enter your VAT-ID in the settings without spaces so that the validation works! 
  • Activate the validation on change of address and on order completion. If there are problems with the general address validation, deactivate the validation at change of address. We do not recommend deactivating the validation at order completion! 
  • Configure the countries for which you want to enable tax-free delivery!

 

Changelog for "VATID Validation PRO for B2B"
Version 5.0.5

BUGFIX | Updated SE validation pattern for EU API.

Version 4.0.5

BUGFIX | Updated SE validation pattern for EU API.

Version 5.0.4

IMPROVEMENT | Added api timeout to plugin config.

Version 4.0.4

IMPROVEMENT | Added api timeout to plugin config.

Version 5.0.3

IMPROVEMENT | Updated HU-Regex.

Version 4.0.3

IMPROVEMENT | Updated HU-Regex.

Version 5.0.2

TASK | Added nl_NL translation for storefront.

Version 4.0.2

TASK | Added nl_NL translation for storefront.

Version 5.0.1

BUGFIX | Prevent error for not logged in customers.

Version 4.0.1

BUGFIX | Prevent error for not logged in customers.

Version 5.0.0
BUGFIX | Order block could be bypassed by changing HTML attribute.
IMPROVEMENT | Improved handling for non ascii characters.

BUGFIX | Shopware 6.5 admin js compatibility.

Version 4.0.0
BUGFIX | Order block could be bypassed by changing HTML attribute.

IMPROVEMENT | Improved handling for non ascii characters.

Version 2.0.23
TASK | Compatibility with Shopware 6.5.
FEATURE | Added validation request data to log entity.
Requirements:
- The plugin now requires at least Shopware version 6.5.0.0.

- BEFORE UPDATING TO SHOPWARE 6.5.0.0, deactivate the app, then update, then activate.

Version 2.0.22

FEATURE | Added custom field to use different validation type for specific customers.

Version 2.0.21

BUGFIX | PL-Vat ids could not alway be validated.

Version 2.0.20

BUGFIX | Prevent error message on empty vat id.

Version 2.0.19

BUGFIX | Improved handling for API errors.

Version 2.0.18

IMPROVEMENT | Added Twig blocks to confirm page.

Version 2.0.17

FEATURE | Show vat id in order detail (administration).

Version 2.0.16

BUGFIX | Private customer registration fixed.

Version 2.0.15

TASK | Added compatibility with Shopware >= 6.4.12.0.

Version 2.0.14

BUGFIX | Prevent wrong vat id with (, . - (space)) to be valid.

Version 2.0.13
IMPROVEMENT | Added validation for XI (Northern Ireland).
Notes:
- We recommend to add Northern Ireland as seperate country and only check taxfree for companies there.

- Country-ISO for Northern Ireland has to be XI or GB.

Version 2.0.12

TASK | Added missing translations in english snippets.

Version 2.0.11

BUGFIX | Tax was not calculated correctly with validation setting on billing address. (when billing address was with tax and shipping address was without tax for B2B)

Version 2.0.10

IMPROVEMENT | Added option to block orders with invalid vat id check.

Version 2.0.9

IMPROVEMENT | Added option to translate address suggestions to latin alphabet.

Version 2.0.8
BUGFIX | Better handling for empty vat id.
IMPROVEMENT | Added option to show/hide notice on /checkout/confirm page if country is tax free for B2B and no vat id is entered.

TASK | Changed snippet text of ``checkout.lenzVatIdValidation.header``.

Version 2.0.7
IMPROVEMENT | Better compatibility with third party plugins.
BUGFIX | Updated detection of SI-address data.

IMPROVEMENT | Added event on logging.

Version 2.0.6
IMPROVEMENT | Added option to select address for validation (billing or shipping).
IMPROVEMENT | Use always billing address for checking vat id on registration.
TASK | Compatibility with Shopware 6.5.x.x.

BUGFIX | Tax was in some cases not calculated correctly for private addresses.

Version 2.0.5
BUGFIX | Validation box on /checkout/confirm showed even if no validation could be done (e.g. Switzerland).

TASK | Code cleanup in TaxDetecto

Version 2.0.4

BUGFIX | Fixed a bug (from Shopware), that prevents registering, when wrong validation occurs on registration address

Version 2.0.3

IMPROVEMENT | Updated PL regex

Version 2.0.2

IMPROVEMENT | Prevent validation of swiss uid (CHE-XXX.XXX.XXX).

Version 2.0.1

BUGFIX | Disabled validation for private customers / private addresses.

Version 2.0.0

TASK | New development of the plugin for Shopware 6.4.0.0 because Shopware no longer stores the VAT ID with the addresses, but with the customer account.

ATTENTION: After the update a reconfiguration of the plugin is necessary. Please open the configuration of the plugin and set the settings as desired. Our recommendation:
  • Validation on registration: extended
  • Validation on profile update: simple
  • Validation on taxfree delivery + checkout: extended
  • Accept validation if all APIs return an error: activ

  •  Additional validation for taxfree shipping: same country for billing and shipping
ATTENTION: After the update, the countries that are tax free must be set for each country: Settings -> Shop -> Countries. This was previously possible in the plugin and has now changed to the Shopware standard.
New features:
  • Validation is now executed 1x per day automatically when customer is in the store.
  • Validations are now stored and processed in such a way that validation is only performed when the address changes or max. 1x per day when the address data is the same. Exception: Customer changes the delivery address. Then the new delivery address is checked immediately.
  • Customer gets on order confirmation page (/checkout/confirm) an overview displayed whether the validation of the VAT ID has worked. There he can see which validation errors there are directly.
  • Validation at registration can be set.
  • Validation when depositing the VAT ID in the customer account can be checked for validity.
  • Validation before sending the order, with note of intra-community supply.
  • Tax free for companies must now be set under Settings -> Shop -> Countries for each country, before this was possible in the plugin.

  • Information about validation: https://www.frankfurt-main.ihk.de/recht/steuerrecht/umsatzsteuer_international/innergemeinschaftliche_lieferungen/
Version 1.0.18
TASK | Updated plugin.png.

IMPROVEMENT | Compatibility with Shopware 6.5.3.x.

Version 1.0.17
BUGFIX | Registration with wrong validation was broken after form submit.

BUGFIX | Error was thrown if api did respond with no response.

Version 1.0.16
IMPROVEMENT | Added option to bypass the check if all APIs return with an error.

TASK | Code cleanup.

Version 1.0.15

IMPROVEMENT | Added new API response to responses, that are marked as API not reachable.

Version 1.0.14

BUGFIX | Registration with wrong validation was broken after form submit.

Version 1.0.13
TASK | Removed GB because of Brefix.
TASK | Removed option "Extended + Confirmation", because it is not allowed anymore.

Please check and set option "Online validation type" after updating.

Version 1.0.12
IMPROVEMENT | Offline validation checks if country fits to vat id.
TASK | Disabled vat id check on ajax address editor, because Shopware cannot display validation errors there.
IMPROVEMENT | Entered values for street, zipcode and city are now prefilled after errors on validation.
TASK | Bugfix for Shopware error is not necessary anymore and therefore removed.

Notice: Always enable "Validation on before order save enabled".

Version 1.0.11

TASK | Fixes a bug that comes from Shopware and does not allow to register after wrong validation.

Version 1.0.10

IMPROVEMENT | France-EU-API-Validation ignores parts of address that are not relevant.

Version 1.0.9

BUGFIX | Fixes a bug that was introduced in v1.0.8.

Version 1.0.8

TASK | Fixes a bug that comes from Shopware and does not allow to register after wrong validation.

Version 1.0.7
BUGFIX | Prevent error on empty config value "taxFreeCountriesWithVatId".
IMPROVEMENT | Added options to choose where validation should be enabled (address change, order save).

TASK | Code cleanup.

Version 1.0.6

IMPROVEMENT | Added option to deliver vat free in selected countries with vat id set.

Version 1.0.5

BUGFIX | Allow HTML in database fields.

Version 1.0.4
TASK | Support for Shopware 6.3.0.0.
BUGFIX | Fixed a bug on account-personal page.
BUGFIX | Fixed wrong block name from Shopware (component_address_personal_account_type).

IMPROVEMENT | Keep company data in form if form validation is not valid.

Version 1.0.3

BUGFIX | Fixed a typo in twig template.

Version 1.0.2

BUGFIX | Removed debug code.

Version 1.0.1

IMPROVEMENT | Fixes a bug in Shopware that prevents "I am"-field in registration on validation error.

Version 1.0.0

BUGFIX | Removed bug on register page with different shipping address and vat id.

Version 0.0.2
BUGFIX | Removed debug output after checkout.

IMPROVEMENT | Offline validation refactored.

Version 0.0.1
Initial plugin release for Shopware 6.