Critical
SCHEMA-003
Mandatory Element Cardinality Violated
What This Error Means
One or more mandatory elements required by the UBL 2.1 XSD schema are either missing or appear more than once when the cardinality is [1..1]. This error fires before Schematron rules and typically indicates a structural generation bug in invoicing software.
How to Fix It
Validate against the UBL 2.1 Invoice schema (UBL-Invoice-2.1.xsd). Check that all [1..1] and [1..n] elements are present exactly once. Common missing elements: cbc:CustomizationID, cbc:ProfileID, cbc:InvoiceTypeCode.
XML Example
<!-- Required identification elements --> <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_3.0</cbc:CustomizationID> <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <cbc:ID>RE-2024-00123</cbc:ID> <cbc:IssueDate>2024-07-15</cbc:IssueDate> <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
Fix Automatically
Upload your invoice to our Smart Repair engine. It will detect and fix SCHEMA-003 errors automatically with a GoBD audit trail.
Open Smart RepairRelated Errors
Other commonly encountered validation errors