Skip to main content

BR-DEX-14 Third party payment amount currency must match the invoice currency

The currency of the Third party payment amount (BT-DEX-002) must match the Invoice currency code (BT-5).

Problem Description

The currency of the Third party payment amount (BT-DEX-002) must match the Invoice currency code (BT-5).

ERROR

XRechnung 3.0

Context and Significance

This XRechnung Extension rule enforces single-currency consistency for the Extension-only third party payment amount, aligning it with the invoice currency BT-5.

Solution

Set the @currencyID on cbc:PaidAmount to the same value as cbc:DocumentCurrencyCode (BT-5). If you do not model third party payments, the standard XRechnung CIUS profile avoids this rule.

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • BT-5 = EUR and <cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>

Invalid Examples

Use these points as the practical checks for this section.

  • BT-5 = EUR but <cbc:PaidAmount currencyID="USD">20.00</cbc:PaidAmount>

Code Examples

Valid XML
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cac:PrepaidPayment>
  <cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>
</cac:PrepaidPayment>
Invalid XML
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cac:PrepaidPayment>
  <cbc:PaidAmount currencyID="USD">20.00</cbc:PaidAmount>
</cac:PrepaidPayment>

Affected Fields

Validation Tools