Element 'ram:PostalTradeAddress' must occur exactly 1 times.
ram:PostalTradeAddress is missing from ram:SellerTaxRepresentativeTradeParty or occurs more than once. It must occur exactly once.
The postal address is part of the seller’s tax representative details. Exactly one address element keeps this information unambiguous in the XML.
The seller’s tax representative has no postal address, or the address is included more than once. This can be corrected by having a single ram:PostalTradeAddress entry.
- Locate
ram:SellerTaxRepresentativeTradePartyin the invoice. - Make sure it contains exactly one
ram:PostalTradeAddress. - Regenerate the invoice and validate it again.
<ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTaxRepresentativeTradeParty> <ram:PostalTradeAddress/> </ram:SellerTaxRepresentativeTradeParty>
Technical details
Within ram:SellerTaxRepresentativeTradeParty, the number of direct ram:PostalTradeAddress 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)