What the rule requires
The invoice total without VAT (BT-109) is the sum of lines minus document level allowances plus document level charges: BT-109 = BT-106 − BT-107 + BT-108.
How it is checked
The validator uses the stated sum of lines (BT-106), not the lines again. A missing BT-107 or BT-108 counts as 0. The result is rounded to two decimals and must equal BT-109 exactly, with no tolerance.
Whether BT-107 and BT-108 match the single allowances and charges is checked by separate rules (BR-CO-11, BR-CO-12).
Common causes
- Shipping or an order discount is in the invoice as a charge or allowance but not included in BT-109 — or included in BT-109 but not sent as a charge or allowance.
- A discount on the whole invoice was taken off the gross amount and then converted back.
- Follow-up error: BT-106 is wrong (BR-CO-10) and BT-109 was built from the lines instead of BT-106.
How to fix it
Allowances and charges for the whole invoice (shipping, packaging, order discount) go on document level as separate entries, each with a VAT category and rate. BT-107 and BT-108 are their sums, and BT-109 = BT-106 − BT-107 + BT-108.
Example (CII)
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:LineTotalAmount>100.00</ram:LineTotalAmount> <!-- BT-106 -->
<ram:ChargeTotalAmount>4.90</ram:ChargeTotalAmount> <!-- BT-108: shipping -->
<ram:AllowanceTotalAmount>10.00</ram:AllowanceTotalAmount> <!-- BT-107: discount -->
<ram:TaxBasisTotalAmount>94.90</ram:TaxBasisTotalAmount> <!-- BT-109 = 100.00 + 4.90 − 10.00 -->
...
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>