Message

Item net price SHALL equal (Gross price - Allowance amount) when gross price is provided.

Context
cac:Price/cac:AllowanceCharge
Test
not(cbc:BaseAmount) or xs:decimal(../cbc:PriceAmount) = xs:decimal(cbc:BaseAmount) - xs:decimal(cbc:Amount)
Usage
/ ubl:OrderChange / cac:OrderLine / cac:LineItem / cac:Price / cbc:PriceAmount