The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2.
The amount in ram:ActualAmount has more than two digits after the decimal separator.
The document level charge amount may have no more than two decimal places, so the stated monetary amount uses the permitted precision.
The charge amount has more than two decimal places. Adjusting the amount will resolve this formatting issue.
- Check the value in the charge’s
ram:ActualAmount. - Limit the amount to no more than two decimal places.
- Check the
ActualAmountproperty. - Regenerate the invoice and validate it again.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>10.123</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>10.12</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.ActualAmount(Document level charge: BT-99)
Technical details
The check counts the characters after the decimal point in the first ram:ActualAmount of the parent ram:SpecifiedTradeAllowanceCharge and allows no more than two.
The rule applies to ram:ActualAmount of a charge in ram:SpecifiedTradeAllowanceCharge within ram:ApplicableHeaderTradeSettlement.
rule/@context)assert/@test)