Skip to content
SmartFormular

SmartFormular › SmartFormular E-Invoice Start › Validation rules › BR-TMP-2

BR-TMP-2

The external document location (BT-124) is not a complete web address

Validation rule of XRechnung 3.0.2 (KoSIT, Schematron 2.6.0) · Level: Error

What the message means

The external document location (BT-124) is not a complete web address.

What the issuer needs to change

Give a full address starting with https://.

Fields concerned

  • BT-124 external document location

Your invoice reports BR-TMP-2? Check it with SmartFormular E-Invoice Start, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
XRechnung 3.0.2 (KoSIT, Schematron 2.6.0)
Syntax
CII, UBL
Level
Error

Original rule text

BT-124 "External document location" muss eine absolute URL mit gültigem Schema enthalten.

Source: KoSIT, XRechnung Schematron 2.6.0, Apache License 2.0

Technical details for IT

UBL

Context: /ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference | /cn:CreditNote/cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference
Test: not(matches(cbc:URI, $XR-URL-REGEX))

CII

Context: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument[ram:TypeCode = '916']
Test: not(not(exists(ram:URIID)) or (matches(ram:URIID, $XR-URL-REGEX)))

Related rules

  • BR-DEX-12For a third-party payment, the description (BT-DEX-003) is missing
  • BR-DEX-14The currency of a third-party payment (BT-DEX-002) differs from the invoice currency (BT-5)
  • BR-DEX-15The file appears to use sub-lines; XRechnung does not support them in the CII syntax
  • BR-TMP-3The price base quantity or unit differs between gross and net price (BT-149, BT-150)
  • BR-TMP-4An attachment has more than one description (BT-123)
  • BR-TMP-5One attachment entry contains several files (BT-125)

All validation rules

Technical explanation by SmartFormular, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).