Symptom
- It is not possible to change the VAT number for accounts via the SOAP API managecustomerin1.
- The issue arises when attempting to update a VAT number, for example, changing the France VAT number for a customer to a new value.
- Despite receiving a positive response from the API, the VAT number does not change.
- No error message is associated with this issue.
Environment
SAP Business ByDesign
Reproducing the Issue
- Attempt to update the VAT number for a customer using the SOAP API managecustomerin1.
- Observe that despite receiving a positive response from the API, the VAT number of the account does not change in the UI.
Cause
The issue may be due to the absence of a tax number action code in the SOAP request or due to an incorrect payload format.
Resolution
Use below example payload for country France and ensure that the correct account ID and tax ID is used:
<n0:CustomerBundleMaintainRequest_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BasicMessageHeader/>
<Customer actionCode="04">
<InternalID>ABC</InternalID>
<TaxNumber actionCode="04">
<CountryCode>FR</CountryCode>
<TaxIdentificationNumberTypeCode listID="FR">1</TaxIdentificationNumberTypeCode>
<PartyTaxID>FR168XXXXXXXX</PartyTaxID>
</TaxNumber>
</Customer>
</n0:CustomerBundleMaintainRequest_sync_V1>
(ABC represents the Internal ID of an account, FR represents a Country Code and FR168XXXXXXXX represents a Party Tax ID)
Keywords
SAP BYD, SOAP API, managecustomerin1, VAT number update, tax number action code, payload verification, fails, not updated, , KBA , SRD-MD-BP , Business Partner , Problem