BR-DEX-14

Die Währungsangabe von "Third party payment amount" BT-DEX-002 muss BT-5 ("Invoice currency code") entsprechen.

In English The currency of the third party payment amount (BT-DEX-002) must be the invoice currency code (BT-5).

error: the document is invalid XRechnung Fehlermeldungen und ihre Lösung →

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)