BR-DEX-14
Die Währungsangabe von "Third party payment amount" BT-DEX-002 muss BT-5 ("Invoice currency code") entsprechen.
error: the document is invalid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Context
/ubl:Invoice/cac:PrepaidPayment[$isExtension]
Test
cbc:PaidAmount/@currencyID = parent::node()/cbc:DocumentCurrencyCode
Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)