Total sum of charges at document level MUST be equal to the sum of charges at document level, if total sum of charges at document level is provided.
cac:LegalMonetaryTotal
not(cbc:ChargeTotalAmount) or $chargeTotalAmount = u:twodec($chargeTotal)