SAP Knowledge Base Article - Preview

3801136 - XML Invoice Type Code not differentiated for Normal vs ERS when same document type is used

Symptom

In the France e-Reporting supplier list, all invoices receive the same XML type code (either 380 or 389) regardless of whether the document is a normal supplier invoice or an ERS/self-billing invoice.

  • The same invoice verification document type (for example, RE) is used for both scenarios
  • In view EDOCMINVTYPECODV, document type RE is mapped to 380; as a result, both invoice types are assigned 380
  • When no mapping is found in view EDOCMINVTYPECODV, the XML falls back to 389
  • Behavior is observed in class CL_EDOC_MAP_FR_EREP_DOC_IVERIF, method FILL_TR_INVOICE, where the fallback assigns 389 without checking the ERS indicator
  • Issue affects e-Reporting only; e-Invoicing is not affected


Read more...

Environment

  • SAP ERP
  • SAP S/4HANA
  • SAP Document Reporting and Compliance service
  • France Electronic Reporting

Product

SAP Document and Reporting Compliance service all versions ; SAP ERP all versions ; SAP S/4HANA all versions

Keywords

france e-reporting, supplier list, xml typecode, 380, 389, edocminvtypecodv, cl_edoc_map_fr_erep_doc_iverif, fill_tr_invoice, ers, self-billing, invoice verification RE, e-document type, edoc_adaptor, change_edocument_type, fallback 389 , KBA , CA-GTF-CSC-EDO-FR-RE , France Electronic Reporting , 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.