DE-R-T02: If both supplier and customer are located in Germany, BT-124 "External document…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DE-R-T02]-If both supplier and customer are located in Germany, BT-124 "External document location" must contain an absolute URL with valid scheme.
matches(cbc:URI, $XR-URL-REGEX)DE-R-T02 is a warning rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected. It refers to BT-124.
What this rule requires
This is a warning rule in Peppol BIS. For UBL invoices/credit notes, when both the supplier country (cac:AccountingSupplierParty/.../cbc:IdentificationCode) and customer country (cac:AccountingCustomerParty/.../cbc:IdentificationCode) are DE, the cbc:URI inside cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference must match the pattern ^([a-zA-Z])([a-zA-Z0-9+.-])+:.*, i.e., start with a valid URL scheme (a letter, optional scheme characters, colon). If it does not, the validator reports a warning; the document is not rejected.
How to fix
Update the cbc:URI value in the relevant cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference to an absolute URL with a valid scheme, such as https://example.com/document.pdf or urn:... (any scheme matching the pattern). Because the rule is a warning, this is recommended for compliance but does not invalidate the document.
Guidance on this rule. The original text above is authoritative.
Where to go next
DE-R-T02 changed in 1 published Peppol BIS Billing UBL release comparison:
- DE-R-T02 in 3.0.20 → 3.0.21: New rule
Validate an invoice against these rules · All release changes