Element 'ram:ID' must occur exactly 1 times.
The buyer’s SpecifiedTaxRegistration contains no ID element or more than one ID element. It must contain exactly one ID element.
The ID element contains the tax identifier associated with this buyer tax registration. Having exactly one ensures the registration is stated unambiguously.
The buyer’s tax registration does not contain exactly one ID element. You can resolve this by adjusting the number of ID elements.
- Open the buyer’s
SpecifiedTaxRegistration. - Make sure it contains exactly one
IDelement. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>...</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test counts the direct ID elements under SpecifiedTaxRegistration and requires the count to equal one.
This rule applies to the buyer’s tax registration in the SpecifiedTaxRegistration element.
rule/@context)assert/@test)