BT-123 "Supporting document description" (ram:Name) may occur no more than once within "Additional supporting documents" (BG-24).
Within this additional supporting document, ram:Name occurs more than once. The supporting document description BT-123 may occur no more than once in this document.
BT-123 is the description of the additional supporting document in document group BG-24. Limiting it to at most one ram:Name prevents multiple description entries for the same document.
ram:Name is present more than once for the additional supporting document. The description can be provided only once in this document.
- Remove any extra
ram:Nameelements from the additional supporting document. - Check the value for
AdditionalReferencedDocument.Nameor thenameparameter in the call toAddAdditionalReferencedDocument(...). - Generate the invoice again and validate it once more.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:Name>Notice</ram:Name> <ram:Name>Annexe</ram:Name> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:Name>Notice</ram:Name> </ram:AdditionalReferencedDocument>
AdditionalReferencedDocument.Name(BT-123)FacturXInvoice.AddAdditionalReferencedDocument(id, typeCode, issueDateTime, name, referenceTypeCode, attachmentBinaryObject, filename, uriID)(name: BT-123)
Technical details
The test counts the ram:Name elements in the current ram:AdditionalReferencedDocument and permits no more than one.
Additional supporting documents in ram:AdditionalReferencedDocument with 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