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.
cac:LegalMonetaryTotal
not(cbc:AllowanceTotalAmount) or $allowanceTotalAmount = u:twodec($allowanceTotal)