IBR-CO-12

[ibr-co-12]-Sum of charges on document level (ibt-108) = Σ Document level charge amount (ibt-099).

About

ID
ibr-co-12
Flag
fatal
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()]))
Rules
  • IBR-CO-12 [ibr-co-12]-Sum of charges on document level (ibt-108) = Σ Document level charge amount (ibt-099).
Syntax binding