Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times.
BuyerTaxRepresentativeTradeParty does not contain exactly one ram:SpecifiedTaxRegistration element. The element is missing or occurs more than once.
The tax registration is a required part of the tax representative’s information.
The tax representative’s information is missing ram:SpecifiedTaxRegistration, or the element is present more than once. You can correct the invoice by including exactly one such element.
- Find
BuyerTaxRepresentativeTradePartyin the invoice. - Make sure it contains exactly one
ram:SpecifiedTaxRegistrationelement. - Generate the invoice again and validate it once more.
<ram:BuyerTaxRepresentativeTradeParty/>
<ram:BuyerTaxRepresentativeTradeParty> <ram:SpecifiedTaxRegistration/> </ram:BuyerTaxRepresentativeTradeParty>
Technical details
The rule counts the direct child elements ram:SpecifiedTaxRegistration and requires exactly one.
Within BuyerTaxRepresentativeTradeParty, the rule applies to the tax registration.
rule/@context)assert/@test)