Absolute Value of (Sum of charges on document level (BT-108) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272))<= 0,01 * (Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)).
If charges or logistics service fees are present, ram:ChargeTotalAmount differs from their sum by more than the permitted tolerance. The tolerance is 0.01 for each charge or logistics service fee.
The document-level charge total must reflect the individual charges and logistics service fees. A limited rounding difference is allowed.
The document-level charge total does not agree sufficiently with the recorded charges and logistics service fees. You can compare and reconcile the relevant amounts.
- Compare
FacturXInvoice.ChargeTotalAmountwith the amounts of document-level charges and logistics service fees. - Check the
AbstractTradeAllowanceCharge.ActualAmountvalues for charges and theAppliedAmountvalues for logistics service fees. - Generate the invoice again and validate it once more.
FacturXInvoice.ChargeTotalAmount(BT-108)AbstractTradeAllowanceCharge.ActualAmount(Document level charge: BT-99)
Technical details
The amounts in ram:ActualAmount for charges and in ram:AppliedAmount for logistics service fees are summed and rounded. The absolute difference is evaluated using 0.01 for each counted entry.
The rule applies to ram:SpecifiedTradeSettlementHeaderMonetarySummation and compares ram:ChargeTotalAmount with document-level charges and logistics service fees.
rule/@context)assert/@test)