Reference
Markdown exportBR-DEX-11 Third party payment amount is required
The Third party payment amount (BT-DEX-002) must be provided when the THIRD PARTY PAYMENT group (BG-DEX-09) is present.
Problem Description
The Third party payment amount (BT-DEX-002) must be provided when the THIRD PARTY PAYMENT group (BG-DEX-09) is present.
ERROR
XRechnung 3.0
Context and Significance
This XRechnung Extension rule fires only in the Extension scenario, where the THIRD PARTY PAYMENT group (mapped to UBL cac:PrepaidPayment) is available and feeds the amount-due calculation.
Solution
Add cbc:PaidAmount inside cac:PrepaidPayment with its currencyID. If you do not model third party payments, do not emit the BG-DEX-09 group; the standard XRechnung CIUS profile has no such group.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- cac:PrepaidPayment with cbc:PaidAmount currencyID="EUR" = 20.00
Invalid Examples
Use these points as the practical checks for this section.
- cac:PrepaidPayment present but cbc:PaidAmount missing
Code Examples
<cac:PrepaidPayment>
<cbc:ID>subsidy</cbc:ID>
<cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>
<cbc:InstructionID>Care fund contribution</cbc:InstructionID>
</cac:PrepaidPayment><cac:PrepaidPayment>
<cbc:ID>subsidy</cbc:ID>
<cbc:InstructionID>Care fund contribution</cbc:InstructionID>
</cac:PrepaidPayment>