Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times.
ram:SpecifiedTaxRegistration is missing from ram:SellerTaxRepresentativeTradeParty or occurs more than once. It must occur exactly once.
The tax registration is part of the seller’s tax representative details. Exactly one registration element keeps this information unambiguous in the XML structure.
The seller’s tax representative has no tax registration, or it is included more than once. This can be corrected by having a single ram:SpecifiedTaxRegistration entry.
- Locate
ram:SellerTaxRepresentativeTradePartyin the invoice. - Make sure it contains exactly one
ram:SpecifiedTaxRegistration. - Regenerate the invoice and validate it again.
<ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTaxRepresentativeTradeParty> <ram:SpecifiedTaxRegistration/> </ram:SellerTaxRepresentativeTradeParty>
Technical details
Within ram:SellerTaxRepresentativeTradeParty, the number of direct ram:SpecifiedTaxRegistration elements is counted and compared with one.
The rule applies to the ram:SellerTaxRepresentativeTradeParty entry in the seller section of the invoice.
rule/@context)assert/@test)