BT-125 "Attached document" (ram:AttachmentBinaryObject) darf innerhalb von "Additional Supporting documents" (BG-24) höchstens einmal vorkommen.
Innerhalb dieses zusätzlichen unterstützenden Dokuments kommt ram:AttachmentBinaryObject mehr als einmal vor. Das angehängte Dokument BT-125 darf in diesem Dokument höchstens einmal enthalten sein.
BT-125 enthält das angehängte Dokument innerhalb der Dokumentengruppe BG-24. Die Begrenzung auf höchstens ein ram:AttachmentBinaryObject verhindert, dass mehrere Dokumentinhalte demselben unterstützenden Dokument zugeordnet werden.
Das zusätzliche unterstützende Dokument enthält mehrere ram:AttachmentBinaryObject-Elemente. Der Dokumentinhalt kann in diesem Dokument höchstens einmal angehängt werden.
- Entfernen Sie überzählige
ram:AttachmentBinaryObject-Elemente aus dem zusätzlichen unterstützenden Dokument. - Prüfen Sie
AdditionalReferencedDocument.AttachmentBinaryObjectoder den ParameterattachmentBinaryObjectbeim Aufruf vonAddAdditionalReferencedDocument(...). - Erzeugen Sie die Rechnung neu und prüfen Sie sie erneut.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>QUJD</ram:AttachmentBinaryObject> <ram:AttachmentBinaryObject>REVG</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>QUJD</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
AdditionalReferencedDocument.AttachmentBinaryObject(BT-125)AdditionalReferencedDocument.Filename(BT-125-2)FacturXInvoice.AddAdditionalReferencedDocument(id, typeCode, issueDateTime, name, referenceTypeCode, attachmentBinaryObject, filename, uriID)(attachmentBinaryObject: BT-125)
Technische Details
Der Test zählt die ram:AttachmentBinaryObject-Elemente im aktuellen ram:AdditionalReferencedDocument und verlangt höchstens eines.
Zusätzliche unterstützende Dokumente in ram:AdditionalReferencedDocument mit ram:TypeCode 916.
rule/@context)assert/@test)- 2026-08-312026-08-31 · Addedcustom level "information" for `CII-SR-475` and `CII-SR-476` because both rules have a wrong rule context in CEN Schematron 1.3.16 (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-4 and BR-TMP-5 in XRechnung Schematron