The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2.
The value in ram:BasisAmount has more than two decimal places.
The invoice line charge base amount may have no more than two decimal places.
The invoice line charge base amount has more than two decimal places. You can resolve this by adjusting the value in ram:BasisAmount to the permitted number of decimal places.
- Check the value of
AbstractTradeAllowanceCharge.BasisAmount. - Make sure the base amount has no more than two decimal places.
- Generate the invoice again and validate it.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:BasisAmount>1.234</ram:BasisAmount> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:BasisAmount>1.23</ram:BasisAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.BasisAmount(Line level charge: BT-142)
Technical details
The check counts the characters after the decimal point in the charge’s ram:BasisAmount and permits no more than two.
The rule applies to ram:BasisAmount for a charge in ram:SpecifiedTradeAllowanceCharge on an invoice line.
rule/@context)assert/@test)