- Un seul AdditionalReferencedDocument AttachmentBinaryObject BT-125 est autorisé avec TypeCode 916.
Plus d’un ram:AttachmentBinaryObject est présent au total pour les documents référencés supplémentaires dont ram:TypeCode vaut 916. La règle autorise au maximum une pièce jointe pour ce type de document.
La règle limite le nombre de pièces jointes pour les documents référencés supplémentaires identifiés par TypeCode 916. Ce type de document peut donc comporter une seule pièce jointe binaire au maximum.
Plusieurs pièces jointes sont indiquées pour les documents référencés supplémentaires de TypeCode 916. La facture peut être ajustée pour ne contenir qu’un seul ram:AttachmentBinaryObject pour ce type.
- Recherchez dans
ApplicableHeaderTradeAgreementles élémentsram:AdditionalReferencedDocumentavecram:TypeCode916. - Vérifiez
AdditionalReferencedDocument.AttachmentBinaryObjectetAdditionalReferencedDocument.Filename, ainsi que l’appel àAddAdditionalReferencedDocument(...). - Assurez-vous qu’il n’y a pas plus d’un
ram:AttachmentBinaryObjectau total pour ce type. - Générez de nouveau la facture et vérifiez-la à nouveau.
<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
Détails techniques
Le XPath compte les éléments ram:AttachmentBinaryObject dans ram:AdditionalReferencedDocument dont la valeur normalisée de ram:TypeCode est 916 et en autorise un au maximum.
La règle s’applique à ram:AdditionalReferencedDocument dans ApplicableHeaderTradeAgreement au niveau du document.
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