Validation rules

cvc-minLength-valid

A value is shorter than the minimum length its datatype requires — often an empty element where content is mandatory.

Rule
cvc-minLength-validofficial EN 16931 / XRechnung rule
Severity
error
Detected by
tier 2 — XML schema (XSD)
Reachability
Only reachable when validating your own XML — normbill-generated documents cannot trigger it

normbill's serializer emits schema-valid XML by construction; this can only fire for XML submitted to /v1/invoices/validate.

How to fix it

Fill the element or attribute with a real value, or remove it entirely if it is optional.

cvc-minLength-valid auf Deutsch — was bedeutet der Fehler?

Der KoSIT-Validator lehnt das Dokument bereits bei der XML-Schema-Prüfung (XSD) ab: Ein Wert ist kürzer als die vom Datentyp geforderte Mindestlänge — häufig ein leeres Element, das Inhalt haben muss.

So beheben Sie den Fehler

Befüllen Sie das Element bzw. Attribut mit einem echten Wert — oder entfernen Sie es ganz, wenn es optional ist.

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.