Element 'ram:ID' must occur exactly 1 times.
ram:ID is missing from ram:SpecifiedTaxRegistration or occurs there more than once. Exactly one ram:ID element must be present.
The rule requires exactly one element in which the delivery recipient’s tax registration identifier is stated.
The delivery recipient’s tax registration does not contain exactly one ram:ID element. Add the missing element or remove the duplicate.
- Find
ram:SpecifiedTaxRegistrationunderram:ShipToTradeParty. - Make sure this section contains exactly one
ram:IDelement. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123456789</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
Within ram:SpecifiedTaxRegistration, the count of direct ram:ID elements is checked for exactly one.
The rule applies to the delivery recipient’s tax registration under ram:ShipToTradeParty.
rule/@context)assert/@test)