EU B2B VAT validation is not working

9 years 8 months ago #247968 by thanili
EU B2B VAT validation is not working was created by thanili
I have got an issue on configuring VAT for B2B (EU country) on CBSubs. I have followed the instructions described in this post:

www.joomlapolis.com/forum/88-usage/149045-eu-vat-server

In order to configure VAT (B2C, B2B) for EU and non EU countries, however CBSubs does not seem to work for B2B in EU (check VAT and if valid set it to zero).

- It is supposed that VAT should be zero for EU countries (B2B only)
- Also VAT VIES validation does not seem to work!

Could you please take a look at my DEV website?

dev.destinationcrete.gr/my-crete/register-cb

Also, are there any sample VAT ids for testing purposes?

Please Log in to join the conversation.

9 years 8 months ago #247971 by thanili
Replied by thanili on topic EU B2B VAT validation is not working
Is there any way by which i could check VIES response? Any debugging options?

Please Log in to join the conversation.

9 years 8 months ago - 9 years 8 months ago #247972 by thanili
Replied by thanili on topic EU B2B VAT validation is not working
OK! I am using a valid Cyprus VAT in order to test VIES integration and in the history log i am receiving the following error:

EU VAT VIES error condition: "INVALID_REQUESTER_INFO" for request on VAT: "CY10313153G", faultcode: "


This is the full log of history events, change log, and error log.
Event type:	Error log	
Event time:	08/16/2014 13:10:59	
Message:	EU VAT VIES error condition: "INVALID_REQUESTER_INFO" for request on VAT: "CY10313153G", faultcode: "	
Table affected:	Payment baskets	
Table Key:	44	
Change:		
Change:		
Username:	System	
Full name:	-	
User Id:	0	
IP Address:	62.38.61.148	
Log Priority:	Notice	
Log Id:	4525

and in the following history log entry there is the vat_verification json string:
{"status":"INVALID_REQUESTER_INFO","identifier":"soap:Server","request":{"countryCode":"CY","vatNumber":"10313153G","traderName":"INTRAFAC LTD Company","traderStreet":"13 Konstantinou Economaki str","traderPostcode":"44343","traderCity":"Nicosia","requesterCountryCode":"EL","requesterVatNumber":" 800579435"},"result":{"faultstring":"INVALID_REQUESTER_INFO","faultcode":"soap:Server"},"time":"2014-08-16 11:10:59"}

ANY IDEAS about what is causing the error?

Please Log in to join the conversation.

9 years 8 months ago #247976 by thanili
Replied by thanili on topic EU B2B VAT validation is not working
Finally the error seem to be cause by a blank space between coutry code + vat id in the field:

Seller EU Tax id starting with 2 country letters: ELXXXXXXXXX

initially it was set as: EL XXXXXXXXX

!!! Please write a remark in field's explanation text !!! or trim it in code out of blank spaces ...

Please Log in to join the conversation.

9 years 8 months ago #247993 by beat
Replied by beat on topic EU B2B VAT validation is not working

thanili wrote: Finally the error seem to be cause by a blank space between coutry code + vat id in the field:

Seller EU Tax id starting with 2 country letters: ELXXXXXXXXX

initially it was set as: EL XXXXXXXXX

!!! Please write a remark in field's explanation text !!! or trim it in code out of blank spaces ...


Thanks for the suggestion!

Removing whitespaces is a good, userfriendly, idea, although normally the VAT codes are a single word, it is certainly nerving for users inputting spaces that it doesn't recognize the VAT. Logged this idea with #4621 for one of next CBSubs versions.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.223 seconds

Facebook Twitter LinkedIn