SAP Knowledge Base Article - Public

2727036 - Tax number is invalid - Error When Replicating Business Partners for Country Spain

Symptom

You replicate business partners from SAP ERP to SAP Cloud for Customer (C4C) where the business partner's tax number category code belongs to Spain (ES). The message leaves your ERP system, but fails with the below error in C4C:

'Tax number is invalid'

Environment

SAP Cloud for Customer

Reproducing the Issue

Send a business partner with spanish tax number category code from ERP to C4C using interface: BusinessPartnerERPReplicationIn.

Observe the message in Administrator work center > General Settings view > Web Service Message Monitoring. The message fails with 'Tax number is invalid ' error.

Cause

The fiscal identification number for a Spanish person/company would be their DNI plus a letter, or a letter, seven digits and a check letter for the rest of

individuals.

For more details about the NIF, please, check the following site (it is in Spanish):

http://www.agenciatributaria.es/AEAT.internet/Inicio/La_Agencia_Tributaria/Campanas/Censos__NIF_y_domicilio_fiscal/Ciudadanos/Inform acion/NIF_de_personas_fisicas.shtml

The law that explains the composition of the NIF is Real Decreto 338/1990, article 2.

The NIF provided in the failed payload is not a valid one.

Resolution

To correct the issue, you should fill the field <PartyTaxID> with a valid NIF.

Keywords

Tax number is invalid, Spain, Tax number , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer all versions