Total sum of charges at document level SHALL 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 = $chargeTotal