Error codes

BR-DEX-01: Das Element {name()} "Attached Document" (BT-125) benutzt einen nicht zulässigen

Severity: fatal · Syntax: CII, UBL

Official message

Das Element {name()} "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: {@mimeCode}. Im Falle einer Extension darf zusätzlich zu der Liste der mime codes (definiert in Abschnitt 8.2, "Binary Object") der MIME-Code application/xml genutzt werden.

What this means

The official message is: Das Element {name()} "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: {@mimeCode}. Im Falle einer Extension darf zusätzlich zu der Liste der mime codes (definiert in Abschnitt 8.2, "Binary Object") der MIME-Code application/xml genutzt werden. This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

Attached Document (BT-125)

Related rules

Context and assertion

UBL cbc:EmbeddedDocumentBinaryObject[$isExtension]

CII ram:AttachmentBinaryObject[$isExtension]

UBL

.[@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet' or @mimeCode = 'application/xml']

CII

.[@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet' or @mimeCode = 'application/xml']

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate