BT-124External document location
Official rule text
[BR-TMP-2] BT-124 "External document location" must contain an absolute URL with a valid scheme.
Official text (German): BT-124 "External document location" muss eine absolute URL mit gültigem Schema enthalten.
Why this error occurs
The value is present but does not match the required pattern: wrong date format, an IBAN with a wrong check digit, an e-mail address without a valid structure, a URL without scheme, or a text with forbidden characters.
How to fix it
Correct the value so it matches the format named in the rule: dates as YYYY-MM-DD in UBL and YYYYMMDD with format="102" in CII, IBANs without spaces and with a valid checksum, e-mail addresses with exactly one @, URLs starting with http:// or https://.
What the validator checks
Checked element (context):
UBL
/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference | /cn:CreditNote/cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReferenceTest (XPath):
matches(cbc:URI, $XR-URL-REGEX)CII
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument[ram:TypeCode = '916']Test (XPath):
not(exists(ram:URIID)) or (matches(ram:URIID, $XR-URL-REGEX))
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.
Same check via API:
curl -F file=@invoice.xml https://einvoicechecker.com/v1/validateRelated rules
BR-TMP-3If BT-149 (Item price base quantity) is present in both GrossPriceProductTradePrice…BR-TMP-4BT-123 "Supporting document description" (ram:Name) may occur at most once within…BR-TMP-5BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within…BR-TMP-6Dates in UBL must be transmitted in the format YYYY-MM-DDBR-TMP-7Dates in UNCEFACT/CII must carry the attribute format="102" and be transmitted in the…
Frequently asked questions
What does BR-TMP-2 mean?
BR-TMP-2 is a xrechnung rule: BT-124 "External document location" must contain an absolute URL with a valid scheme.
Will my invoice be rejected because of BR-TMP-2?
Yes. BR-TMP-2 is flagged "fatal"; validators (KoSIT, Peppol access points, the German ZRE/OZG-RE portals) reject the invoice until it is fixed.
Which formats does BR-TMP-2 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: UBL and CII.
Source: XRechnung 3.0.2, schematron 2.6.0 (KoSIT, September 2026). Catalogue generated from the official schematron on 2026-10-14.