Element 'ram:ID' must occur exactly 1 times.
ram:ID is missing from ram:SpecifiedTaxRegistration within UltimateShipToTradeParty, or the element occurs more than once. It must occur exactly once.
ram:ID contains the identifier in the specified tax registration of the final delivery party. The rule requires exactly one such entry.
ram:ID is missing from the final delivery party’s tax registration, or the element has been entered more than once. You can correct the number of entries in that tax registration.
- Open
ram:SpecifiedTaxRegistrationunderUltimateShipToTradeParty. - Make sure that
ram:IDoccurs there exactly once. - Generate the invoice again and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>123456789</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test counts direct ram:ID elements within ram:SpecifiedTaxRegistration and requires the count to be 1.
The rule applies to ram:SpecifiedTaxRegistration within UltimateShipToTradeParty.
rule/@context)assert/@test)