Element 'ram:Reason' must occur exactly 1 times.
ram:Reason is missing from ram:SpecifiedFinancialAdjustment, or the element occurs more than once. The reason must be provided exactly once.
ram:Reason describes the reason for the financial adjustment and makes its business purpose understandable.
The financial adjustment is missing its reason, or the reason is included more than once. Provide the reason once so the adjustment is understandable.
- Locate
ram:SpecifiedFinancialAdjustmentat document level. - Make sure
ram:Reasonoccurs in it exactly once. - Generate the invoice again and validate it once more.
<ram:SpecifiedFinancialAdjustment/>
<ram:SpecifiedFinancialAdjustment> <ram:Reason>Motif</ram:Reason> </ram:SpecifiedFinancialAdjustment>
Technical details
The XPath test requires exactly one child element ram:Reason under each ram:SpecifiedFinancialAdjustment.
The rule applies to ram:SpecifiedFinancialAdjustment at document level in the invoice settlement.
rule/@context)assert/@test)