Element 'ram:ID' must occur exactly 1 times.
ram:SpecifiedTaxRegistration must contain exactly one ram:ID. The element is either missing or appears more than once.
ram:ID contains the tax identifier associated with the buyer agent’s tax registration.
The buyer agent’s tax registration is missing ram:ID or contains it more than once. It must be present exactly once.
- Locate
ram:SpecifiedTaxRegistrationunder the buyer agent. - Ensure that it contains exactly one
ram:ID. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test counts the direct child elements ram:ID of ram:SpecifiedTaxRegistration and requires exactly one.
The rule applies to ram:SpecifiedTaxRegistration of the buyer agent.
rule/@context)assert/@test)