Error codes · xsd
cvc-enumeration-validIn your invoicing software
Value is not in the declared enumeration (invalid code list entry)
This is the rejection, word for word: „[cvc-enumeration-valid] cvc-enumeration-valid is an XSD facet-validation error raised when the value of an element or attribute does not appear in the enumeration the schema declares. The canonical message reads: "Value X is not facet-valid with respect to enumeration [A, B, C ...]. It must be a value from the enumeration." In EN 16931 invoices it fires on unit codes, currency codes, document type codes, and tax category codes.“
What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doReplace the invalid value with a valid entry from the relevant code list; Invoice Navigator applies safe mappings (PCS to H87, Kr to NOK, and similar) automatically where they exist.
If you enter it yourself in your invoicing software
Before
<cbc:InvoicedQuantity unitCode="PCS">10</cbc:InvoicedQuantity>
After
<cbc:InvoicedQuantity unitCode="H87">10</cbc:InvoicedQuantity>
What the finding looks likeExample
FindingStructure invalid · cvc-enumeration-valid
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check