Account
English

BR-TMP-5: BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within…

XRechnung rule · Warning · CII

StandardXRechnung 3.0.2 (KoSIT, German CIUS of EN 16931)SeverityWarning: the invoice is accepted but should be correctedSyntaxCIIBusiness terms
  • BG-24 Additional supporting documents
  • BT-125 Attached document
Applies toXRechnung in UBL or CII syntax, including ZUGFeRD / Factur-X PDFs with the XRECHNUNG profile. Invoices to German public authorities (federal, state and municipal) must pass it.

Official rule text

[BR-TMP-5] BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within "Additional Supporting documents" (BG-24).

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

Why this error occurs

The element or combination is not allowed in this context. The file contains something the standard forbids: an element that must not be repeated, a value that contradicts another field, or data that belongs to a different profile.

How to fix it

Remove the offending element or make the two fields consistent as described in the rule text. If your software adds the element automatically, check for a profile setting (e.g. "EN 16931" vs "EXTENDED") or an export option that suppresses it.

What the validator checks

Checked element (context):

CII

/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument[ram:TypeCode = '916']

Test (XPath):

count(ram:AttachmentBinaryObject) <= 1

Check your invoice

Drop your XML or PDF on the validator and every failed rule is linked to its page here. Free, no account, the file is not stored.

Check your invoice →

Same check via API:

curl -F file=@invoice.xml https://einvoicechecker.com/v1/validate

Related rules

Frequently asked questions

What does BR-TMP-5 mean?

BR-TMP-5 is a xrechnung rule: BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within "Additional Supporting documents" (BG-24).

Will my invoice be rejected because of BR-TMP-5?

No. BR-TMP-5 is a warning: the invoice is accepted but the recipient sees the notice. Fix it anyway, warnings often become errors in later rule versions.

Which formats does BR-TMP-5 apply to?

XRechnung in UBL or CII syntax, including ZUGFeRD / Factur-X PDFs with the XRECHNUNG profile. Invoices to German public authorities (federal, state and municipal) must pass it. Syntax: CII.

Source: XRechnung 3.0.2, schematron 2.6.0 (KoSIT, September 2026). Catalogue generated from the official schematron on 2026-10-14.