Message

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.

Context
cac:LegalMonetaryTotal
Test
not(cbc:ChargeTotalAmount) or $chargeTotalAmount = u:twodec($chargeTotal)
Usage
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:ChargeTotalAmount