Element 'ram:ID' must occur exactly 1 times.
ram:ID does not occur exactly once in the invoice issuer’s SpecifiedTaxRegistration. It is either missing or occurs more than once.
The invoice issuer’s tax registration requires exactly one identifier so that the associated tax registration can be identified unambiguously.
The invoice issuer’s tax registration is missing its identifier or contains it more than once. You can resolve this by providing it exactly once.
- Open the tax registration in
InvoicerTradeParty. - Make sure
SpecifiedTaxRegistrationcontains exactly oneram:IDelement. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule checks whether ram:ID occurs exactly once in the context of SpecifiedTaxRegistration.
This rule applies to the invoice issuer’s tax registration in InvoicerTradeParty.
rule/@context)assert/@test)