Provide the third-party payment description

Error BR-DEX-12 XRechnung

The element "Third party payment description" BT-DEX-003 shall be transmitted if the group "THIRD PARTY PAYMENT" (BG-DEX-09) is transmitted.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

A submitted cac:PrepaidPayment is missing cbc:InstructionID, or the element contains only whitespace. The third-party payment description is therefore missing.

What the rule means

The description is required so that the submitted group BG-DEX-09 contains information about the third-party payment.

Please describe the third-party payment

The description is missing from cbc:InstructionID for a submitted third-party payment. Add non-empty text there.

What to do
  1. Add a description to cbc:InstructionID in cac:PrepaidPayment.
  2. Make sure the value is not empty or made up only of whitespace.
  3. Regenerate the invoice and check it again.
What it looks like
✗ Triggers the message
<cac:PrepaidPayment/>
✓ Correct
<cac:PrepaidPayment>
  <cbc:InstructionID>Paiement par un tiers</cbc:InstructionID>
</cac:PrepaidPayment>
Technical details

The test checks whether cbc:InstructionID contains a non-empty value after leading and trailing whitespace is removed.

Where the rule applies

The rule applies to cbc:InstructionID within cac:PrepaidPayment at invoice level.

Original message from the Schematron
Das Element "Third party payment description" BT-DEX-003 muss übermittelt werden, wenn die Gruppe "THIRD PARTY PAYMENT" (BG-DEX-09) übermittelt wird.
Context (rule/@context)
/ubl:Invoice/cac:PrepaidPayment[$isExtension]
Test expression (assert/@test)
cbc:InstructionID[boolean(normalize-space(xs:string(.)))]