The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2.
The amount in ram:ActualAmount has more than two digits after the decimal separator.
The document level allowance amount may have no more than two decimal places, so the stated monetary amount uses the permitted precision.
The allowance amount has more than two decimal places. Adjusting the amount will resolve this formatting issue.
- Check the value in the allowance’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>false</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>10.123</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>10.12</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.ActualAmount(Document level allowance: BT-92)
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 an allowance in ram:SpecifiedTradeAllowanceCharge within ram:ApplicableHeaderTradeSettlement.
rule/@context)assert/@test)