BR-DEX-11
XRechnung 2.3.0 · UBL
Original rule text
[BR-DEX-11] Das Element "Third party payment amount" BT-DEX-002 muss übermittelt werden, wenn die Gruppe "THIRD PARTY PAYMENT" (BG-DEX-09) übermittelt wird.
cbc:PaidAmount[boolean(normalize-space(xs:string(.)))]What this rule requires
The rule requires that when the THIRD PARTY PAYMENT group (BG-DEX-09) is transmitted as the cac:PrepaidPayment element in an XRechnung extension invoice, it must include a cbc:PaidAmount element (BT-DEX-002) with a value that is not empty or whitespace-only. The test checks that cbc:PaidAmount exists and has non-whitespace content. If the group is present but cbc:PaidAmount is missing or blank, the invoice fails validation (fatal).
How to fix
Add a cbc:PaidAmount child element inside the cac:PrepaidPayment element and set it to a non-empty value for the third party payment amount. Ensure the value contains actual characters, not only spaces. If the group is present, this element must be included.
Guidance on this rule. The original text above is authoritative.