Element 'ram:ID' must occur exactly 1 times.
ID is missing from SpecifiedTaxRegistration or occurs more than once. It must be present exactly once.
The rule requires exactly one identifier element for the invoicee’s tax registration.
ID is missing or appears more than once in SpecifiedTaxRegistration. The tax registration must contain exactly one ID element.
- Find the invoicee’s
SpecifiedTaxRegistration. - Check how many times
IDoccurs in it. - Add exactly one
IDelement or remove any duplicates. - Generate the invoice again and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>12345</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
Within SpecifiedTaxRegistration, the number of direct ID elements is checked; the test passes only when there is exactly one.
The rule applies to the invoicee’s tax registration in SpecifiedTaxRegistration.
rule/@context)assert/@test)