Skip to main content

BR-DEX-13 Third party payment amount allows at most two decimals

The maximum number of decimal places allowed for the Third party payment amount (BT-DEX-002) is two.

Problem Description

The maximum number of decimal places allowed for the Third party payment amount (BT-DEX-002) is two.

ERROR

XRechnung 3.0

Context and Significance

This XRechnung Extension rule mirrors the core two-decimal amount discipline (like BR-DEC rules) for the Extension-only third party payment amount.

Solution

Round cbc:PaidAmount in cac:PrepaidPayment to two decimal places (for example 20.00, not 20.005). 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.

  • <cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>

Invalid Examples

Use these points as the practical checks for this section.

  • <cbc:PaidAmount currencyID="EUR">20.005</cbc:PaidAmount> — three decimals

Code Examples

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

Affected Fields

Validation Tools