The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.
The invoice line net amount has more than two digits after the decimal point.
The net amount of an invoice line may have no more than two decimal places.
The net amount of an invoice line has more than two decimal places. Adjust the value to no more than two digits after the decimal point.
- Check the value of
TradeLineItem.LineTotalAmount. - Limit the decimal places to no more than two.
- Regenerate the invoice and validate it again.
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>12.345</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation>
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>12.34</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation>
TradeLineItem.LineTotalAmount(BT-131)
Technical details
The test counts the characters after the decimal point in LineTotalAmount and requires the count to be no more than two.
The rule applies to SpecifiedLineTradeSettlement/SpecifiedTradeSettlementLineMonetarySummation/LineTotalAmount on each invoice line.
rule/@context)assert/@test)