Element 'ram:ID' must occur exactly 1 times.
ram:ID does not occur exactly once in SpecifiedTaxRegistration of PayerTradeParty. The element is either missing or repeated.
ram:ID contains the tax identifier associated with this payer tax registration. Exactly one value is required to identify the registration unambiguously.
The payer’s tax registration does not contain exactly one ram:ID element. You can correct this by providing exactly one tax identifier there.
- Locate
SpecifiedTaxRegistrationwithinPayerTradeParty. - Check whether
ram:IDis missing or occurs more than once. - Ensure that exactly one
ram:IDelement is present. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> <ram:ID>456</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule counts the direct ram:ID elements in the current SpecifiedTaxRegistration and requires the count to be exactly one.
The rule applies to SpecifiedTaxRegistration within PayerTradeParty in the invoice settlement information.
rule/@context)assert/@test)