Skip to content

BR-DEX-14: Currency of the third party payment (BT-DEX-002) differs from the invoice currency

Official message

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

XRechnung (UBL) · Error · Message language: German · Version: xrechnung-3.0.2-validator-configuration-2026-08-31
Severity
Error The invoice is invalid and may be rejected by the recipient.
Applies to
XRechnung (UBL)
Affected fields
BT-DEX-002, BT-5

What does this mean?

In an XRechnung extension invoice (UBL), the currency of the third party payment amount (BT-DEX-002) must match the invoice currency code (BT-5). The currencyID attribute differs.

Typical causes

The third party payment was recorded in a different currency than the invoice.
The currencyID attribute is misspelled, e.g. "Euro" instead of "EUR".

How to fix the error

Convert the amount into the invoice currency and set the currencyID attribute of cbc:PaidAmount to the value of cbc:DocumentCurrencyCode.
Generate and validate the invoice again.

Example

Wrong

<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
...
<cac:PrepaidPayment>
  <cbc:ID>...</cbc:ID>
  <cbc:PaidAmount currencyID="USD">50.00</cbc:PaidAmount>
  ...
</cac:PrepaidPayment>

Correct

<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
...
<cac:PrepaidPayment>
  <cbc:ID>...</cbc:ID>
  <cbc:PaidAmount currencyID="EUR">46.00</cbc:PaidAmount>
  ...
</cac:PrepaidPayment>
For developers: test expression per syntax

XRechnung (UBL) (UBL)

Context: /ubl:Invoice/cac:PrepaidPayment[$isExtension]

cbc:PaidAmount/@currencyID = parent::node()/cbc:DocumentCurrencyCode

Related validation rules

  • BR-DEX-01: Invalid MIME code of an attachment (BT-125) in the XRechnung extension
  • BR-DEX-02: Line net amount does not match the sum of its sub invoice lines
  • BR-DEX-03: Sub invoice line without exactly one VAT information (BG-DEX-06)
  • BR-DEX-04: Scheme of a party identifier is not an ISO 6523 ICD code (extension)
  • BR-DEX-05: Scheme of a registration identifier is not an ISO 6523 ICD code (extension)
  • BR-DEX-06: Scheme of the item standard identifier (BT-157) is not an ISO 6523 ICD code (extension)

Last updated:
Explanation of the validation rule, not legal or tax advice.