Element 'ram:ID' may occur at maximum 1 times.
ram:SellerTaxRepresentativeTradeParty contains more than one ram:ID element. In this context, ram:ID may occur no more than once.
The rule limits the seller’s tax representative identifiers to no more than one within the tax representative details.
The seller’s tax representative details contain multiple ram:ID elements. This section allows no more than one such element.
- Remove any extra
ram:IDelements fromram:SellerTaxRepresentativeTradeParty. - Regenerate the invoice and validate it again.
<ram:SellerTaxRepresentativeTradeParty> <ram:ID>A</ram:ID> <ram:ID>B</ram:ID> </ram:SellerTaxRepresentativeTradeParty>
<ram:SellerTaxRepresentativeTradeParty> <ram:ID>A</ram:ID> </ram:SellerTaxRepresentativeTradeParty>
Technical details
The test counts direct ram:ID elements in the ram:SellerTaxRepresentativeTradeParty context and allows no more than one.
The rule applies to ram:ID within ram:SellerTaxRepresentativeTradeParty in the invoice agreement.
rule/@context)assert/@test)