Element 'ram:DeliveryTypeCode' must occur exactly 1 times.
ram:ApplicableTradeDeliveryTerms does not contain exactly one ram:DeliveryTypeCode. The element is either missing or occurs more than once.
The delivery type code specifies the agreed delivery type. Exactly one value is required to make this information unambiguous.
The delivery terms are missing the delivery type code, or it appears more than once. Providing it exactly once makes the delivery type clear.
- Find
ram:ApplicableTradeDeliveryTerms. - Make sure it contains exactly one
ram:DeliveryTypeCode. - Generate the invoice again and validate it again.
Technical details
The XPath test requires ram:DeliveryTypeCode to occur exactly once under ram:ApplicableTradeDeliveryTerms.
The rule applies within ram:ApplicableTradeDeliveryTerms in the seller-buyer agreement.
rule/@context)assert/@test)