How to fix BR-TMP-2
BT-124 "External document location" muss eine absolute URL mit gültigem Schema enthalten.
XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.
What this rule checks
The External document location (BT-124) must be an absolute URL with a valid scheme, such as https://example.de/delivery-note.pdf. Relative paths or bare host names are rejected.
Referenced business terms
This rule references the following EN 16931 business term. Click through for the full definition, the UBL XPath and the cardinality.
How to fix it
Put an absolute URL (with scheme, e.g. https://) in cac:AdditionalDocumentReference → cac:Attachment → cac:ExternalReference → cbc:URI. In CII, use ram:AdditionalReferencedDocument → ram:URIID.
Where is the field in the XML?
- UBL
- BT-124
/Invoice/cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:URI
In a credit note the UBL path starts with /CreditNote instead of /Invoice.
Does this rule apply to ZUGFeRD / Factur-X?
Only in the XRECHNUNG profile. BR-TMP-2 is not in the Factur-X 1.09.2 / ZUGFeRD 2.5.2 Schematron of the MINIMUM to EXTENDED profiles; it is a KoSIT XRechnung rule. A ZUGFeRD invoice with the XRechnung specification identifier (BT-24, XRECHNUNG profile) is an XRechnung in CII: BR-TMP-2 applies, and our validator checks it against EN 16931 and the KoSIT rules.
Check your file with the ZUGFeRD validator or the Factur-X validator.
Related rules
Rule sets
BR-TMP-2 is in these rule sets. Each page lists all its rules and the pinned version.
Sources
BR-TMP-2 comes from these official rule sources. Our validator runs exactly these versions.
Validate your invoice
Upload your corrected invoice to check it passes BR-TMP-2 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.