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
- Goto eDocument cockpit application
- Select the source document
- Submit
- 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 , Spain , Known Error