Message

Total sum of allowance at document level MUST be equal to the sum of allowance amounts at document level, if total sum of allowance at document level is provided.

Context
cac:LegalMonetaryTotal
Test
not(cbc:AllowanceTotalAmount) or $allowanceTotalAmount = u:twodec($allowanceTotal)
Usage
/ ubl:OrderResponse / cac:TaxTotal / cac:TaxSubtotal / cbc:TaxableAmount
/ ubl:OrderResponse / cac:TaxTotal / cac:TaxSubtotal / cbc:TaxAmount
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:AllowanceTotalAmount
/ ubl:OrderResponse / cac:OrderLine / cac:LineItem / cac:Price / cbc:PriceAmount
/ ubl:OrderResponse / cac:OrderLine / cac:LineItem / cac:Price / cbc:BaseQuantity