The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.
The value in LineTotalAmount has more than two decimal places.
The invoice line net total is stated with no more than two decimal places. This ensures a consistent decimal format for this monetary amount.
The invoice line net total has more than two decimal places. You can adjust the value to the permitted decimal format.
- Check the value of
LineTotalAmount. - Use no more than two decimal places.
- Check the
LineTotalAmountproperty. - Generate the invoice again and validate it again.
<ram:LineTotalAmount>123.456</ram:LineTotalAmount>
<ram:LineTotalAmount>123.46</ram:LineTotalAmount>
FacturXInvoice.LineTotalAmount(BT-106)
Technical details
The XPath check counts the characters after the decimal point in LineTotalAmount and allows at most two.
The rule applies to LineTotalAmount in SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)