Error codes · xsd
cvc-complex-type.2.1In your invoicing software
Element declared as empty contains character or child content
This is the rejection, word for word: „[cvc-complex-type.2.1] cvc-complex-type.2.1 is an XSD schema-validation error raised by Xerces-based parsers when an element whose content type is declared as empty contains character data or child elements. The canonical message reads: "Element X must have no character or element information item [children], because the type's content type is empty."“
What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doRemove text, whitespace, and child nodes from the offending element, or route the data to the correct leaf if a real value was written into the wrong element.
If you enter it yourself in your invoicing software
Before
<cbc:AccountingCost> </cbc:AccountingCost>
After
<cbc:AccountingCost>COST-CTR-4100</cbc:AccountingCost>
What the finding looks likeExample
FindingStructure invalid · cvc-complex-type.2.1
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check