Symptom
- When creating a model 55 NFe (Brazilian electronic invoice) debit note, type 04 (fine/interest), the XML tag for the tax field ICMS is automatically set to 40 when the law field (J_1BDYLIN-TAXLW1) is not filled.
- This behavior is incorrect for NFe with document type D, as ICMS information should not be included in the XML.
- Similarly, if the IPI law field (J_1BDYLIN-TAXLW2) is not filled, the XML tag for cEnq is populated, which is incorrect for this type of document.
- The error message encountered is: "[Error] - cvc-type.3.1.3: The value '' of element 'cEnq' is not valid."
Read more...
Environment
SAP S/4HANA PRIV. CL. ED.
SAP/R3
Outbound
Product
SAP R/3 all versions ; SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA all versions
Keywords
NFe, Brazilian electronic invoice, XML tag, document type D, tax field, J_1BDYLIN-TAXLW1, J_1BDYLIN-TAXLW2, ICMS, cEnq, incorrect population, SAPLJ_1B_NFE, LJ_1B_NFEF80, FORM MAP_TAX, error message, cvc-type.3.1.3 , KBA , FI-LOC-NFE-BR-OUT , Outbound , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview