SAP Knowledge Base Article - Public

2597161 - Adding a Tax Number to an Exisiting Account Not Possible via Web Service ManageCustomerIn


When you try to add a tax number to an exisiting account by using the web service ManageCustomerIn, you receive the error message 'Update not possible; specified data for CUSTOMER-TAX_NUMBER with key COUNTRY_CODE = `XX` AND TAX_TYPE_CODE-CONTENT = 'Z' does not exist' (XX represents the Tax Country Code and Z represents the Tax Number Type Code).


SAP Hybris Cloud for Customer

Reproducing the Issue

You are sending an XML request similar to the following XML request, e.g. via SOAP UI.

Example erroneous XML request:

 <n0:CustomerBundleMaintenanceRequest_sync_V1 xmlns:n0="">
 <Customer actionCode = "02">
  <TaxNumber ActionCode = "02">

ABCDEF stands for the internal account number of the customer you want to update.

After the call has been triggered you receive a XML response as follows.

Example erroneous XML response:

 <n0:CustomerBundleMaintenanceConfirmation_sync_V1 xmlns:n0="" xmlns:prx="">
   <Note>Update not possible; specified data for CUSTOMER-TAX_NUMBER with key COUNTRY_CODE = `XX`  AND TAX_TYPE_CODE-CONTENT = `Z` does not exist</Note>


Because you used ActionCode = "02" in your XML request for the element <TaxNumber ActionCode = "02">, the system throws the error message. This ActionCode is only used for updating existing data. However, when you check the account master data, so far no tax number is maintained.


Instead of using ActionCode = "02", use either ActionCode "01" or "04". "01" for the functionality to create an entry and "04" to save an entry ("04" is a combination of "01" create and "02" update functionalities).


ManageCustomerIn, Account, Tax Number , KBA , LOD-CRM-ACC , Account , Problem


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions