XRechnung 2.4.0 · UBL

BR-CO-14

XRechnung 2.4.0 · UBL

fatalbusiness

Original rule text

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

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