Error codes · xsd

cvc-complex-type.2.4.aIn your invoicing software

Invoice XML structure does not match the required schema

This is the rejection, word for word: „[cvc-complex-type.2.4.a] Your invoice file has a structural problem — required data elements are missing, in the wrong position, or unexpected elements are present. This is an XML Schema validation error, which means the basic structure of the file does not conform to the e-invoicing standard (UBL 2.1 or CII D16B). This is different from a business rule error: business rules check whether the data makes sense, while this error means the file format itself is wrong.

XSD error cvc-complex-type.2.4.a: "The content of element 'X' is not complete. One of 'Y' is expected." This fires when the XML document does not satisfy the content model of a complex type definition. Possible causes: missing required child element, element in wrong namespace, elements in wrong order (UBL is sequence-ordered), or unexpected element present.

What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doThis error cannot be fixed automatically. It needs to be corrected in the invoicing software that generated the file.
What the finding looks likeExample
FindingStructure invalid · cvc-complex-type.2.4.a
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check