NOGOV-T10-R043 (WARNING)

[NOGOV-T10-R043]-Payable rounding amount should be no more than 10% of payable amount.

Technical test

Context
cac:LegalMonetaryTotal
Test
  • not(cbc:PayableRoundingAmount) or abs(xs:decimal(cbc:PayableRoundingAmount)) <= max((xs:decimal(abs(cbc:PayableAmount) div 10), xs:decimal(1)))

Shortcuts