- Es ist nur ein AdditionalReferencedDocument AttachmentBinaryObject BT-125 mit TypeCode 916 zulässig.
Für zusätzliche Referenzdokumente mit ram:TypeCode gleich 916 ist insgesamt mehr als ein ram:AttachmentBinaryObject vorhanden. Die Regel erlaubt höchstens einen Anhang für diesen Dokumenttyp.
Die Regel begrenzt die Anzahl der Anhänge für die mit TypeCode 916 gekennzeichneten zusätzlichen Referenzdokumente. Für diesen Dokumenttyp kann somit höchstens ein binärer Anhang angegeben sein.
Bei den zusätzlichen Referenzdokumenten mit TypeCode 916 ist mehr als ein Anhang eingetragen. Die Rechnung lässt sich anpassen, indem nur ein ram:AttachmentBinaryObject für diesen Typ enthalten ist.
- Suchen Sie in
ApplicableHeaderTradeAgreementdieram:AdditionalReferencedDocumentmitram:TypeCode916. - Prüfen Sie
AdditionalReferencedDocument.AttachmentBinaryObjectundAdditionalReferencedDocument.Filenamesowie den Aufruf vonAddAdditionalReferencedDocument(...). - Stellen Sie sicher, dass insgesamt höchstens ein
ram:AttachmentBinaryObjectfür diesen Typ vorhanden ist. - Erzeugen Sie die Rechnung erneut und prüfen Sie sie nochmals.
<ram:ApplicableHeaderTradeAgreement> <ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>QQ==</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument> <ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>Qg==</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument> </ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeAgreement> <ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:AttachmentBinaryObject>QQ==</ram:AttachmentBinaryObject> </ram:AdditionalReferencedDocument> </ram:ApplicableHeaderTradeAgreement>
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
Der XPath zählt ram:AttachmentBinaryObject-Elemente in ram:AdditionalReferencedDocument, deren normalisierter ram:TypeCode-Wert 916 ist, und erlaubt höchstens eines.
Die Regel gilt für ram:AdditionalReferencedDocument innerhalb von ApplicableHeaderTradeAgreement auf Dokumentenebene.
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