The element "Third party payment description" BT-DEX-003 shall be transmitted if the group "THIRD PARTY PAYMENT" (BG-DEX-09) is transmitted.
A submitted cac:PrepaidPayment is missing cbc:InstructionID, or the element contains only whitespace. The third-party payment description is therefore missing.
The description is required so that the submitted group BG-DEX-09 contains information about the third-party payment.
The description is missing from cbc:InstructionID for a submitted third-party payment. Add non-empty text there.
- Add a description to
cbc:InstructionIDincac:PrepaidPayment. - Make sure the value is not empty or made up only of whitespace.
- Regenerate the invoice and check it again.
<cac:PrepaidPayment/>
<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.
The rule applies to cbc:InstructionID within cac:PrepaidPayment at invoice level.
rule/@context)assert/@test)