The element "Third party payment type" BT-DEX-001 shall be transmitted if the group "THIRD PARTY PAYMENT" (BG-DEX-09) is transmitted.
A submitted cac:PrepaidPayment is missing cbc:ID, or the element contains only whitespace. The third-party payment type is therefore missing.
The third-party payment type is required when group BG-DEX-09 is submitted. It identifies the type of payment described by that group.
The payment type is missing from cbc:ID for a submitted third-party payment. Add a non-empty value there.
- Add a value to
cbc:IDincac: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:ID>Type de paiement</cbc:ID> </cac:PrepaidPayment>
Technical details
The test checks whether cbc:ID contains a non-empty value after leading and trailing whitespace is removed.
The rule applies to cbc:ID within cac:PrepaidPayment at invoice level.
rule/@context)assert/@test)