Element 'ram:ActualAmount' must occur exactly 1 times.
ram:ActualAmount is missing from ram:SpecifiedFinancialAdjustment, or the element occurs more than once. The amount must be included exactly once.
ram:ActualAmount provides the actual amount of the financial adjustment. Without exactly one amount, the adjustment cannot be quantified unambiguously.
The financial adjustment is missing its amount, or the amount is included more than once. Make sure it is included once.
- Locate
ram:SpecifiedFinancialAdjustmentat document level. - Make sure
ram:ActualAmountoccurs in it exactly once. - Generate the invoice again and validate it once more.
<ram:SpecifiedFinancialAdjustment/>
<ram:SpecifiedFinancialAdjustment> <ram:ActualAmount>0</ram:ActualAmount> </ram:SpecifiedFinancialAdjustment>
Technical details
The XPath test requires exactly one child element ram:ActualAmount under each ram:SpecifiedFinancialAdjustment.
The rule applies to ram:ActualAmount within ram:SpecifiedFinancialAdjustment at document level.
rule/@context)assert/@test)