Skip to main content

BR-DEX-10 Third party payment type is required

The Third party payment type (BT-DEX-001) must be provided when the THIRD PARTY PAYMENT group (BG-DEX-09) is present.

Problem Description

The Third party payment type (BT-DEX-001) 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.

Solution

Add cbc:ID inside cac:PrepaidPayment to carry the third party payment type. 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:ID present (third party payment type)

Invalid Examples

Use these points as the practical checks for this section.

  • cac:PrepaidPayment present but cbc:ID missing

Code Examples

Valid XML
<cac:PrepaidPayment>
  <cbc:ID>subsidy</cbc:ID>
  <cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>
  <cbc:InstructionID>Care fund contribution</cbc:InstructionID>
</cac:PrepaidPayment>
Invalid XML
<cac:PrepaidPayment>
  <cbc:PaidAmount currencyID="EUR">20.00</cbc:PaidAmount>
  <cbc:InstructionID>Care fund contribution</cbc:InstructionID>
</cac:PrepaidPayment>

Affected Fields

Validation Tools