BR-CO-14

[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).

About

ID
BR-CO-14
Flag
fatal
Context
/ubl:Invoice/cac:TaxTotal | /cn:CreditNote/cac:TaxTotal
Test
(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)