/ubl:Invoice/cac:TaxTotal | /cn:CreditNote/cac:TaxTotal[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).
Hitting this rule in production? Paste the invoice into the validator or wire the API into CI so it never ships broken again.