The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2.
The allowance amount has more than two digits after the decimal separator. This exceeds the permitted number of decimal places for an invoice line allowance amount.
The allowance amount may be expressed with no more than two decimal places. This limit ensures a consistent representation of the monetary amount.
The invoice line allowance amount has more than two decimal places. You can adjust the amount here to the permitted precision.
- Check the value of
AbstractTradeAllowanceCharge.ActualAmount. - Enter the allowance amount with no more than two decimal places.
- Generate the invoice again and validate it once more.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>12.345</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>12.34</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.ActualAmount(Line level allowance: BT-136)
Technical details
The check counts the characters after the period in ActualAmount[1]. A result of no more than two characters satisfies the rule.
The rule applies to the ActualAmount of an allowance in SpecifiedTradeAllowanceCharge within an invoice line's settlement data.
rule/@context)assert/@test)