2017 © Pedro Peláez
 

library m2-vatfallback

Provides free VAT fallback mechanism

image

dutchento/m2-vatfallback

Provides free VAT fallback mechanism

  • Thursday, July 19, 2018
  • by sandermangel
  • Repository
  • 4 Watchers
  • 9 Stars
  • 316 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 9 Versions
  • 71 % Grown

The README.md

Vatfallback for Magento 2

Vatfallback module provides an API based validation and a fallback offline regex validation for the unstable VIES database used by Magento, (*1)

Please find the Magento 1 version here., (*2)

Supported services

  • VIES check (this is the official endpoint but not the built-in Magento version)
  • vatlayer.com check
  • Regex fallback check for following countries; AT, BE, CZ, DE, CY, DK, EE, GR, ES, FI, FR, GB, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, SE, SI, SK
  • Caching of previous results

Features

1) A plugin that replaces the existing VAT check in Magento Customer implementing various services with means of fallback., (*3)

2) Use the console task: ./bin/magento vat:validate NL NL133001477B01, (*4)

3) Use the API endpoint to get company data by VAT number http://domain.com/rest/V1/vat/companylookup/NL133001477B01, (*5)

4) Add a GraphQL endpoint by installing elgentos/m2-vatfallback-graph-ql, (*6)

5) Caching service for VAT request (be sure to enable the VAT cache under Cache Management), (*7)

Installation

shell composer require dutchento/m2-vatfallback bin/magento setup:upgrade, (*8)

Tested on

  • Magento 2.2
  • Magento 2.3
  • Magento 2.4

Changelog

See https://github.com/Dutchento/m2-vatfallback/releases, (*9)

Requirements

  • PHP >= 7.0
  • GuzzleHTTP

Disclaimer

Warning: Since all of the free VIES API's are slow and somewhat unreliable the checkout steps could become slow while checking., (*10)

Authors

Authors M1 Version

The Versions

19/07 2018

dev-master

9999999-dev

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

20/02 2018

1.3.1

1.3.1.0

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

20/02 2018

dev-develop

dev-develop

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

20/02 2018

dev-xmlvat

dev-xmlvat

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

13/02 2018

1.3.0

1.3.0.0

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

10/02 2018

1.2.0

1.2.0.0

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

10/02 2018

1.1.1

1.1.1.0

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

10/02 2018

1.1.0

1.1.0.0

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires

10/02 2018

1.0.0

1.0.0.0

Provides free VAT fallback mechanism

  Sources   Download

MIT

The Requires

 

The Development Requires