# BR-TMP-5

Source: https://xmlvalid.com/rules/BR-TMP-5

> BT-125 "Attached document" (ram:AttachmentBinaryObject) darf innerhalb von "Additional Supporting documents" (BG-24) höchstens einmal vorkommen.

- Level: warning
- Rule sets: XRechnung 3.0 rules (CII) 2.6.0
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument[ram:TypeCode = '916']`
- Test: `count(ram:AttachmentBinaryObject) <= 1`

Validate a document against these rules: https://xmlvalid.com/validate
