Element 'ram:ID' must occur exactly 1 times.
ram:ID is missing from ram:SpecifiedTaxRegistration or occurs more than once. The element must occur exactly once.
The sales agent’s tax registration is represented by exactly one identifier in ram:ID.
The sales agent’s tax registration is missing an identifier or has it entered more than once. You can correct the invoice by having exactly one ram:ID element in this location.
- Find the sales agent’s
ram:SpecifiedTaxRegistrationelement. - Make sure it contains exactly one
ram:IDelement. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123456789</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test counts the direct ram:ID elements in ram:SpecifiedTaxRegistration and requires exactly one.
The rule applies to the sales agent’s ram:SpecifiedTaxRegistration in the seller section.
rule/@context)assert/@test)