At most one Name for documents with TypeCode 916

Warning CII-SR-475 Syntax (UBL/CII)

- Only one AdditionalReferencedDocument Name BT-123 is allowed with TypeCode 916.

Recommendation: The invoice remains valid but should be corrected so that it can be processed automatically.
What is wrong

More than one ram:Name is present in total for additional referenced documents whose ram:TypeCode is 916. The rule allows at most one Name for this document type.

What the rule means

The rule limits the number of names for additional referenced documents identified by TypeCode 916. This keeps the corresponding document information unambiguous.

Affected fields BT-123
Please use no more than one document name for `TypeCode` 916

More than one document name is entered for the additional referenced documents with TypeCode 916. The invoice can be adjusted so that only one ram:Name is included for this type.

What to do
  1. Find the ram:AdditionalReferencedDocument elements with ram:TypeCode 916 in ApplicableHeaderTradeAgreement.
  2. Check AdditionalReferencedDocument.Name and the call to AddAdditionalReferencedDocument(...).
  3. Ensure that there is no more than one ram:Name in total for this type.
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ApplicableHeaderTradeAgreement>
  <ram:AdditionalReferencedDocument>
    <ram:TypeCode>916</ram:TypeCode>
    <ram:Name>Document A</ram:Name>
  </ram:AdditionalReferencedDocument>
  <ram:AdditionalReferencedDocument>
    <ram:TypeCode>916</ram:TypeCode>
    <ram:Name>Document B</ram:Name>
  </ram:AdditionalReferencedDocument>
</ram:ApplicableHeaderTradeAgreement>
✓ Correct
<ram:ApplicableHeaderTradeAgreement>
  <ram:AdditionalReferencedDocument>
    <ram:TypeCode>916</ram:TypeCode>
    <ram:Name>Document A</ram:Name>
  </ram:AdditionalReferencedDocument>
</ram:ApplicableHeaderTradeAgreement>
Check in FactoorSharp
  • AdditionalReferencedDocument.Name (BT-123)
  • FacturXInvoice.AddAdditionalReferencedDocument(id, typeCode, issueDateTime, name, referenceTypeCode, attachmentBinaryObject, filename, uriID) (name: BT-123)
Different severity at KoSIT
  • Information EN16931 XRechnung (CII) – overwrites CEN severity level "warning" because CII-SR-475 has a wrong rule context (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-4
  • Information EN16931 XRechnung Extension (CII) – overwrites CEN severity level "warning" because CII-SR-475 has a wrong rule context (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-4
  • Information EN16931 XRechnung CVD (CII) – overwrites CEN severity level "warning" because CII-SR-475 has a wrong rule context (see https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/508); replaced by BR-TMP-4
Technical details

The XPath counts ram:Name elements in ram:AdditionalReferencedDocument whose normalized ram:TypeCode value is 916 and allows no more than one.

Where the rule applies

The rule applies to ram:AdditionalReferencedDocument within ApplicableHeaderTradeAgreement at document level.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
Test expression (assert/@test)
count(ram:AdditionalReferencedDocument[normalize-space(ram:TypeCode) = '916']/ ram:Name) <= 1
Changes in the KoSIT validation rules
  • 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