Element 'ram:ID' must occur exactly 1 times.
ram:ID does not occur exactly once in ram:SpecifiedTaxRegistration. The element is either missing or appears more than once.
The ship-from party’s tax registration must contain exactly one identifier so that the registration is stated unambiguously by this element.
ram:ID is missing or appears more than once in the ship-from party’s ram:SpecifiedTaxRegistration. The number of elements can be adjusted to exactly one.
- Locate
ram:SpecifiedTaxRegistrationinram:ShipFromTradeParty. - Ensure that it contains exactly one
ram:IDelement. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>12345</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule checks that ram:SpecifiedTaxRegistration contains exactly one direct ram:ID child element.
This rule applies to ram:SpecifiedTaxRegistration for the ship-from party (ram:ShipFromTradeParty).
rule/@context)assert/@test)