Element 'ram:ID' must occur exactly 1 times.
The invoice recipient’s ram:SpecifiedTaxRegistration does not contain exactly one ram:ID. The element is either missing or occurs more than once.
ram:ID contains the identifier for the tax registration. Exactly one identifier is required in this tax registration.
The invoice recipient’s tax registration is missing ram:ID or contains it more than once. Exactly one entry is required for this tax registration.
- Locate
ram:SpecifiedTaxRegistrationfor the invoice recipient. - Make sure it contains exactly one
ram:ID. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The XPath counts the direct ram:ID elements in ram:SpecifiedTaxRegistration and requires exactly one.
The invoice recipient’s tax registration must contain one ram:ID.
rule/@context)assert/@test)