The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.
LineTotalAmount contains more than two digits after the decimal separator.
The sum of invoice line net amounts may have no more than two decimal places.
LineTotalAmount has more decimal places than allowed for the net total. You can adjust the amount to no more than two decimal places.
- Check the value of
LineTotalAmount. - Limit it to no more than two decimal places.
- Check the
LineTotalAmountproperty. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>123.456</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>123.45</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
FacturXInvoice.LineTotalAmount(BT-106)
Technical details
The XPath counts the characters after the decimal point in LineTotalAmount and allows no more than two.
The rule applies to LineTotalAmount, the sum of invoice line net amounts in SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)