Validate Vat Registration and Tax Number 1 for EU countries
Introduction: In this post, I will discuss how standard SAP can validate VAT registration code and Tax number 1 during business partner creation. Without a need to call VIES Website.
Business process overview: During SAP business partner creation I want to know if the Vat registration is accurate or not.
Problem: During Business Partner (BP) creation in SAP, by standard country config SAP will only check length of VAT and if the VAT starts with appropriate country code, for which it looks at tax category of business partner. Rather I want SAP to also check if VAT code is correct as well.
Below is the screen shot of current configuration of DE (Germany). Per this config SAP will make sure the VAT registration is exactly 13 character long by looking at checking rule.
If I try to create a business partner with a VAT registration code as DE000000000 (11 Characters) SAP will accept as this is all current configuration is tell SAP to do. See below screen shot no errors found.
I will now do configuration for Germany to have SAP check if the VAT registration code is accurate or not.
SPRO –> General Settings –> Set Countries –> Set Country-Specific checks
Here I will select country code DE (Germany) and click on details
Here I will flag other data which is nothing but letting SAP start validating VAT and other tax numbers in SAP and SAVE.
Test: Now I will try to create Business Partner in SAP with VAT as DE000000000. Let’s see if SAP will allow it as this is not a valid VAT code.
Result SAP outputs a hard error stating that VAT is invalid.
Therefore, instead of building a web call to vies website I can do this simple config to validate VAT during Business Partner creation.