Element 'ram:ID' must occur exactly 1 times.
ram:ID does not occur exactly once in ram:SpecifiedTaxRegistration. The element is either missing or occurs more than once.
ram:ID contains the tax registration identifier. Exactly one identifier element must be present for this tax registration.
ram:ID is missing from ram:SpecifiedTaxRegistration of ram:InvoicerTradeParty or occurs more than once. You can correct the number of identifier elements.
- Locate
ram:SpecifiedTaxRegistrationwithinram:InvoicerTradeParty. - Make sure it contains exactly one
ram:ID. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>x</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule counts the direct ram:ID elements in ram:SpecifiedTaxRegistration and requires the count to be exactly one.
The rule applies to ram:SpecifiedTaxRegistration of ram:InvoicerTradeParty.
rule/@context)assert/@test)