XRechnung 2.3.0 · CIIStored validation assertion
PEPPOL-EN16931-R046
XRechnung 2.3.0 · CII
fatalformat
Original rule text
Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.
not(ram:ChargeAmount) or xs:decimal(../ram:NetPriceProductTradePrice/ram:ChargeAmount) = xs:decimal(ram:ChargeAmount) - u:decimalOrZero(ram:AppliedTradeAllowanceCharge/ram:ActualAmount[1])