The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.
The value in ram:BasisAmount has more than two decimal places.
The invoice line allowance base amount may have no more than two decimal places.
The invoice line allowance 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>false</udt:Indicator> </ram:ChargeIndicator> <ram:BasisAmount>1.234</ram:BasisAmount> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:BasisAmount>1.23</ram:BasisAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.BasisAmount(Line level allowance: BT-137)
Technical details
The check counts the characters after the decimal point in the allowance’s ram:BasisAmount and permits no more than two.
The rule applies to ram:BasisAmount for an allowance in ram:SpecifiedTradeAllowanceCharge on an invoice line.
rule/@context)assert/@test)