BR-CO-12
- Message
[BR-CO-12]-Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).
- Context
cac:LegalMonetaryTotal
- Test
xs:decimal(cbc:ChargeTotalAmount) = (round(sum(../cac:AllowanceCharge[cbc:ChargeIndicator=true()]/xs:decimal(cbc:Amount)) * 10 * 10) div 100) or (not(cbc:ChargeTotalAmount) and not(../cac:AllowanceCharge[cbc:ChargeIndicator=true()]))
- Usage