Skip to content
SmartFormular

SmartFormular › SmartFormular E-Invoice Start › Validation rules › BR-CO-12

BR-CO-12

The sum of charges (BT-108) does not equal the individual charges (BT-99)

Validation rule of EN 16931 (CEN, rule set 1.3.16) · Level: Error

What the message means

The sum of charges (BT-108) does not equal the individual charges (BT-99).

What the issuer needs to change

Have the charge total recalculated.

Fields concerned

  • BT-99 document level charge amount
  • BT-108 sum of charges on document level

Your invoice reports BR-CO-12? Check it with SmartFormular E-Invoice Start, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
EN 16931 (CEN, rule set 1.3.16)
Syntax
CII, UBL
Level
Error

Original rule text

Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).

Source: CEN/TC 434, EN 16931 validation rules 1.3.16, European Union Public Licence 1.2

Technical details for IT

UBL

Context: cac:LegalMonetaryTotal
Test: not(xs:decimal(cbc:ChargeTotalAmount) = (round(sum(../cac:AllowanceCharge[cbc:ChargeIndicator=true()]/xs:decimal(cbc:Amount)) * 10 * 10) div 100) or (not(cbc:ChargeTotalAmount) and not(../cac:AllowanceCharge[cbc:ChargeIndicator=true()])))

CII

Context: //ram:SpecifiedTradeSettlementHeaderMonetarySummation
Test: not((not(/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()])and not (ram:ChargeTotalAmount)) or ram:ChargeTotalAmount = (round(sum(/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()]/ram:ActualAmount[1])* 10 * 10 ) div 100) )

Related rules

  • BR-CO-09A VAT identifier does not start with the country prefix (BT-31, BT-48 or BT-63)
  • BR-CO-10The sum of line net amounts (BT-106) does not equal the total of the individual lines (BT-131)
  • BR-CO-11The sum of allowances (BT-107) does not equal the individual allowances (BT-92)
  • BR-CO-13The total without VAT (BT-109) does not follow from lines, allowances and charges
  • BR-CO-14The VAT total (BT-110) does not equal the sum of the VAT amounts per rate (BT-117)
  • BR-CO-15The total with VAT (BT-112) is not the net total (BT-109) plus VAT (BT-110)

All validation rules

Technical explanation by SmartFormular, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).