XRechnung 2.2.0 · CII

PEPPOL-EN16931-R046

XRechnung 2.2.0 · CII

fatalformat

Original rule text

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

Stored validation assertion
not(ram:ChargeAmount) or xs:decimal(../ram:NetPriceProductTradePrice/ram:ChargeAmount) = xs:decimal(ram:ChargeAmount) - u:decimalOrZero(ram:AppliedTradeAllowanceCharge/ram:ActualAmount)