Absolute Value of (Sum of Invoice line net amount (BT-106) - Σ Invoice line net amounts (BT-131))<= 0,01 * Number of line net amounts (BT-131).
The value in ram:LineTotalAmount differs from the sum of ram:LineTotalAmount values for the included invoice lines by more than the permitted tolerance. The tolerance is 0.01 for each counted invoice line.
The document total for invoice line net amounts must agree with the individual net amounts. A limited rounding difference is allowed.
The document’s net total does not agree sufficiently with the net amounts of the invoice lines. Comparing the relevant amounts can help resolve the difference.
- Compare
FacturXInvoice.LineTotalAmountwith theTradeLineItem.LineTotalAmountvalues of the included invoice lines. - Check that the included invoice lines contain the amounts that should contribute to the total.
- Generate the invoice again and validate it once more.
FacturXInvoice.LineTotalAmount(BT-106)TradeLineItem.LineTotalAmount(BT-131)
Technical details
The included line amounts are summed and rounded to two decimal places. The absolute difference is compared with 0.01 multiplied by the number of invoice lines.
The rule applies to ram:SpecifiedTradeSettlementHeaderMonetarySummation in the document totals and compares its ram:LineTotalAmount with the invoice line net amounts.
rule/@context)assert/@test)