ALIGNED-IBRP-004

[aligned-ibrp-004]-Item net price (ibt-146) MUST equal (Gross price (ibt-148) - Price discount (ibt-147)) when gross price is provided.

About

ID
aligned-ibrp-004
Flag
fatal
Context
cac:Price/cac:AllowanceCharge
Test
not(cbc:BaseAmount) or xs:decimal(../cbc:PriceAmount) = xs:decimal(cbc:BaseAmount) - xs:decimal(cbc:Amount)