Element 'ram:SellerTradeParty' must occur exactly 1 times.
SellerTradeParty is missing from ApplicableHeaderTradeAgreement or occurs there more than once. The element must occur exactly once.
The invoice must contain exactly one seller so that the party issuing it is clearly identified.
The seller information is missing or appears more than once. You can adjust the invoice so that SellerTradeParty occurs exactly once.
- Check
ApplicableHeaderTradeAgreementforSellerTradeParty. - Make sure the element is present exactly once.
- Generate the invoice again and validate it.
<ram:ApplicableHeaderTradeAgreement> <ram:SellerTradeParty/> <ram:SellerTradeParty/> </ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeAgreement> <ram:SellerTradeParty/> </ram:ApplicableHeaderTradeAgreement>
Technical details
The test counts SellerTradeParty elements in the context and requires the count to equal 1.
The rule applies to the seller information in ApplicableHeaderTradeAgreement.
rule/@context)assert/@test)