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