Element 'ram:ID' must occur exactly 1 times.
ram:SpecifiedTaxRegistration does not contain exactly one ram:ID element. The element is either missing or appears more than once.
The payer’s tax registration must be represented by exactly one ID entry.
The payer’s tax registration is missing an ID or contains it more than once. Providing exactly one ram:ID element resolves this issue.
- Locate
ram:SpecifiedTaxRegistrationunderram:PayerTradeParty. - Make sure it contains exactly one
ram:IDelement. - Generate the invoice again and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID/> </ram:SpecifiedTaxRegistration>
Technical details
The test counts the direct ram:ID elements under ram:SpecifiedTaxRegistration and requires the count to be 1.
The rule applies to ram:SpecifiedTaxRegistration for the payer (ram:PayerTradeParty).
rule/@context)assert/@test)