e-Factura validator

All error codes › BR-CO-11

BR-CO-11 – Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92)

Erroren16931applies to Romanian e-Factura

What the rule says

Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92).

How to fix it

Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: cac:LegalMonetaryTotal

Test (XPath):

xs:decimal(cbc:AllowanceTotalAmount) = (round(sum(../cac:AllowanceCharge[cbc:ChargeIndicator=false()]/xs:decimal(cbc:Amount)) * 10 * 10) div 100) or (not(cbc:AllowanceTotalAmount) and not(../cac:AllowanceCharge[cbc:ChargeIndicator=false()]))

Related rules