Element 'ram:ID' must occur exactly 1 times.
SpecifiedTaxRegistration does not contain exactly one ID element. The element is missing or occurs more than once.
ID contains the ultimate ship-to party’s tax registration identifier. The rule requires exactly one such identifier in this registration element.
The tax registration element for the ultimate ship-to party is missing ID or contains it more than once. Exactly one ID element is required.
- Open the ultimate ship-to party’s
SpecifiedTaxRegistration. - Make sure it contains exactly one
IDelement. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID/> </ram:SpecifiedTaxRegistration>
Technical details
The test counts the direct ram:ID elements in ram:SpecifiedTaxRegistration and requires a count of 1.
The rule applies to SpecifiedTaxRegistration for an invoice line’s ultimate ship-to party.
rule/@context)assert/@test)