Symptom
You replicate business partners from your external system to C4C (Cloud for Customer) and you also send tax numbers in the message. However, you get an error with regards to the tax numbers in the payload.
In many cases the error can be fixed and/or avoided by checking and correcting the following:
- Check the version of the iflow you use in your middleware as there might be a relevant update which solves the issue.
- Check your configuration in C4C Business Configuration > Countries > Edit Countries > Select the respective country and check Tax Attributes.
Environment
SAP Hybris Cloud for Customer
Reproducing the Issue
Send a business partner from your external system to C4C and observe the message in Administrator work center > Web Service Message Monitoring.
Resolution
You see one of the following error messages in the problematic message's error log in Web Service Message Monitoring:
Case 1:
Error: 'Value is longer than the maximum permitted length 20: ABC' (where ABC represents the tax ID)
Solution: The number of characters for tax numbers is limited to 20 characters. That is the expected system behaviour in the current release of C4C.
Case 2:
You try to update the tax number in C4C, the value is coming in the message, but the change is not happening in C4C.
Solution: You need to check if the taxNumberListCompleteTransmissionIndicator is coming in the message and it is set to 'true'. (Make sure, you use the most recent version of the iflow.)
Case 3:
Error: 'ISO code is not assigned to a country key'
Solution: You need to check the tax number maintained for the respective country and the length setup for the same in Business Configuration > Countries > Edit Countries > Select the respective country and check Tax Attributes.
Case 4:
Error: 'Tax category code DEF is not supported' (DEF represents the tax category code)
Solution: Follow the instructions in 2438243 - Tax category code ABC is not supported Error - Replicating Business Partners.
Case 5:
Error: 'First 9 digit of Account number should be numeric' or "Specify field VAT Reg.No. with length 11"
Solution: Please remove any non-numerical characters from the Tax number in the External System.
Keywords
tax number, business partner replication, taxNumberListCompleteTransmissionIndicator, tax attributes, ISO code, country key , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-INT-CRM , Integration of C4C with CRM , How To