Error codes · xsd

cvc-pattern-validIn your invoicing software

Value does not match the regex pattern declared in the schema

This is the rejection, word for word: „[cvc-pattern-valid] cvc-pattern-valid is an XSD facet-validation error raised when an element or attribute value fails the xsd:pattern regular expression declared on its simple type. The canonical message reads: "Value 'X' is not facet-valid with respect to pattern 'P' for type 'T'." In EN 16931 invoice payloads it usually fires on identifier fields (BT-30 Seller legal registration ID, BT-46 Buyer identifier, BT-90 Bank assigned creditor identifier), date fields with a stricter UN/CEFACT format pattern, and country-CIUS extensions like the Italian fattura tax-ID pattern.

What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doRead the failing pattern and value out of the validator message; apply a deterministic transformation (trim, upper-case, pad, strip prefix) where one is safe, otherwise the caller must supply the corrected identifier.
If you enter it yourself in your invoicing software
Before
<cbc:EndpointID schemeID="0088">123 456 789 01</cbc:EndpointID>
After
<cbc:EndpointID schemeID="0088">1234567890123</cbc:EndpointID>
What the finding looks likeExample
FindingStructure invalid · cvc-pattern-valid
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check