BR-DEX-10
XRechnung 2.6.0 · UBL
Original rule text
[BR-DEX-10] Das Element "Third party payment type" BT-DEX-001 muss übermittelt werden, wenn die Gruppe "THIRD PARTY PAYMENT" (BG-DEX-09) übermittelt wird.
cbc:ID[boolean(normalize-space(xs:string(.)))]What this rule requires
The rule applies to cac:PrepaidPayment elements when the invoice declares the XRechnung extension via cbc:CustomizationID. If such a group (BG-DEX-09) is present, the cbc:ID element, which carries the “Third party payment type” (BT-DEX-001), must be present and contain a non-whitespace value. A document fails validation if a PrepaidPayment group exists in this context but cbc:ID is missing or empty (including whitespace-only).
How to fix
For each cac:PrepaidPayment in the extension invoice, add a cbc:ID element with a non-empty value representing BT-DEX-001. If a particular PrepaidPayment group is not needed, remove it. If it is needed, ensure the cbc:ID is not empty and that the value is valid according to the applicable code list for this element.
Guidance on this rule. The original text above is authoritative.