Element 'ram:ActualAmount' must occur exactly 1 times.
ram:ActualAmount is missing from ram:SpecifiedFinancialAdjustment or occurs more than once. It must occur exactly once.
ram:ActualAmount specifies the amount of the financial adjustment. Without exactly one amount value, the adjustment is not stated with an unambiguous amount.
The amount for the financial adjustment is missing or appears more than once. A single ram:ActualAmount provides one amount value.
- Find the relevant
ram:SpecifiedFinancialAdjustment. - Make sure it contains exactly one
ram:ActualAmount. - Generate the invoice again and validate it once more.
<ram:SpecifiedFinancialAdjustment/>
<ram:SpecifiedFinancialAdjustment> <ram:ActualAmount>10.00</ram:ActualAmount> </ram:SpecifiedFinancialAdjustment>
Technical details
The test counts the direct ram:ActualAmount elements in ram:SpecifiedFinancialAdjustment and requires the count to be 1.
The rule applies to a document-level financial adjustment in the settlement information.
rule/@context)assert/@test)