Title: Country code does not match error
Last modified: September 27, 2022

---

# Country code does not match error

 *  Resolved [Joeri](https://wordpress.org/support/users/joeri1977/)
 * (@joeri1977)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/)
 * Hi,
 * A valid NL VAT number is validated as ‘not valid’. When I turn on Debug mode 
   I see:
 * 2022-09-27T14:23:27+00:00 INFO Error: Country code does not match () (Country:[
   NL]; VAT ID: [**************]; Company: []; Method: [])
    2022-09-27T14:23:27+
   00:00 INFO Error: Exception: INVALID_INPUT (Country: []; VAT ID: []; Company:[];
   Method: [soap]) 2022-09-27T14:23:27+00:00 INFO Error: VAT ID not valid (Country:[];
   VAT ID: []; Company: []; Method: [curl])
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcountry-code-does-not-match-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * (@omardabbas)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/#post-16065873)
 * Hello,
 * When you try on the site, can you please at the same time try on the official
   VIES website here:
    [https://ec.europa.eu/taxation_customs/vies/](https://ec.europa.eu/taxation_customs/vies/)
 * It’s sometimes a temp server issue, let us know if you still have the issue.
   
   Omar
 *  Thread Starter [Joeri](https://wordpress.org/support/users/joeri1977/)
 * (@joeri1977)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/#post-16068148)
 * Hello Omar,
 * I have tried and checked but on the official VIES website the Dutch VAT number
   is valid and on the website it’s not.
 *  Plugin Author [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * (@omardabbas)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/#post-16069552)
 * Okay, can you please share screenshots of plugin settings (1st & 2nd tab)?
 *  Thread Starter [Joeri](https://wordpress.org/support/users/joeri1977/)
 * (@joeri1977)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/#post-16092004)
 * Hi Omar,
 * I think I found the problem/solution. When I uncheck this option: Check for matching
   billing country code, the validation works. Maybe this is because I am using 
   an extra plugin for the registration form but I have to say that this plugin 
   was also used from this beginning and the validation did work before.
 * I would think that te option ‘Check for matching billing country code’ was also
   checked from the beginning but if this option was added by an update, and checked
   by default, then I guessing the issue started after the update.
 * Anyway, the validation is working again so that’s great!
 *  Plugin Author [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * (@omardabbas)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/#post-16097509)
 * Hey [@joeri1977](https://wordpress.org/support/users/joeri1977/)
 * Thanks for the feedback, no this option isn’t recent, it has been there for a
   couple of years, so I’m not sure what might cause this (maybe something from 
   the other plugin? I don’t know tbh).
 * Glad to know it’s all working fine now, will be available in case any help is
   needed, and if you’re enjoying the plugin, please consider [reviewing it](https://wordpress.org/support/plugin/eu-vat-for-woocommerce/reviews/#new-post).
 * Omar

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Country code does not match error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eu-vat-for-woocommerce_d1d0f0.svg)
 * [EU/UK VAT Validation Manager for WooCommerce](https://wordpress.org/plugins/eu-vat-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/eu-vat-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/eu-vat-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eu-vat-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eu-vat-for-woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/country-code-does-not-match-error/#post-16097509)
 * Status: resolved