Code Monkey home page Code Monkey logo

business-tax-vat-validation's People

Contributors

bigpresh avatar davel avatar fschlich avatar pvoglhofer avatar tswfi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

business-tax-vat-validation's Issues

ServerMS_MAX_CONCURRENT_REQ

Invalid response, please contact the author of this module. env:ServerMS_MAX_CONCURRENT_REQ

Seems as they are throttling access to the service, somehow. Most probably you can't do anything about it, but providing a better error message, but just so you know.

Cheers and thanks for the module!

HTTP Connection to VIES not working anymore

Since today a call to the VIES URL http://ec.europa.eu/taxation_customs/vies/services/checkVatService results in an attempt to redirect from HTTP to HTTPS. Since this does not work on the API level, it results in an error code 257 with the following message:

Invalid response [302], please contact the author of this module. <HTML><HEAD> <TITLE>Redirect</TITLE> </HEAD> <BODY> <FONT face="Helvetica"> <big><strong></strong></big><BR> </FONT> <blockquote> <TABLE border=0 cellPadding=1 width="80%"> <TR><TD> <FONT face="Helvetica"> <big>Redirect (policy_request_redirect)</big> <BR> <BR> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> Click <a href="https:&#x2F;&#x2F;ec.europa.eu&#x2F;taxation_customs&#x2F;vies&#x2F;services&#x2F;checkVatService">here</a> if you are not automatically redirected. </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica" SIZE=2> <BR> For assistance, contact your network support team. </FONT> </TD></TR> </TABLE> </blockquote> </FONT> </BODY></HTML>

To fix this the Base URL needs to be changed from HTTP to HTTPS.

UK VAT numbers can no longer be validated?

According to https://ec.europa.eu/taxation_customs/vies/

As of 01/01/2021, the VoW service to validate UK (GB) VAT numbers ceased to exist while a new service to validate VAT numbers of businesses operating under the Protocol on Ireland and Northern Ireland appeared. These VAT numbers are starting with the “XI” prefix, which may be found in the “Member State / Northern Ireland” drop down under the new entry “XI-Northern Ireland”. Moreover, any quote of “Member State” is replaced by “Member State / Northern Ireland” and any quote of “MS” is replaced by “MS / XI”. All traders seeking to validate UK (GB) VAT numbers may address their request to the UK Tax Administration.

Always check fault-code - VIES can return errors with a 200 OK status

It looks like VIES can return a timeout error with a HTTP 200 status.

Kindly reported by Friedrich Gehring at ePages:

thank you for maintaining the module for the VATID validation
Business::Tax::VAT::Validation. While using it with our software
epages, we encountered the following problem: We receive an error
code 257 from your module and the related error message from the VIES
database is as follows:

"Invalid response, please contact the author of this module
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">soap:Bodysoap:Faultsoap:ServerTIMEOUT</soap:Fault></soap:Body></soap:Envelope>"

Looks like, if we can't trust VIES to set a non-200 status on error, then we should always look for the faultcode/faultstring elements - should be a fairly simple fix.

License ambiguity

Its unclear if this is GPL, GPL-3, or GPL-1+

Vague:

# #
# THIS SOFTWARE IS RELEASED UNDER THE GNU Public Licence #
# Please see COPYING for details #
# #

GPL-1?:

=head1 LICENSE
GPL. Enjoy! See COPYING for further information on the GPL.

GPL-3??:

AUTHOR => 'David Precious <[email protected]>',
LICENSE => 'GPL_3',
META_MERGE => {

Suggesting GPL-1:

# #
# THIS SOFTWARE IS RELEASED UNDER THE GNU Public Licence #
# See COPYING for details #
# #

# #
# THIS SOFTWARE IS RELEASED UNDER THE GNU Public Licence #
# See COPYING for details #
# #

Obviously, the COPYING file is GPL-3, and it looks like the overwhelming intent was to make it GPL-3 licensed. However, in some places the reference point is slightly ambiguous.

For instance, it's usually stated "Under the GNU Public License version 3", or in other cases "Under the GNU Public License version 3, or at your choice, any newer version", or something like that, to make it less necessary. As-is, I can't tell if the intent is "GPL-3" or "GPL-3+"

EU has changed their SOAP endpoint? "The given SOAPAction http://www.w3.org/2003/05/soap-envelope does not match an operation"

Got some reports from our customers that VATID checks were only doing local checks.

cloned the master branch and tested with the example cli script.

$ perl -I ../lib vat_cli.pl FI22486726
Error 257 : Invalid response, please contact the author of this module. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>The given SOAPAction http://www.w3.org/2003/05/soap-envelope does not match an operation.</faultstring></soap:Fault></soap:Body></soap:Envelope>

Tried to find some changelog type thing from EU site but could not find any.

But these two pages point to different wsdl files:
https://ec.europa.eu/taxation_customs/vies/technicalInformation.html
https://ec.europa.eu/taxation_customs/vies/faq.html#item_18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.