Element 'ram:PostalTradeAddress' must occur exactly 1 times.
The ram:SellerTaxRepresentativeTradeParty element does not contain exactly one ram:PostalTradeAddress element. The postal address must be present once.
The postal address is required information about the tax representative. The rule requires exactly one postal address.
The tax representative's required postal address is missing or has been provided more than once. Exactly one ram:PostalTradeAddress element must appear in this part of the invoice.
- Locate
ram:SellerTaxRepresentativeTradePartyin the invoice. - Add exactly one
ram:PostalTradeAddresselement or remove any extra elements. - Generate the invoice again and validate it again.
<ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTaxRepresentativeTradeParty> <ram:PostalTradeAddress/> </ram:SellerTaxRepresentativeTradeParty>
Technical details
The test counts ram:PostalTradeAddress elements directly under ram:SellerTaxRepresentativeTradeParty and requires exactly one.
The rule applies to ram:PostalTradeAddress within ram:SellerTaxRepresentativeTradeParty.
rule/@context)assert/@test)