Error codes · xsd

cvc-complex-type.4In your invoicing software

Required attribute is missing from an invoice element

This is the rejection, word for word: „[cvc-complex-type.4] An XML element in your invoice is missing a required attribute. In Peppol and UBL invoices, this typically means a monetary amount is missing its currencyID attribute, or an identifier is missing its schemeID. The element itself is present, but it lacks required metadata that receiving systems need to process it correctly.“

XSD error cvc-complex-type.4: "Attribute 'X' must appear on element 'Y'." This fires when an element's complex type definition requires an attribute that is not present on the element. Most common in Peppol: missing currencyID on cbc:TaxAmount, cbc:LineExtensionAmount, cbc:TaxExclusiveAmount, or missing schemeID on cbc:EndpointID.

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. Add the missing attribute in your invoicing software.
What the finding looks likeExample
FindingStructure invalid · cvc-complex-type.4
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check