[CII-SR-476] - Mit TypeCode 916 ist nur ein AdditionalReferencedDocument AttachmentBinaryObject BT-125 zulässig.
Mehr als ein AttachmentBinaryObject ist unter den AdditionalReferencedDocument-Elementen mit TypeCode 916 enthalten. Insgesamt darf diese Kombination höchstens einmal vorkommen.
Die Regel begrenzt auf ein eingebettetes Dokument mit dem Dokumenttypcode 916 (BT-125). Dadurch bleibt die Anzahl solcher Anhänge für diese Referenzart eindeutig.
Die Rechnung enthält mehrere eingebettete Dokumente mit TypeCode 916. Die Anzahl lässt sich auf ein Dokument begrenzen.
- Prüfen Sie die mit
TypeCode916 angelegtenAdditionalReferencedDocument-Einträge. - Prüfen Sie den Aufruf von
AddAdditionalReferencedDocument(...)und den Wert fürattachmentBinaryObject. - Stellen Sie sicher, dass insgesamt höchstens ein zugehöriges
AttachmentBinaryObjectvorhanden ist. - Erzeugen Sie die Rechnung neu und prüfen Sie sie erneut.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>...</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument> <ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>...</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>...</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)
- Information EN16931 XRechnung (CII) – overwrites CEN severity level "warning" because CII-SR-476 has a wrong rule context (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-5
- Information EN16931 XRechnung Extension (CII) – overwrites CEN severity level "warning" because CII-SR-476 has a wrong rule context (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-5
- Information EN16931 XRechnung CVD (CII) – overwrites CEN severity level "warning" because CII-SR-476 has a wrong rule context (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-5
Technische Details
Gezählt werden die AttachmentBinaryObject-Elemente unter AdditionalReferencedDocument-Elementen, deren normalisierter TypeCode dem Textwert 916 entspricht. Der Zähler darf höchstens 1 betragen.
Die Regel gilt für referenzierte Dokumente im ApplicableHeaderTradeAgreement der Rechnung.
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