Message

Total sum of line amounts MUST equal the sum of the order line amounts at order line level, if total sum of line amounts is provided.

Context
cac:LegalMonetaryTotal
Test
not(cbc:LineExtensionAmount) or $lineExtensionAmount = u:twodec($lineExtensionTotal)
Usage
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:LineExtensionAmount