Element 'ram:ID' must occur exactly 1 times.
In this tax registration, ram:ID does not occur exactly once. The element is missing or occurs more than once.
The tax registration with schemeID="FC" must contain exactly one associated identifier so that this information has an unambiguous structure.
The seller’s FC tax registration is missing ram:ID, or the element occurs more than once. You can correct the count so that exactly one element is present.
- Locate the seller’s tax registration with
schemeID="FC". - Make sure it contains exactly one
ram:IDelement. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC"/> <ram:ID schemeID="FC"/> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC"/> </ram:SpecifiedTaxRegistration>
Technical details
The XPath condition checks whether the number of direct ram:ID child elements is exactly one.
The rule applies to the seller’s ram:SpecifiedTaxRegistration with schemeID="FC".
rule/@context)assert/@test)