Element 'ram:ID' must occur exactly 1 times.
ram:SpecifiedTaxRegistration does not contain exactly one ram:ID element. The identifier is either missing or present more than once.
ram:ID contains the tax registration identifier for the dispatch location. Exactly one element ensures that this information is present unambiguously in this XML context.
ram:ID is missing from the dispatch location tax registration or the element appears more than once. The structure can be made unambiguous.
- Open
ram:SpecifiedTaxRegistrationunderram:ShipFromTradeParty. - Ensure that it contains exactly one
ram:IDelement. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>IDENTIFIER</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test requires the number of direct ram:ID child elements of ram:SpecifiedTaxRegistration to be exactly one.
The rule applies to ram:SpecifiedTaxRegistration under ram:ShipFromTradeParty.
rule/@context)assert/@test)