Error codes · xsd
cvc-complex-type.2.2In your invoicing software
Invoice XML elements are in the wrong order
This is the rejection, word for word: „[cvc-complex-type.2.2] The elements in your invoice XML are in the wrong order. UBL 2.1 and CII D16B schemas use strict element ordering (xs:sequence), which means child elements must appear in a specific order. Even if all the right elements are present with correct values, having them in the wrong order causes a schema validation failure.“
XSD error cvc-complex-type.2.2: "Invalid content was found starting with element 'X'. One of {'Y'} is expected." This fires when an element appears where a different element is expected according to the schema's sequence definition. For example, cbc:IssueDate before cbc:ID violates the UBL Invoice sequence.
What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doInvoice Navigator can automatically reorder elements to match the UBL 2.1 schema sequence.
What the finding looks likeExample
FindingStructure invalid · cvc-complex-type.2.2
Location__from_error_message__
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check