e-Factura validator

All error codes › BR-CO-14

BR-CO-14 – Total VAT is wrong

Erroren16931applies to Romanian e-Factura

What the rule says

Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).

How to fix it

Set it to the sum of the cac:TaxSubtotal/cbc:TaxAmount values.

UBL: cac:TaxTotal/cbc:TaxAmount

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: /ubl:Invoice/cac:TaxTotal | /cn:CreditNote/cac:TaxTotal

Test (XPath):

(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)

Related rules