Asapeca E-Invoice

Validation rules explained

BR-CO-13 Invoice total without VAT does not match

Official rule text

Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).

Source: KoSIT validator configuration for XRechnung (original text).

Fields concerned
Totals › Total without VAT (BT-109), Totals › Total invoice line net amount (BT-106), Totals › Total allowances (BT-107), Totals › Total charges (BT-108)
Level in the check
Error — the invoice is rejected

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

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>

Based on the official documentation · sources · Last checked: 2026-10-13

Check an invoice →