web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Is there a way to make Tax/VAT Registration No. and Country validation less strict?

(0) ShareShare
ReportReport
Posted on by 20

The Customer card has fields for Country and Tax/VAT Registration No.  We're writing an integration between Dynamics GP and Business Central and want to push these fields from GP to BC, with the Country field coming from the GP customer's primary address.  In GP, you can have a Country and Tax/VAT Registration No. which don't match, but in Business Central the Tax/VAT Registration No. must match one of the Tax/VAT Registration No. Formats for the customer's country.  Is there anyway to make this check less strict?

I have the same question (0)
  • Verified answer
    Tech-Lucky Profile Picture
    1,261 Super User 2025 Season 2 on at
    RE: Is there a way to make Tax/VAT Registration No. and Country validation less strict?

    No there is no way to less strict the validations but yes you can bypass the validations during the Data Transmission from GP to BC through the API Level by not validating the Customer Master Fields but this will impact in future when the data would be used in the transaction level the same errors would be occur.

  • Jonathon Minard Profile Picture
    20 on at
    RE: Is there a way to make Tax/VAT Registration No. and Country validation less strict?

    Thanks.  I ended up going with subscribing to the OnBeforeVATRegistrationValidation event on the customer table and setting IsHandled to 'true'.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,553

#2
Sumit Singh Profile Picture

Sumit Singh 2,057

#3
YUN ZHU Profile Picture

YUN ZHU 1,915 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans