Message

Total sum of line amounts SHALL 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 = $lineExtensionTotal
Usage
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:LineExtensionAmount
/ ubl:OrderResponse / cac:OrderLine / cac:LineItem / cbc:LineExtensionAmount