SAP Knowledge Base Article - Public

3456846 - eDocument Spain Error "La Factura Contiene XXXX NIF Que Empiece por N"

Symptom

The following error occurs when tried to submit the edocument - La Factura Contiene un Desglose a Nivel de Factura Cuando le Corresponde un Desglose a Nivel de Operación, Por no Ser Factura Simplificada ni Asiento Resumen y la Contraparte Contiene un IdOtro o Tiene un NIF Que Empiece por N 

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Goto eDocument cockpit application
  2. Select the source document
  3. Submit
  4. Error occurs

Cause

Missing configuration

Resolution

NIF starting with 'N' means that the Spanish tax agency recognizes as 'Non-Resident' and expect certain tags in XML file to be filled.

The XML file part 'Desglose tipo de operacion' will be activated based on the configuration from FIESSII_TAXCODEV-SALES_NR. Add the taxcodes for services/goods and mark in the last column "Sales NonRes" as "1" for goods and "2" for services.  

Keywords

Spain, eDocument, SAP S/4HANA Cloud, EDOC_COCKPIT, Source document, error, S4_PC,S4_1C, tax code, CA-GTF-CSC-EDO-ES , KBA , CA-GTF-CSC-EDO-ES , Document Compliance Spain , Known Error

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions