The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2.
The charge base amount has more than two digits after the decimal separator. This exceeds the permitted number of decimal places for an invoice line charge base amount.
The base amount of a charge may be expressed with no more than two decimal places. This limit ensures a consistent representation of the monetary amount.
The invoice line charge 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 charge base amount with no more than two decimal places.
- Generate the invoice again and validate it once more.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:BasisAmount>12.345</ram:BasisAmount> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:BasisAmount>12.34</ram:BasisAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.BasisAmount(Line level charge: BT-142)
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 a charge in SpecifiedTradeAllowanceCharge within an invoice line's settlement data.
rule/@context)assert/@test)