Reference
Markdown exportBR-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
ERROR
XRechnung extension rule (KoSIT, BR-DEX) · 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
- <cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>
Invalid Examples
- <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>