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