Symptom
Submission of a France Domestic Customer Invoice fails in the eDocument Cockpit with Service Error. The Application Log shows:
- The submitted document failed validation against the required format. Review the validation error file in the respective business system.
Exporting the ERROR_DRCC file from the document history reveals the underlying validation error:
- cvc-complex-type.2.4.b: The content of element 'n0:Invoice' is not complete. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":InvoiceLine}' is expected.
The generated UBL XML contains header data, TaxTotal, and LegalMonetaryTotal but no InvoiceLine elements. The TaxCategory/ID field contains the raw SAP tax code instead of a UBL-compliant tax category value.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create and release a domestic customer billing document for a French customer.
- Open the eDocument Cockpit.
- Search for the billing document.
- Choose Go to → Application Log.
- Choose Go to → History, and export the ERROR_DRCC file to view the detailed validation error.
Cause
France UBL e-invoicing requires at least one InvoiceLine element in the submitted XML. The system uses the configuration in Maintain Additional Attributes for Tax Codes (SSCUI 107164) to map SAP tax codes to UBL attributes, including Invoice Type and Profile ID, which are required to generate InvoiceLine elements. When the tax code used on the billing document has no entry in this configuration, the system cannot generate InvoiceLine elements, and the raw SAP tax code is written to TaxCategory/ID instead of the correct UBL category code.
Resolution
Please follow the steps below to resolve the issue:
- In the configuration environment, search for and open SSCUI 107164 — Maintain Additional Attributes for Tax Codes.
- Identify the tax code on the failing billing document by navigating to the item condition detail and checking the Account Determination section — Tax Code field.
- Add a configuration entry for the tax code, assigning Invoice Type, Profile ID, Tax Category, and Transaction Category based on your business requirements.
- Save the configuration.
- Create a new billing document and submit it through the eDocument Cockpit.
- Verify that the submission completes without error.
Note: The previously failed eDocument cannot be reused after the configuration change — a new billing document must be created.
See Also
Keywords
eDocument, France, InvoiceLine, UBL, cvc-complex-type, Tax Code, SSCUI 107164, Maintain Additional Attributes for Tax Codes, Domestic Customer Invoice, FRCINV, Approved Platform, Service Error, TaxCategory, ERROR_DRCC, eDocument Cockpit, Invoice Type, Profile ID , KBA , CA-GTF-CSC-EDO-FR , France Electronic Invoicing , Problem
SAP Knowledge Base Article - Public