Element 'ram:ID' must occur exactly 1 times.
SpecifiedTaxRegistration does not contain exactly one ID element. The element is either missing or occurs more than once.
The end user's tax registration is represented by exactly one identifier in this element.
SpecifiedTaxRegistration for the end user is missing an ID or contains it more than once. You can adjust the entries so that exactly one ID element is present.
- Find
SpecifiedTaxRegistrationunderProductEndUserTradeParty. - Ensure that it contains exactly one
IDelement. - Generate the invoice again and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123456789</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The Schematron test counts the direct ram:ID child elements of ram:SpecifiedTaxRegistration and requires exactly one.
The rule applies to the end user's SpecifiedTaxRegistration under ProductEndUserTradeParty.
rule/@context)assert/@test)